@microsoft/msgraph-sdk-admin 1.0.0-preview.75 → 1.0.0-preview.79

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 (67) hide show
  1. package/admin/index.d.ts +5 -0
  2. package/admin/index.d.ts.map +1 -1
  3. package/admin/index.js +6 -0
  4. package/admin/index.js.map +1 -1
  5. package/admin/teams/index.d.ts +83 -0
  6. package/admin/teams/index.d.ts.map +1 -0
  7. package/admin/teams/index.js +73 -0
  8. package/admin/teams/index.js.map +1 -0
  9. package/admin/teams/policy/index.d.ts +86 -0
  10. package/admin/teams/policy/index.d.ts.map +1 -0
  11. package/admin/teams/policy/index.js +73 -0
  12. package/admin/teams/policy/index.js.map +1 -0
  13. package/admin/teams/policy/microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.d.ts +93 -0
  14. package/admin/teams/policy/microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.d.ts.map +1 -0
  15. package/admin/teams/policy/microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.js +76 -0
  16. package/admin/teams/policy/microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.js.map +1 -0
  17. package/admin/teams/policy/userAssignments/count/index.d.ts +41 -0
  18. package/admin/teams/policy/userAssignments/count/index.d.ts.map +1 -0
  19. package/admin/teams/policy/userAssignments/count/index.js +34 -0
  20. package/admin/teams/policy/userAssignments/count/index.js.map +1 -0
  21. package/admin/teams/policy/userAssignments/index.d.ts +107 -0
  22. package/admin/teams/policy/userAssignments/index.d.ts.map +1 -0
  23. package/admin/teams/policy/userAssignments/index.js +80 -0
  24. package/admin/teams/policy/userAssignments/index.js.map +1 -0
  25. package/admin/teams/policy/userAssignments/item/index.d.ts +69 -0
  26. package/admin/teams/policy/userAssignments/item/index.d.ts.map +1 -0
  27. package/admin/teams/policy/userAssignments/item/index.js +56 -0
  28. package/admin/teams/policy/userAssignments/item/index.js.map +1 -0
  29. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationAssign/index.d.ts +60 -0
  30. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationAssign/index.d.ts.map +1 -0
  31. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationAssign/index.js +65 -0
  32. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationAssign/index.js.map +1 -0
  33. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationUnassign/index.d.ts +60 -0
  34. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationUnassign/index.d.ts.map +1 -0
  35. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationUnassign/index.js +65 -0
  36. package/admin/teams/policy/userAssignments/microsoftGraphTeamsAdministrationUnassign/index.js.map +1 -0
  37. package/admin/teams/userConfigurations/count/index.d.ts +41 -0
  38. package/admin/teams/userConfigurations/count/index.d.ts.map +1 -0
  39. package/admin/teams/userConfigurations/count/index.js +34 -0
  40. package/admin/teams/userConfigurations/count/index.js.map +1 -0
  41. package/admin/teams/userConfigurations/index.d.ts +98 -0
  42. package/admin/teams/userConfigurations/index.d.ts.map +1 -0
  43. package/admin/teams/userConfigurations/index.js +71 -0
  44. package/admin/teams/userConfigurations/index.js.map +1 -0
  45. package/admin/teams/userConfigurations/item/index.d.ts +79 -0
  46. package/admin/teams/userConfigurations/item/index.d.ts.map +1 -0
  47. package/admin/teams/userConfigurations/item/index.js +67 -0
  48. package/admin/teams/userConfigurations/item/index.js.map +1 -0
  49. package/admin/teams/userConfigurations/item/user/index.d.ts +56 -0
  50. package/admin/teams/userConfigurations/item/user/index.d.ts.map +1 -0
  51. package/admin/teams/userConfigurations/item/user/index.js +52 -0
  52. package/admin/teams/userConfigurations/item/user/index.js.map +1 -0
  53. package/admin/teams/userConfigurations/item/user/mailboxSettings/index.d.ts +57 -0
  54. package/admin/teams/userConfigurations/item/user/mailboxSettings/index.d.ts.map +1 -0
  55. package/admin/teams/userConfigurations/item/user/mailboxSettings/index.js +48 -0
  56. package/admin/teams/userConfigurations/item/user/mailboxSettings/index.js.map +1 -0
  57. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/count/index.d.ts +41 -0
  58. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  59. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/count/index.js +34 -0
  60. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/count/index.js.map +1 -0
  61. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/index.d.ts +75 -0
  62. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/index.d.ts.map +1 -0
  63. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/index.js +52 -0
  64. package/admin/teams/userConfigurations/item/user/serviceProvisioningErrors/index.js.map +1 -0
  65. package/package.json +2 -3
  66. package/tsconfig.tsbuildinfo +1 -1
  67. package/LICENSE +0 -21
package/admin/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import { type PeopleRequestBuilder } from './people/index.js';
5
5
  import { type ReportSettingsRequestBuilder } from './reportSettings/index.js';
6
6
  import { type ServiceAnnouncementRequestBuilder } from './serviceAnnouncement/index.js';
7
7
  import { type SharepointRequestBuilder } from './sharepoint/index.js';
8
+ import { type TeamsRequestBuilder } from './teams/index.js';
8
9
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
9
10
  /**
10
11
  * Provides operations to manage the admin singleton.
@@ -34,6 +35,10 @@ export interface AdminRequestBuilder extends BaseRequestBuilder<AdminRequestBuil
34
35
  * Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.
35
36
  */
36
37
  get sharepoint(): SharepointRequestBuilder;
38
+ /**
39
+ * Provides operations to manage the teams property of the microsoft.graph.admin entity.
40
+ */
41
+ get teams(): TeamsRequestBuilder;
37
42
  /**
38
43
  * Get admin
39
44
  * @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":"AAIA,OAAO,EAAqD,KAAK,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAIvH,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,OAAO,EAAoG,KAAK,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAEpL,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE5I,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAA0G,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEhM,OAAO,EAAwF,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE5J,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,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,gBAAgB,IAAI,8BAA8B,CAAC;IACvD;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;IAC7D;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;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,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,2CAA2C,CAAC;AAQvF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA4BpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
package/admin/index.js CHANGED
@@ -17,6 +17,8 @@ import { ReportSettingsRequestBuilderRequestsMetadata } from './reportSettings/i
17
17
  import { ServiceAnnouncementRequestBuilderNavigationMetadata, ServiceAnnouncementRequestBuilderRequestsMetadata } from './serviceAnnouncement/index.js';
18
18
  // @ts-ignore
19
19
  import { SharepointRequestBuilderNavigationMetadata, SharepointRequestBuilderRequestsMetadata } from './sharepoint/index.js';
20
+ // @ts-ignore
21
+ import { TeamsRequestBuilderNavigationMetadata, TeamsRequestBuilderRequestsMetadata } from './teams/index.js';
20
22
  /**
21
23
  * Uri template for the request builder.
22
24
  */
@@ -55,6 +57,10 @@ export const AdminRequestBuilderNavigationMetadata = {
55
57
  requestsMetadata: SharepointRequestBuilderRequestsMetadata,
56
58
  navigationMetadata: SharepointRequestBuilderNavigationMetadata,
57
59
  },
60
+ teams: {
61
+ requestsMetadata: TeamsRequestBuilderRequestsMetadata,
62
+ navigationMetadata: TeamsRequestBuilderNavigationMetadata,
63
+ },
58
64
  };
59
65
  /**
60
66
  * Metadata for all the requests in the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;A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CAAiC;QACvD,qBAAqB,EAAE,2CAA2C;KACrE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iCAAiC;QACvD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,cAAc;QACrC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,83 @@
1
+ import { type TeamsAdminRoot } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
2
+ import { type PolicyRequestBuilder } from './policy/index.js';
3
+ import { type UserConfigurationsRequestBuilder } from './userConfigurations/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the teams property of the microsoft.graph.admin entity.
7
+ */
8
+ export interface TeamsRequestBuilder extends BaseRequestBuilder<TeamsRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the policy property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
11
+ */
12
+ get policy(): PolicyRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
15
+ */
16
+ get userConfigurations(): UserConfigurationsRequestBuilder;
17
+ /**
18
+ * Delete navigation property teams for admin
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
+ */
22
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
+ /**
24
+ * A container for Teams administration functionalities, such as user configurations and policy assignments.
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns {Promise<TeamsAdminRoot>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<TeamsRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAdminRoot | undefined>;
30
+ /**
31
+ * Update the navigation property teams in admin
32
+ * @param body The request body
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {Promise<TeamsAdminRoot>}
35
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
+ */
37
+ patch(body: TeamsAdminRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsAdminRoot | undefined>;
38
+ /**
39
+ * Delete navigation property teams for admin
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {RequestInformation}
42
+ */
43
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ /**
45
+ * A container for Teams administration functionalities, such as user configurations and policy assignments.
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns {RequestInformation}
48
+ */
49
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
+ /**
51
+ * Update the navigation property teams in admin
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns {RequestInformation}
55
+ */
56
+ toPatchRequestInformation(body: TeamsAdminRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ }
58
+ /**
59
+ * A container for Teams administration functionalities, such as user configurations and policy assignments.
60
+ */
61
+ export interface TeamsRequestBuilderGetQueryParameters {
62
+ /**
63
+ * Expand related entities
64
+ */
65
+ expand?: string[];
66
+ /**
67
+ * Select properties to be returned
68
+ */
69
+ select?: string[];
70
+ }
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const TeamsRequestBuilderUriTemplate = "{+baseurl}/admin/teams{?%24expand,%24select}";
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const TeamsRequestBuilderNavigationMetadata: Record<Exclude<keyof TeamsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ export declare const TeamsRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEtK,OAAO,EAAgF,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE5I,OAAO,EAAE,KAAK,gCAAgC,EAAwG,MAAM,+BAA+B,CAAC;AAE5L,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,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;;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,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;;;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,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;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,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,iDAAiD,CAAC;AAQ7F;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBA+BjD,CAAC"}
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createTeamsAdminRootFromDiscriminatorValue, serializeTeamsAdminRoot } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
8
+ // @ts-ignore
9
+ import { PolicyRequestBuilderNavigationMetadata, PolicyRequestBuilderRequestsMetadata } from './policy/index.js';
10
+ // @ts-ignore
11
+ import { UserConfigurationsRequestBuilderNavigationMetadata, UserConfigurationsRequestBuilderRequestsMetadata } from './userConfigurations/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const TeamsRequestBuilderUriTemplate = "{+baseurl}/admin/teams{?%24expand,%24select}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const TeamsRequestBuilderGetQueryParametersMapper = {
20
+ "expand": "%24expand",
21
+ "select": "%24select",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export const TeamsRequestBuilderNavigationMetadata = {
27
+ policy: {
28
+ requestsMetadata: PolicyRequestBuilderRequestsMetadata,
29
+ navigationMetadata: PolicyRequestBuilderNavigationMetadata,
30
+ },
31
+ userConfigurations: {
32
+ requestsMetadata: UserConfigurationsRequestBuilderRequestsMetadata,
33
+ navigationMetadata: UserConfigurationsRequestBuilderNavigationMetadata,
34
+ },
35
+ };
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export const TeamsRequestBuilderRequestsMetadata = {
40
+ delete: {
41
+ uriTemplate: TeamsRequestBuilderUriTemplate,
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ XXX: createODataErrorFromDiscriminatorValue,
45
+ },
46
+ adapterMethodName: "sendNoResponseContent",
47
+ },
48
+ get: {
49
+ uriTemplate: TeamsRequestBuilderUriTemplate,
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ XXX: createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "send",
55
+ responseBodyFactory: createTeamsAdminRootFromDiscriminatorValue,
56
+ queryParametersMapper: TeamsRequestBuilderGetQueryParametersMapper,
57
+ },
58
+ patch: {
59
+ uriTemplate: TeamsRequestBuilderUriTemplate,
60
+ responseBodyContentType: "application/json",
61
+ errorMappings: {
62
+ XXX: createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "send",
65
+ responseBodyFactory: createTeamsAdminRootFromDiscriminatorValue,
66
+ requestBodyContentType: "application/json",
67
+ requestBodySerializer: serializeTeamsAdminRoot,
68
+ requestInformationContentSetMethod: "setContentFromParsable",
69
+ },
70
+ };
71
+ /* tslint:enable */
72
+ /* eslint-enable */
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uBAAuB,EAAuB,MAAM,4DAA4D,CAAC;AACtK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAC5I,aAAa;AACb,OAAO,EAAyC,kDAAkD,EAAE,gDAAgD,EAAE,MAAM,+BAA+B,CAAC;AAsE5L;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,8CAA8C,CAAC;AAC7F;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAuG;IACrJ,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;QACtD,kBAAkB,EAAE,sCAAsC;KAC7D;IACD,kBAAkB,EAAE;QAChB,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;KACzE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,MAAM,EAAE;QACJ,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;QAChE,qBAAqB,EAAE,2CAA2C;KACrE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;QAChE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,86 @@
1
+ import { type TeamsPolicyAssignment } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
2
+ import { type MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder } from './microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.js';
3
+ import { type UserAssignmentsRequestBuilder } from './userAssignments/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the policy property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
7
+ */
8
+ export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity.
11
+ */
12
+ get userAssignments(): UserAssignmentsRequestBuilder;
13
+ /**
14
+ * Delete navigation property policy for admin
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
+ */
18
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
19
+ /**
20
+ * Represents a navigation property to the Teams policy assignment object.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<TeamsPolicyAssignment>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): Promise<TeamsPolicyAssignment | undefined>;
26
+ /**
27
+ * Provides operations to call the getPolicyId method.
28
+ * @param name Usage: name='{name}'
29
+ * @param type Usage: type='{type}'
30
+ * @returns {MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder}
31
+ */
32
+ microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(name: string | undefined, type: string | undefined): MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder;
33
+ /**
34
+ * Update the navigation property policy in admin
35
+ * @param body The request body
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {Promise<TeamsPolicyAssignment>}
38
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
39
+ */
40
+ patch(body: TeamsPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsPolicyAssignment | undefined>;
41
+ /**
42
+ * Delete navigation property policy for admin
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ /**
48
+ * Represents a navigation property to the Teams policy assignment object.
49
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
+ * @returns {RequestInformation}
51
+ */
52
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
53
+ /**
54
+ * Update the navigation property policy in admin
55
+ * @param body The request body
56
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
+ * @returns {RequestInformation}
58
+ */
59
+ toPatchRequestInformation(body: TeamsPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
60
+ }
61
+ /**
62
+ * Represents a navigation property to the Teams policy assignment object.
63
+ */
64
+ export interface PolicyRequestBuilderGetQueryParameters {
65
+ /**
66
+ * Expand related entities
67
+ */
68
+ expand?: string[];
69
+ /**
70
+ * Select properties to be returned
71
+ */
72
+ select?: string[];
73
+ }
74
+ /**
75
+ * Uri template for the request builder.
76
+ */
77
+ export declare const PolicyRequestBuilderUriTemplate = "{+baseurl}/admin/teams/policy{?%24expand,%24select}";
78
+ /**
79
+ * Metadata for all the navigation properties in the request builder.
80
+ */
81
+ export declare const PolicyRequestBuilderNavigationMetadata: Record<Exclude<keyof PolicyRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
82
+ /**
83
+ * Metadata for all the requests in the request builder.
84
+ */
85
+ export declare const PolicyRequestBuilderRequestsMetadata: RequestsMetadata;
86
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAE3L,OAAO,EAA8F,KAAK,0EAA0E,EAAE,MAAM,yEAAyE,CAAC;AAEtQ,OAAO,EAAE,KAAK,6BAA6B,EAAkG,MAAM,4BAA4B,CAAC;AAEhL,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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;;;OAIG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CAAkC,CAAC,EAAE,kBAAkB,CAStJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBA+BlD,CAAC"}
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ // @ts-ignore
7
+ import { createTeamsPolicyAssignmentFromDiscriminatorValue, serializeTeamsPolicyAssignment } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
8
+ // @ts-ignore
9
+ import { MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderRequestsMetadata } from './microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/index.js';
10
+ // @ts-ignore
11
+ import { UserAssignmentsRequestBuilderNavigationMetadata, UserAssignmentsRequestBuilderRequestsMetadata } from './userAssignments/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const PolicyRequestBuilderUriTemplate = "{+baseurl}/admin/teams/policy{?%24expand,%24select}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const PolicyRequestBuilderGetQueryParametersMapper = {
20
+ "expand": "%24expand",
21
+ "select": "%24select",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export const PolicyRequestBuilderNavigationMetadata = {
27
+ microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName: {
28
+ requestsMetadata: MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderRequestsMetadata,
29
+ pathParametersMappings: ["name", "type"],
30
+ },
31
+ userAssignments: {
32
+ requestsMetadata: UserAssignmentsRequestBuilderRequestsMetadata,
33
+ navigationMetadata: UserAssignmentsRequestBuilderNavigationMetadata,
34
+ },
35
+ };
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export const PolicyRequestBuilderRequestsMetadata = {
40
+ delete: {
41
+ uriTemplate: PolicyRequestBuilderUriTemplate,
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ XXX: createODataErrorFromDiscriminatorValue,
45
+ },
46
+ adapterMethodName: "sendNoResponseContent",
47
+ },
48
+ get: {
49
+ uriTemplate: PolicyRequestBuilderUriTemplate,
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ XXX: createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "send",
55
+ responseBodyFactory: createTeamsPolicyAssignmentFromDiscriminatorValue,
56
+ queryParametersMapper: PolicyRequestBuilderGetQueryParametersMapper,
57
+ },
58
+ patch: {
59
+ uriTemplate: PolicyRequestBuilderUriTemplate,
60
+ responseBodyContentType: "application/json",
61
+ errorMappings: {
62
+ XXX: createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "send",
65
+ responseBodyFactory: createTeamsPolicyAssignmentFromDiscriminatorValue,
66
+ requestBodyContentType: "application/json",
67
+ requestBodySerializer: serializeTeamsPolicyAssignment,
68
+ requestInformationContentSetMethod: "setContentFromParsable",
69
+ },
70
+ };
71
+ /* tslint:enable */
72
+ /* eslint-enable */
73
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,8BAA8B,EAA8B,MAAM,4DAA4D,CAAC;AAC3L,aAAa;AACb,OAAO,EAAE,0FAA0F,EAAmF,MAAM,yEAAyE,CAAC;AACtQ,aAAa;AACb,OAAO,EAAsC,+CAA+C,EAAE,6CAA6C,EAAE,MAAM,4BAA4B,CAAC;AAyEhL;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,qDAAqD,CAAC;AACrG;;GAEG;AACH,MAAM,4CAA4C,GAA2B;IACzE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,4DAA4D,EAAE;QAC1D,gBAAgB,EAAE,0FAA0F;QAC5G,sBAAsB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KAC3C;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;KACtE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,MAAM,EAAE;QACJ,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iDAAiD;QACvE,qBAAqB,EAAE,4CAA4C;KACtE;IACD,KAAK,EAAE;QACH,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iDAAiD;QACvE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,8BAA8B;QACrD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,93 @@
1
+ import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type PolicyIdentifierDetail } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
3
+ import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Creates a new instance of the appropriate class based on discriminator value
6
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7
+ * @returns {GetPolicyIdWithTypeWithNameGetResponse}
8
+ */
9
+ export declare function createGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
10
+ /**
11
+ * The deserialization information for the current model
12
+ * @param GetPolicyIdWithTypeWithNameGetResponse The instance to deserialize into.
13
+ * @returns {Record<string, (node: ParseNode) => void>}
14
+ */
15
+ export declare function deserializeIntoGetPolicyIdWithTypeWithNameGetResponse(getPolicyIdWithTypeWithNameGetResponse?: Partial<GetPolicyIdWithTypeWithNameGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
16
+ export interface GetPolicyIdWithTypeWithNameGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
17
+ /**
18
+ * The value property
19
+ */
20
+ value?: PolicyIdentifierDetail[] | null;
21
+ }
22
+ /**
23
+ * Provides operations to call the getPolicyId method.
24
+ */
25
+ export interface MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder extends BaseRequestBuilder<MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder> {
26
+ /**
27
+ * Get the policy ID for a given policy name and policy type within Teams administration.
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<GetPolicyIdWithTypeWithNameGetResponse>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ * @see {@link https://learn.microsoft.com/graph/api/teamsadministration-teamspolicyassignment-getpolicyid?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ get(requestConfiguration?: RequestConfiguration<MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters> | undefined): Promise<GetPolicyIdWithTypeWithNameGetResponse | undefined>;
34
+ /**
35
+ * Get the policy ID for a given policy name and policy type within Teams administration.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ }
41
+ /**
42
+ * Get the policy ID for a given policy name and policy type within Teams administration.
43
+ */
44
+ export interface MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters {
45
+ /**
46
+ * Include count of items
47
+ */
48
+ count?: boolean;
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Filter items by property values
55
+ */
56
+ filter?: string;
57
+ /**
58
+ * Order items by property values
59
+ */
60
+ orderby?: string[];
61
+ /**
62
+ * Search items by search phrases
63
+ */
64
+ search?: string;
65
+ /**
66
+ * Select properties to be returned
67
+ */
68
+ select?: string[];
69
+ /**
70
+ * Skip the first n items
71
+ */
72
+ skip?: number;
73
+ /**
74
+ * Show only the first n items
75
+ */
76
+ top?: number;
77
+ }
78
+ /**
79
+ * Serializes information the current object
80
+ * @param GetPolicyIdWithTypeWithNameGetResponse The instance to serialize from.
81
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
82
+ * @param writer Serialization writer to use to serialize this model
83
+ */
84
+ export declare function serializeGetPolicyIdWithTypeWithNameGetResponse(writer: SerializationWriter, getPolicyIdWithTypeWithNameGetResponse?: Partial<GetPolicyIdWithTypeWithNameGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderUriTemplate = "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AAI1M,OAAO,EAAuF,KAAK,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AAE9L,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,kEAAkE,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,CAE1L;AACD;;;;GAIG;AAEH,wBAAgB,qDAAqD,CAAC,sCAAsC,GAAE,OAAO,CAAC,sCAAsC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK1N;AACD,MAAM,WAAW,sCAAuC,SAAQ,qCAAqC,EAAE,QAAQ;IAC3G;;OAEG;IACH,KAAK,CAAC,EAAE,sBAAsB,EAAE,GAAG,IAAI,CAAC;CAC3C;AACD;;GAEG;AACH,MAAM,WAAW,0EAA2E,SAAQ,kBAAkB,CAAC,0EAA0E,CAAC;IAC9L;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4FAA4F,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IAC1N;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4FAA4F,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxM;AACD;;GAEG;AACH,MAAM,WAAW,4FAA4F;IACzG;;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;;;;;GAKG;AAEH,wBAAgB,+CAA+C,CAAC,MAAM,EAAE,mBAAmB,EAAE,sCAAsC,GAAE,OAAO,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI9P;AACD;;GAEG;AACH,eAAO,MAAM,qFAAqF,4LAA4L,CAAC;AAc/R;;GAEG;AACH,eAAO,MAAM,0FAA0F,EAAE,gBAWxG,CAAC"}
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { createPolicyIdentifierDetailFromDiscriminatorValue, serializePolicyIdentifierDetail } from '@microsoft/msgraph-sdk/models/teamsAdministration/index.js';
10
+ /**
11
+ * Creates a new instance of the appropriate class based on discriminator value
12
+ * @param parseNode The parse node to use to read the discriminator value and create the object
13
+ * @returns {GetPolicyIdWithTypeWithNameGetResponse}
14
+ */
15
+ // @ts-ignore
16
+ export function createGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue(parseNode) {
17
+ return deserializeIntoGetPolicyIdWithTypeWithNameGetResponse;
18
+ }
19
+ /**
20
+ * The deserialization information for the current model
21
+ * @param GetPolicyIdWithTypeWithNameGetResponse The instance to deserialize into.
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
+ */
24
+ // @ts-ignore
25
+ export function deserializeIntoGetPolicyIdWithTypeWithNameGetResponse(getPolicyIdWithTypeWithNameGetResponse = {}) {
26
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getPolicyIdWithTypeWithNameGetResponse)), { "value": n => { getPolicyIdWithTypeWithNameGetResponse.value = n.getCollectionOfObjectValues(createPolicyIdentifierDetailFromDiscriminatorValue); } });
27
+ }
28
+ /**
29
+ * Serializes information the current object
30
+ * @param GetPolicyIdWithTypeWithNameGetResponse The instance to serialize from.
31
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
32
+ * @param writer Serialization writer to use to serialize this model
33
+ */
34
+ // @ts-ignore
35
+ export function serializeGetPolicyIdWithTypeWithNameGetResponse(writer, getPolicyIdWithTypeWithNameGetResponse = {}, isSerializingDerivedType = false) {
36
+ if (!getPolicyIdWithTypeWithNameGetResponse || isSerializingDerivedType) {
37
+ return;
38
+ }
39
+ serializeBaseCollectionPaginationCountResponse(writer, getPolicyIdWithTypeWithNameGetResponse, isSerializingDerivedType);
40
+ writer.writeCollectionOfObjectValues("value", getPolicyIdWithTypeWithNameGetResponse.value, serializePolicyIdentifierDetail);
41
+ }
42
+ /**
43
+ * Uri template for the request builder.
44
+ */
45
+ export const MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderUriTemplate = "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
46
+ /**
47
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
48
+ */
49
+ const MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParametersMapper = {
50
+ "count": "%24count",
51
+ "expand": "%24expand",
52
+ "filter": "%24filter",
53
+ "orderby": "%24orderby",
54
+ "search": "%24search",
55
+ "select": "%24select",
56
+ "skip": "%24skip",
57
+ "top": "%24top",
58
+ };
59
+ /**
60
+ * Metadata for all the requests in the request builder.
61
+ */
62
+ export const MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderRequestsMetadata = {
63
+ get: {
64
+ uriTemplate: MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderUriTemplate,
65
+ responseBodyContentType: "application/json",
66
+ errorMappings: {
67
+ XXX: createODataErrorFromDiscriminatorValue,
68
+ },
69
+ adapterMethodName: "send",
70
+ responseBodyFactory: createGetPolicyIdWithTypeWithNameGetResponseFromDiscriminatorValue,
71
+ queryParametersMapper: MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParametersMapper,
72
+ },
73
+ };
74
+ /* tslint:enable */
75
+ /* eslint-enable */
76
+ //# 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,oDAAoD,EAAE,8CAA8C,EAA8C,MAAM,wCAAwC,CAAC;AAC1M,aAAa;AACb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G,EAAE;QACD,WAAW,EAAE,qFAAqF;QAClG,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kEAAkE;QACxF,qBAAqB,EAAE,kGAAkG;KAC5H;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -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}/admin/teams/policy/userAssignments/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,+EAA+E,CAAC;AAQ3H;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}