@microsoft/msgraph-sdk-solutions 1.0.0-preview.29 → 1.0.0-preview.39

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 (34) hide show
  1. package/package.json +3 -3
  2. package/solutions/backupRestore/driveProtectionUnits/index.d.ts +3 -4
  3. package/solutions/backupRestore/driveProtectionUnits/index.d.ts.map +1 -1
  4. package/solutions/backupRestore/driveProtectionUnits/index.js.map +1 -1
  5. package/solutions/backupRestore/mailboxProtectionUnits/index.d.ts +3 -4
  6. package/solutions/backupRestore/mailboxProtectionUnits/index.d.ts.map +1 -1
  7. package/solutions/backupRestore/mailboxProtectionUnits/index.js.map +1 -1
  8. package/solutions/backupRestore/siteProtectionUnits/index.d.ts +3 -4
  9. package/solutions/backupRestore/siteProtectionUnits/index.d.ts.map +1 -1
  10. package/solutions/backupRestore/siteProtectionUnits/index.js.map +1 -1
  11. package/solutions/virtualEvents/events/item/index.d.ts +5 -0
  12. package/solutions/virtualEvents/events/item/index.d.ts.map +1 -1
  13. package/solutions/virtualEvents/events/item/index.js +5 -0
  14. package/solutions/virtualEvents/events/item/index.js.map +1 -1
  15. package/solutions/virtualEvents/events/item/setExternalEventInformation/index.d.ts +59 -0
  16. package/solutions/virtualEvents/events/item/setExternalEventInformation/index.d.ts.map +1 -0
  17. package/solutions/virtualEvents/events/item/setExternalEventInformation/index.js +59 -0
  18. package/solutions/virtualEvents/events/item/setExternalEventInformation/index.js.map +1 -0
  19. package/solutions/virtualEvents/townhalls/getByUserIdAndRoleWithUserIdWithRole/index.d.ts +89 -0
  20. package/solutions/virtualEvents/townhalls/getByUserIdAndRoleWithUserIdWithRole/index.d.ts.map +1 -0
  21. package/solutions/virtualEvents/townhalls/getByUserIdAndRoleWithUserIdWithRole/index.js +70 -0
  22. package/solutions/virtualEvents/townhalls/getByUserIdAndRoleWithUserIdWithRole/index.js.map +1 -0
  23. package/solutions/virtualEvents/townhalls/getByUserRoleWithRole/index.d.ts +89 -0
  24. package/solutions/virtualEvents/townhalls/getByUserRoleWithRole/index.d.ts.map +1 -0
  25. package/solutions/virtualEvents/townhalls/getByUserRoleWithRole/index.js +70 -0
  26. package/solutions/virtualEvents/townhalls/getByUserRoleWithRole/index.js.map +1 -0
  27. package/solutions/virtualEvents/townhalls/index.d.ts +18 -3
  28. package/solutions/virtualEvents/townhalls/index.d.ts.map +1 -1
  29. package/solutions/virtualEvents/townhalls/index.js +12 -0
  30. package/solutions/virtualEvents/townhalls/index.js.map +1 -1
  31. package/solutions/virtualEvents/townhalls/item/index.d.ts +5 -5
  32. package/solutions/virtualEvents/webinars/index.d.ts +3 -3
  33. package/solutions/virtualEvents/webinars/item/index.d.ts +5 -5
  34. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,89 @@
1
+ import { type BaseCollectionPaginationCountResponse, type VirtualEventTownhall } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { 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 {GetByUserRoleWithRoleGetResponse}
7
+ */
8
+ export declare function createGetByUserRoleWithRoleGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoGetByUserRoleWithRoleGetResponse(getByUserRoleWithRoleGetResponse?: Partial<GetByUserRoleWithRoleGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface GetByUserRoleWithRoleGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
15
+ /**
16
+ * The value property
17
+ */
18
+ value?: VirtualEventTownhall[] | null;
19
+ }
20
+ /**
21
+ * Provides operations to call the getByUserRole method.
22
+ */
23
+ export interface GetByUserRoleWithRoleRequestBuilder extends BaseRequestBuilder<GetByUserRoleWithRoleRequestBuilder> {
24
+ /**
25
+ * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<GetByUserRoleWithRoleGetResponse>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
+ * @see {@link https://learn.microsoft.com/graph/api/virtualeventtownhall-getbyuserrole?view=graph-rest-1.0|Find more info here}
30
+ */
31
+ get(requestConfiguration?: RequestConfiguration<GetByUserRoleWithRoleRequestBuilderGetQueryParameters> | undefined): Promise<GetByUserRoleWithRoleGetResponse | undefined>;
32
+ /**
33
+ * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer.
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns {RequestInformation}
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetByUserRoleWithRoleRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ }
39
+ /**
40
+ * Get a list of virtualEventTownhall objects where the signed-in user is either the organizer or a coorganizer.
41
+ */
42
+ export interface GetByUserRoleWithRoleRequestBuilderGetQueryParameters {
43
+ /**
44
+ * Include count of items
45
+ */
46
+ count?: boolean;
47
+ /**
48
+ * Expand related entities
49
+ */
50
+ expand?: string[];
51
+ /**
52
+ * Filter items by property values
53
+ */
54
+ filter?: string;
55
+ /**
56
+ * Order items by property values
57
+ */
58
+ orderby?: string[];
59
+ /**
60
+ * Search items by search phrases
61
+ */
62
+ search?: string;
63
+ /**
64
+ * Select properties to be returned
65
+ */
66
+ select?: string[];
67
+ /**
68
+ * Skip the first n items
69
+ */
70
+ skip?: number;
71
+ /**
72
+ * Show only the first n items
73
+ */
74
+ top?: number;
75
+ }
76
+ /**
77
+ * Serializes information the current object
78
+ * @param writer Serialization writer to use to serialize this model
79
+ */
80
+ export declare function serializeGetByUserRoleWithRoleGetResponse(writer: SerializationWriter, getByUserRoleWithRoleGetResponse?: Partial<GetByUserRoleWithRoleGetResponse> | undefined | null): void;
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export declare const GetByUserRoleWithRoleRequestBuilderUriTemplate = "{+baseurl}/solutions/virtualEvents/townhalls/getByUserRole(role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
+ /**
86
+ * Metadata for all the requests in the request builder.
87
+ */
88
+ export declare const GetByUserRoleWithRoleRequestBuilderRequestsMetadata: RequestsMetadata;
89
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyL,KAAK,qCAAqC,EAAE,KAAK,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAItT,OAAO,EAAE,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;AAElO;;;;GAIG;AAEH,wBAAgB,4DAA4D,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,CAEpL;AACD;;;GAGG;AAEH,wBAAgB,+CAA+C,CAAC,gCAAgC,GAAE,OAAO,CAAC,gCAAgC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKxM;AACD,MAAM,WAAW,gCAAiC,SAAQ,qCAAqC,EAAE,QAAQ;IACrG;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;CACzC;AACD;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAC7K;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjK;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;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;;;GAGG;AAEH,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mBAAmB,EAAE,gCAAgC,GAAE,OAAO,CAAC,gCAAgC,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAKjM;AACD;;GAEG;AACH,eAAO,MAAM,8CAA8C,2JAA2J,CAAC;AAcvN;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAWjE,CAAC"}
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createVirtualEventTownhallFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeVirtualEventTownhall } 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 {GetByUserRoleWithRoleGetResponse}
12
+ */
13
+ // @ts-ignore
14
+ export function createGetByUserRoleWithRoleGetResponseFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoGetByUserRoleWithRoleGetResponse;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns {Record<string, (node: ParseNode) => void>}
20
+ */
21
+ // @ts-ignore
22
+ export function deserializeIntoGetByUserRoleWithRoleGetResponse(getByUserRoleWithRoleGetResponse = {}) {
23
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getByUserRoleWithRoleGetResponse)), { "value": n => { getByUserRoleWithRoleGetResponse.value = n.getCollectionOfObjectValues(createVirtualEventTownhallFromDiscriminatorValue); } });
24
+ }
25
+ /**
26
+ * Serializes information the current object
27
+ * @param writer Serialization writer to use to serialize this model
28
+ */
29
+ // @ts-ignore
30
+ export function serializeGetByUserRoleWithRoleGetResponse(writer, getByUserRoleWithRoleGetResponse = {}) {
31
+ if (getByUserRoleWithRoleGetResponse) {
32
+ serializeBaseCollectionPaginationCountResponse(writer, getByUserRoleWithRoleGetResponse);
33
+ writer.writeCollectionOfObjectValues("value", getByUserRoleWithRoleGetResponse.value, serializeVirtualEventTownhall);
34
+ }
35
+ }
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export const GetByUserRoleWithRoleRequestBuilderUriTemplate = "{+baseurl}/solutions/virtualEvents/townhalls/getByUserRole(role='{role}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
40
+ /**
41
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
42
+ */
43
+ const GetByUserRoleWithRoleRequestBuilderGetQueryParametersMapper = {
44
+ "count": "%24count",
45
+ "expand": "%24expand",
46
+ "filter": "%24filter",
47
+ "orderby": "%24orderby",
48
+ "search": "%24search",
49
+ "select": "%24select",
50
+ "skip": "%24skip",
51
+ "top": "%24top",
52
+ };
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export const GetByUserRoleWithRoleRequestBuilderRequestsMetadata = {
57
+ get: {
58
+ uriTemplate: GetByUserRoleWithRoleRequestBuilderUriTemplate,
59
+ responseBodyContentType: "application/json",
60
+ errorMappings: {
61
+ XXX: createODataErrorFromDiscriminatorValue,
62
+ },
63
+ adapterMethodName: "send",
64
+ responseBodyFactory: createGetByUserRoleWithRoleGetResponseFromDiscriminatorValue,
65
+ queryParametersMapper: GetByUserRoleWithRoleRequestBuilderGetQueryParametersMapper,
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
70
+ //# 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,oDAAoD,EAAE,8CAA8C,EAAE,6BAA6B,EAAyE,MAAM,wCAAwC,CAAC;AACtT,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4DAA4D,CAAC,SAAgC;IACzG,OAAO,+CAA+C,CAAC;AAC3D,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,+CAA+C,CAAC,mCAA0F,EAAE;IACxJ,uCACO,oDAAoD,CAAC,gCAAgC,CAAC,KACzF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,gCAAgC,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAuB,gDAAgD,CAAC,CAAC,CAAC,CAAC,IACpK;AACL,CAAC;AA+DD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,yCAAyC,CAAC,MAA2B,EAAE,mCAAiG,EAAE;IACtL,IAAI,gCAAgC,EAAE,CAAC;QACnC,8CAA8C,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;QACxF,MAAM,CAAC,6BAA6B,CAAuB,OAAO,EAAE,gCAAgC,CAAC,KAAK,EAAE,6BAA6B,CAAC,CAAC;IAC/I,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,wJAAwJ,CAAC;AACvN;;GAEG;AACH,MAAM,2DAA2D,GAA2B;IACxF,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,mDAAmD,GAAqB;IACjF,GAAG,EAAE;QACD,WAAW,EAAE,8CAA8C;QAC3D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4DAA4D;QAClF,qBAAqB,EAAE,2DAA2D;KACrF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,5 +1,7 @@
1
1
  import { type VirtualEventTownhall, type VirtualEventTownhallCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
2
  import { type CountRequestBuilder } from './count/index.js';
3
+ import { type GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder } from './getByUserIdAndRoleWithUserIdWithRole/index.js';
4
+ import { type GetByUserRoleWithRoleRequestBuilder } from './getByUserRoleWithRole/index.js';
3
5
  import { type VirtualEventTownhallItemRequestBuilder } from './item/index.js';
4
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
7
  /**
@@ -17,12 +19,25 @@ export interface TownhallsRequestBuilder extends BaseRequestBuilder<TownhallsReq
17
19
  */
18
20
  byVirtualEventTownhallId(virtualEventTownhallId: string): VirtualEventTownhallItemRequestBuilder;
19
21
  /**
20
- * Read the properties and relationships of a virtualEventTownhall object.
22
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
21
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
24
  * @returns {Promise<VirtualEventTownhallCollectionResponse>}
23
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
26
  */
25
27
  get(requestConfiguration?: RequestConfiguration<TownhallsRequestBuilderGetQueryParameters> | undefined): Promise<VirtualEventTownhallCollectionResponse | undefined>;
28
+ /**
29
+ * Provides operations to call the getByUserIdAndRole method.
30
+ * @param role Usage: role='{role}'
31
+ * @param userId Usage: userId='{userId}'
32
+ * @returns {GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder}
33
+ */
34
+ getByUserIdAndRoleWithUserIdWithRole(role: string | undefined, userId: string | undefined): GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder;
35
+ /**
36
+ * Provides operations to call the getByUserRole method.
37
+ * @param role Usage: role='{role}'
38
+ * @returns {GetByUserRoleWithRoleRequestBuilder}
39
+ */
40
+ getByUserRoleWithRole(role: string | undefined): GetByUserRoleWithRoleRequestBuilder;
26
41
  /**
27
42
  * Create a new virtualEventTownhall object in draft mode.
28
43
  * @param body The request body
@@ -33,7 +48,7 @@ export interface TownhallsRequestBuilder extends BaseRequestBuilder<TownhallsReq
33
48
  */
34
49
  post(body: VirtualEventTownhall, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<VirtualEventTownhall | undefined>;
35
50
  /**
36
- * Read the properties and relationships of a virtualEventTownhall object.
51
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
37
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
53
  * @returns {RequestInformation}
39
54
  */
@@ -47,7 +62,7 @@ export interface TownhallsRequestBuilder extends BaseRequestBuilder<TownhallsReq
47
62
  toPostRequestInformation(body: VirtualEventTownhall, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
63
  }
49
64
  /**
50
- * Read the properties and relationships of a virtualEventTownhall object.
65
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
51
66
  */
52
67
  export interface TownhallsRequestBuilderGetQueryParameters {
53
68
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,oBAAoB,EAAE,KAAK,sCAAsC,EAAE,MAAM,wCAAwC,CAAC;AAIrR,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,sCAAsC,EAAoH,MAAM,iBAAiB,CAAC;AAEhM,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,wBAAwB,CAAC,sBAAsB,EAAE,MAAM,GAAI,sCAAsC,CAAC;IACnG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC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,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,kCAAkC,8HAA8H,CAAC;AAc9K;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAiB5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
@@ -8,6 +8,10 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
8
8
  // @ts-ignore
9
9
  import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
10
  // @ts-ignore
11
+ import { GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderRequestsMetadata } from './getByUserIdAndRoleWithUserIdWithRole/index.js';
12
+ // @ts-ignore
13
+ import { GetByUserRoleWithRoleRequestBuilderRequestsMetadata } from './getByUserRoleWithRole/index.js';
14
+ // @ts-ignore
11
15
  import { VirtualEventTownhallItemRequestBuilderNavigationMetadata, VirtualEventTownhallItemRequestBuilderRequestsMetadata } from './item/index.js';
12
16
  /**
13
17
  * Uri template for the request builder.
@@ -35,6 +39,14 @@ export const TownhallsRequestBuilderNavigationMetadata = {
35
39
  navigationMetadata: VirtualEventTownhallItemRequestBuilderNavigationMetadata,
36
40
  pathParametersMappings: ["virtualEventTownhall%2Did"],
37
41
  },
42
+ getByUserIdAndRoleWithUserIdWithRole: {
43
+ requestsMetadata: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderRequestsMetadata,
44
+ pathParametersMappings: ["role", "userId"],
45
+ },
46
+ getByUserRoleWithRole: {
47
+ requestsMetadata: GetByUserRoleWithRoleRequestBuilderRequestsMetadata,
48
+ pathParametersMappings: ["role"],
49
+ },
38
50
  count: {
39
51
  requestsMetadata: CountRequestBuilderRequestsMetadata,
40
52
  },
@@ -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,kEAAkE,EAAE,gDAAgD,EAAE,6BAA6B,EAA0E,MAAM,wCAAwC,CAAC;AACrR,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAA+C,wDAAwD,EAAE,sDAAsD,EAAE,MAAM,iBAAiB,CAAC;AAqFhM;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,2HAA2H,CAAC;AAC9K;;GAEG;AACH,MAAM,+CAA+C,GAA2B;IAC5E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,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AAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;QACtE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,6BAA6B;QACpD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -21,7 +21,7 @@ export interface VirtualEventTownhallItemRequestBuilder extends BaseRequestBuild
21
21
  */
22
22
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
23
  /**
24
- * Read the properties and relationships of a virtualEventTownhall object.
24
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
25
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
26
  * @returns {Promise<VirtualEventTownhall>}
27
27
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -29,7 +29,7 @@ export interface VirtualEventTownhallItemRequestBuilder extends BaseRequestBuild
29
29
  */
30
30
  get(requestConfiguration?: RequestConfiguration<VirtualEventTownhallItemRequestBuilderGetQueryParameters> | undefined): Promise<VirtualEventTownhall | undefined>;
31
31
  /**
32
- * Update the properties of a virtualEventTownhall object.
32
+ * Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event.
33
33
  * @param body The request body
34
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
35
  * @returns {Promise<VirtualEventTownhall>}
@@ -44,13 +44,13 @@ export interface VirtualEventTownhallItemRequestBuilder extends BaseRequestBuild
44
44
  */
45
45
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
46
  /**
47
- * Read the properties and relationships of a virtualEventTownhall object.
47
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
48
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
49
  * @returns {RequestInformation}
50
50
  */
51
51
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<VirtualEventTownhallItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
52
52
  /**
53
- * Update the properties of a virtualEventTownhall object.
53
+ * Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event.
54
54
  * @param body The request body
55
55
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
56
  * @returns {RequestInformation}
@@ -58,7 +58,7 @@ export interface VirtualEventTownhallItemRequestBuilder extends BaseRequestBuild
58
58
  toPatchRequestInformation(body: VirtualEventTownhall, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
59
59
  }
60
60
  /**
61
- * Read the properties and relationships of a virtualEventTownhall object.
61
+ * Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event.
62
62
  */
63
63
  export interface VirtualEventTownhallItemRequestBuilderGetQueryParameters {
64
64
  /**
@@ -19,7 +19,7 @@ export interface WebinarsRequestBuilder extends BaseRequestBuilder<WebinarsReque
19
19
  */
20
20
  byVirtualEventWebinarId(virtualEventWebinarId: string): VirtualEventWebinarItemRequestBuilder;
21
21
  /**
22
- * Get the list of all virtualEventWebinar objects created in the tenant.
22
+ * Get the list of all virtualEventWebinar objects created in a tenant.
23
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
24
  * @returns {Promise<VirtualEventWebinarCollectionResponse>}
25
25
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -49,7 +49,7 @@ export interface WebinarsRequestBuilder extends BaseRequestBuilder<WebinarsReque
49
49
  */
50
50
  post(body: VirtualEventWebinar, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<VirtualEventWebinar | undefined>;
51
51
  /**
52
- * Get the list of all virtualEventWebinar objects created in the tenant.
52
+ * Get the list of all virtualEventWebinar objects created in a tenant.
53
53
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
54
  * @returns {RequestInformation}
55
55
  */
@@ -63,7 +63,7 @@ export interface WebinarsRequestBuilder extends BaseRequestBuilder<WebinarsReque
63
63
  toPostRequestInformation(body: VirtualEventWebinar, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
64
  }
65
65
  /**
66
- * Get the list of all virtualEventWebinar objects created in the tenant.
66
+ * Get the list of all virtualEventWebinar objects created in a tenant.
67
67
  */
68
68
  export interface WebinarsRequestBuilderGetQueryParameters {
69
69
  /**
@@ -33,7 +33,7 @@ export interface VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilde
33
33
  */
34
34
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
35
35
  /**
36
- * Read the properties and relationships of a virtualEventWebinar object.
36
+ * Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
37
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
38
  * @returns {Promise<VirtualEventWebinar>}
39
39
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
@@ -41,7 +41,7 @@ export interface VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilde
41
41
  */
42
42
  get(requestConfiguration?: RequestConfiguration<VirtualEventWebinarItemRequestBuilderGetQueryParameters> | undefined): Promise<VirtualEventWebinar | undefined>;
43
43
  /**
44
- * Update the properties of a virtualEventWebinar object.
44
+ * Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event.
45
45
  * @param body The request body
46
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
47
  * @returns {Promise<VirtualEventWebinar>}
@@ -68,13 +68,13 @@ export interface VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilde
68
68
  */
69
69
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
70
70
  /**
71
- * Read the properties and relationships of a virtualEventWebinar object.
71
+ * Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
72
72
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
73
73
  * @returns {RequestInformation}
74
74
  */
75
75
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<VirtualEventWebinarItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
76
76
  /**
77
- * Update the properties of a virtualEventWebinar object.
77
+ * Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event.
78
78
  * @param body The request body
79
79
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
80
80
  * @returns {RequestInformation}
@@ -82,7 +82,7 @@ export interface VirtualEventWebinarItemRequestBuilder extends BaseRequestBuilde
82
82
  toPatchRequestInformation(body: VirtualEventWebinar, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
83
83
  }
84
84
  /**
85
- * Read the properties and relationships of a virtualEventWebinar object.
85
+ * Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event.
86
86
  */
87
87
  export interface VirtualEventWebinarItemRequestBuilderGetQueryParameters {
88
88
  /**