@microsoft/msgraph-sdk-places 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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/places/count/index.d.ts +40 -0
  8. package/places/count/index.d.ts.map +1 -0
  9. package/places/count/index.js +35 -0
  10. package/places/graphRoom/count/index.d.ts +40 -0
  11. package/places/graphRoom/count/index.d.ts.map +1 -0
  12. package/places/graphRoom/count/index.js +35 -0
  13. package/places/graphRoom/index.d.ts +74 -0
  14. package/places/graphRoom/index.d.ts.map +1 -0
  15. package/places/graphRoom/index.js +52 -0
  16. package/places/graphRoomList/count/index.d.ts +40 -0
  17. package/places/graphRoomList/count/index.d.ts.map +1 -0
  18. package/places/graphRoomList/count/index.js +35 -0
  19. package/places/graphRoomList/index.d.ts +74 -0
  20. package/places/graphRoomList/index.d.ts.map +1 -0
  21. package/places/graphRoomList/index.js +52 -0
  22. package/places/index.d.ts +37 -0
  23. package/places/index.d.ts.map +1 -0
  24. package/places/index.js +41 -0
  25. package/places/item/graphRoom/index.d.ts +41 -0
  26. package/places/item/graphRoom/index.d.ts.map +1 -0
  27. package/places/item/graphRoom/index.js +36 -0
  28. package/places/item/graphRoomList/index.d.ts +50 -0
  29. package/places/item/graphRoomList/index.d.ts.map +1 -0
  30. package/places/item/graphRoomList/index.js +47 -0
  31. package/places/item/graphRoomList/rooms/count/index.d.ts +40 -0
  32. package/places/item/graphRoomList/rooms/count/index.d.ts.map +1 -0
  33. package/places/item/graphRoomList/rooms/count/index.js +35 -0
  34. package/places/item/graphRoomList/rooms/index.d.ts +95 -0
  35. package/places/item/graphRoomList/rooms/index.d.ts.map +1 -0
  36. package/places/item/graphRoomList/rooms/index.js +70 -0
  37. package/places/item/graphRoomList/rooms/item/index.d.ts +66 -0
  38. package/places/item/graphRoomList/rooms/item/index.d.ts.map +1 -0
  39. package/places/item/graphRoomList/rooms/item/index.js +56 -0
  40. package/places/item/index.d.ts +56 -0
  41. package/places/item/index.d.ts.map +1 -0
  42. package/places/item/index.js +55 -0
  43. package/placesServiceClient.d.ts +25 -0
  44. package/placesServiceClient.d.ts.map +1 -0
  45. package/placesServiceClient.js +48 -0
  46. package/tsconfig.json +15 -0
  47. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,37 @@
1
+ import { type CountRequestBuilder } from './count/';
2
+ import { type GraphRoomRequestBuilder } from './graphRoom/';
3
+ import { type GraphRoomListRequestBuilder } from './graphRoomList/';
4
+ import { type PlaceItemRequestBuilder } from './item/';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Builds and executes requests for operations under /places
8
+ */
9
+ export interface PlacesRequestBuilder extends BaseRequestBuilder<PlacesRequestBuilder> {
10
+ /**
11
+ * Provides operations to count the resources in the collection.
12
+ */
13
+ get count(): CountRequestBuilder;
14
+ /**
15
+ * Casts the previous resource to room.
16
+ */
17
+ get graphRoom(): GraphRoomRequestBuilder;
18
+ /**
19
+ * Casts the previous resource to roomList.
20
+ */
21
+ get graphRoomList(): GraphRoomListRequestBuilder;
22
+ /**
23
+ * Provides operations to manage the collection of place entities.
24
+ * @param placeId The unique identifier of place
25
+ * @returns a PlaceItemRequestBuilder
26
+ */
27
+ byPlaceId(placeId: string): PlaceItemRequestBuilder;
28
+ }
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export declare const PlacesRequestBuilderNavigationMetadata: Record<Exclude<keyof PlacesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ export declare const PlacesRequestBuilderUriTemplate = "{+baseurl}/places";
37
+ //# 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,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACxM,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAC/K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;;OAIG;IACF,SAAS,CAAC,OAAO,EAAE,MAAM,GAAI,uBAAuB,CAAC;CACzD;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,sBAAsB,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlacesRequestBuilderUriTemplate = exports.PlacesRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const count_1 = require("./count/");
8
+ const graphRoom_1 = require("./graphRoom/");
9
+ const graphRoomList_1 = require("./graphRoomList/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Metadata for all the navigation properties in the request builder.
13
+ */
14
+ exports.PlacesRequestBuilderNavigationMetadata = {
15
+ byPlaceId: {
16
+ uriTemplate: item_1.PlaceItemRequestBuilderUriTemplate,
17
+ requestsMetadata: item_1.PlaceItemRequestBuilderRequestsMetadata,
18
+ navigationMetadata: item_1.PlaceItemRequestBuilderNavigationMetadata,
19
+ pathParametersMappings: ["place%2Did"],
20
+ },
21
+ count: {
22
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
23
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
24
+ },
25
+ graphRoom: {
26
+ uriTemplate: graphRoom_1.GraphRoomRequestBuilderUriTemplate,
27
+ requestsMetadata: graphRoom_1.GraphRoomRequestBuilderRequestsMetadata,
28
+ navigationMetadata: graphRoom_1.GraphRoomRequestBuilderNavigationMetadata,
29
+ },
30
+ graphRoomList: {
31
+ uriTemplate: graphRoomList_1.GraphRoomListRequestBuilderUriTemplate,
32
+ requestsMetadata: graphRoomList_1.GraphRoomListRequestBuilderRequestsMetadata,
33
+ navigationMetadata: graphRoomList_1.GraphRoomListRequestBuilderNavigationMetadata,
34
+ },
35
+ };
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ exports.PlacesRequestBuilderUriTemplate = "{+baseurl}/places";
40
+ /* tslint:enable */
41
+ /* eslint-enable */
@@ -0,0 +1,41 @@
1
+ import { type Room } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Casts the previous resource to room.
5
+ */
6
+ export interface GraphRoomRequestBuilder extends BaseRequestBuilder<GraphRoomRequestBuilder> {
7
+ /**
8
+ * Get the item of type microsoft.graph.place as microsoft.graph.room
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of Room
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<GraphRoomRequestBuilderGetQueryParameters> | undefined): Promise<Room | undefined>;
13
+ /**
14
+ * Get the item of type microsoft.graph.place as microsoft.graph.room
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphRoomRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the item of type microsoft.graph.place as microsoft.graph.room
22
+ */
23
+ export interface GraphRoomRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Expand related entities
26
+ */
27
+ expand?: string[];
28
+ /**
29
+ * Select properties to be returned
30
+ */
31
+ select?: string[];
32
+ }
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const GraphRoomRequestBuilderRequestsMetadata: RequestsMetadata;
37
+ /**
38
+ * Uri template for the request builder.
39
+ */
40
+ export declare const GraphRoomRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.room{?%24select,%24expand}";
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACrI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,oEAAoE,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphRoomRequestBuilderUriTemplate = exports.GraphRoomRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const GraphRoomRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.GraphRoomRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
28
+ queryParametersMapper: GraphRoomRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ };
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ exports.GraphRoomRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.room{?%24select,%24expand}";
35
+ /* tslint:enable */
36
+ /* eslint-enable */
@@ -0,0 +1,50 @@
1
+ import { type RoomList } from '@microsoft/msgraph-sdk/models/';
2
+ import { type RoomsRequestBuilder } from './rooms/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Casts the previous resource to roomList.
6
+ */
7
+ export interface GraphRoomListRequestBuilder extends BaseRequestBuilder<GraphRoomListRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the rooms property of the microsoft.graph.roomList entity.
10
+ */
11
+ get rooms(): RoomsRequestBuilder;
12
+ /**
13
+ * Get the item of type microsoft.graph.place as microsoft.graph.roomList
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of RoomList
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): Promise<RoomList | undefined>;
18
+ /**
19
+ * Get the item of type microsoft.graph.place as microsoft.graph.roomList
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns a RequestInformation
22
+ */
23
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Get the item of type microsoft.graph.place as microsoft.graph.roomList
27
+ */
28
+ export interface GraphRoomListRequestBuilderGetQueryParameters {
29
+ /**
30
+ * Expand related entities
31
+ */
32
+ expand?: string[];
33
+ /**
34
+ * Select properties to be returned
35
+ */
36
+ select?: string[];
37
+ }
38
+ /**
39
+ * Metadata for all the navigation properties in the request builder.
40
+ */
41
+ export declare const GraphRoomListRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphRoomListRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const GraphRoomListRequestBuilderRequestsMetadata: RequestsMetadata;
46
+ /**
47
+ * Uri template for the request builder.
48
+ */
49
+ export declare const GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24select,%24expand}";
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAErG,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,wEAAwE,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphRoomListRequestBuilderUriTemplate = exports.GraphRoomListRequestBuilderRequestsMetadata = exports.GraphRoomListRequestBuilderNavigationMetadata = 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 rooms_1 = require("./rooms/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const GraphRoomListRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.GraphRoomListRequestBuilderNavigationMetadata = {
21
+ rooms: {
22
+ uriTemplate: rooms_1.RoomsRequestBuilderUriTemplate,
23
+ requestsMetadata: rooms_1.RoomsRequestBuilderRequestsMetadata,
24
+ navigationMetadata: rooms_1.RoomsRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.GraphRoomListRequestBuilderRequestsMetadata = {
31
+ get: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendAsync",
38
+ responseBodyFactory: models_1.createRoomListFromDiscriminatorValue,
39
+ queryParametersMapper: GraphRoomListRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ };
42
+ /**
43
+ * Uri template for the request builder.
44
+ */
45
+ exports.GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24select,%24expand}";
46
+ /* tslint:enable */
47
+ /* 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}/places/{place%2Did}/graph.roomList/rooms/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,qFAAqF,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,95 @@
1
+ import { type Room, type RoomCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type RoomItemRequestBuilder } 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 rooms property of the microsoft.graph.roomList entity.
7
+ */
8
+ export interface RoomsRequestBuilder extends BaseRequestBuilder<RoomsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the rooms property of the microsoft.graph.roomList entity.
15
+ * @param roomId The unique identifier of room
16
+ * @returns a RoomItemRequestBuilder
17
+ */
18
+ byRoomId(roomId: string): RoomItemRequestBuilder;
19
+ /**
20
+ * Get rooms from places
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of RoomCollectionResponse
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<RoomsRequestBuilderGetQueryParameters> | undefined): Promise<RoomCollectionResponse | undefined>;
25
+ /**
26
+ * Create new navigation property to rooms for places
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 Room
30
+ */
31
+ post(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Room | undefined>;
32
+ /**
33
+ * Get rooms from places
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoomsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ /**
39
+ * Create new navigation property to rooms for places
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: Room, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Get rooms from places
48
+ */
49
+ export interface RoomsRequestBuilderGetQueryParameters {
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 RoomsRequestBuilderNavigationMetadata: Record<Exclude<keyof RoomsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
87
+ /**
88
+ * Metadata for all the requests in the request builder.
89
+ */
90
+ export declare const RoomsRequestBuilderRequestsMetadata: RequestsMetadata;
91
+ /**
92
+ * Uri template for the request builder.
93
+ */
94
+ export declare const RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%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,EAAuG,KAAK,IAAI,EAAE,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7L,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjI,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,sBAAsB,CAAC;IACnD;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/H;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;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,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,qIAAqI,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoomsRequestBuilderUriTemplate = exports.RoomsRequestBuilderRequestsMetadata = exports.RoomsRequestBuilderNavigationMetadata = 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 RoomsRequestBuilderGetQueryParametersMapper = {
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.RoomsRequestBuilderNavigationMetadata = {
28
+ byRoomId: {
29
+ uriTemplate: item_1.RoomItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.RoomItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["room%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.RoomsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createRoomCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: RoomsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeRoom,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type Room } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the rooms property of the microsoft.graph.roomList entity.
5
+ */
6
+ export interface RoomItemRequestBuilder extends BaseRequestBuilder<RoomItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property rooms for places
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Get rooms from places
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of Room
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<RoomItemRequestBuilderGetQueryParameters> | undefined): Promise<Room | undefined>;
18
+ /**
19
+ * Update the navigation property rooms in places
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of Room
23
+ */
24
+ patch(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Room | undefined>;
25
+ /**
26
+ * Delete navigation property rooms for places
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * Get rooms from places
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoomItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property rooms in places
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Get rooms from places
47
+ */
48
+ export interface RoomItemRequestBuilderGetQueryParameters {
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Select properties to be returned
55
+ */
56
+ select?: string[];
57
+ }
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const RoomItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const RoomItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}{?%24select,%24expand}";
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmD,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE5G,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IAChH;;;;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,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,0FAA0F,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoomItemRequestBuilderUriTemplate = exports.RoomItemRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const RoomItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.RoomItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
36
+ queryParametersMapper: RoomItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeRoom,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.RoomItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */