@microsoft/msgraph-sdk-users 1.0.0-preview.89 → 1.0.0-preview.90

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 (50) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/item/index.d.ts +5 -0
  4. package/users/item/index.d.ts.map +1 -1
  5. package/users/item/index.js +6 -0
  6. package/users/item/index.js.map +1 -1
  7. package/users/item/notes/count/index.d.ts +41 -0
  8. package/users/item/notes/count/index.d.ts.map +1 -0
  9. package/users/item/notes/count/index.js +34 -0
  10. package/users/item/notes/count/index.js.map +1 -0
  11. package/users/item/notes/delta/index.d.ts +92 -0
  12. package/users/item/notes/delta/index.d.ts.map +1 -0
  13. package/users/item/notes/delta/index.js +74 -0
  14. package/users/item/notes/delta/index.js.map +1 -0
  15. package/users/item/notes/index.d.ts +102 -0
  16. package/users/item/notes/index.d.ts.map +1 -0
  17. package/users/item/notes/index.js +76 -0
  18. package/users/item/notes/index.js.map +1 -0
  19. package/users/item/notes/item/attachments/count/index.d.ts +41 -0
  20. package/users/item/notes/item/attachments/count/index.d.ts.map +1 -0
  21. package/users/item/notes/item/attachments/count/index.js +34 -0
  22. package/users/item/notes/item/attachments/count/index.js.map +1 -0
  23. package/users/item/notes/item/attachments/createUploadSession/index.d.ts +61 -0
  24. package/users/item/notes/item/attachments/createUploadSession/index.d.ts.map +1 -0
  25. package/users/item/notes/item/attachments/createUploadSession/index.js +66 -0
  26. package/users/item/notes/item/attachments/createUploadSession/index.js.map +1 -0
  27. package/users/item/notes/item/attachments/index.d.ts +102 -0
  28. package/users/item/notes/item/attachments/index.d.ts.map +1 -0
  29. package/users/item/notes/item/attachments/index.js +75 -0
  30. package/users/item/notes/item/attachments/index.js.map +1 -0
  31. package/users/item/notes/item/attachments/item/index.d.ts +54 -0
  32. package/users/item/notes/item/attachments/item/index.d.ts.map +1 -0
  33. package/users/item/notes/item/attachments/item/index.js +44 -0
  34. package/users/item/notes/item/attachments/item/index.js.map +1 -0
  35. package/users/item/notes/item/extensions/count/index.d.ts +41 -0
  36. package/users/item/notes/item/extensions/count/index.d.ts.map +1 -0
  37. package/users/item/notes/item/extensions/count/index.js +34 -0
  38. package/users/item/notes/item/extensions/count/index.js.map +1 -0
  39. package/users/item/notes/item/extensions/index.d.ts +97 -0
  40. package/users/item/notes/item/extensions/index.d.ts.map +1 -0
  41. package/users/item/notes/item/extensions/index.js +70 -0
  42. package/users/item/notes/item/extensions/index.js.map +1 -0
  43. package/users/item/notes/item/extensions/item/index.d.ts +69 -0
  44. package/users/item/notes/item/extensions/item/index.d.ts.map +1 -0
  45. package/users/item/notes/item/extensions/item/index.js +56 -0
  46. package/users/item/notes/item/extensions/item/index.js.map +1 -0
  47. package/users/item/notes/item/index.d.ts +83 -0
  48. package/users/item/notes/item/index.d.ts.map +1 -0
  49. package/users/item/notes/item/index.js +73 -0
  50. package/users/item/notes/item/index.js.map +1 -0
@@ -0,0 +1,97 @@
1
+ import { type Extension, type ExtensionCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type ExtensionItemRequestBuilder } from './item/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the extensions property of the microsoft.graph.note entity.
7
+ */
8
+ export interface ExtensionsRequestBuilder extends BaseRequestBuilder<ExtensionsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the extensions property of the microsoft.graph.note entity.
15
+ * @param extensionId The unique identifier of extension
16
+ * @returns {ExtensionItemRequestBuilder}
17
+ */
18
+ byExtensionId(extensionId: string): ExtensionItemRequestBuilder;
19
+ /**
20
+ * The collection of open extensions defined for the note.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<ExtensionCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): Promise<ExtensionCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to extensions for users
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<Extension>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Extension | undefined>;
34
+ /**
35
+ * The collection of open extensions defined for the note.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExtensionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to extensions for users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPostRequestInformation(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * The collection of open extensions defined for the note.
50
+ */
51
+ export interface ExtensionsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const ExtensionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
89
+ /**
90
+ * Metadata for all the navigation properties in the request builder.
91
+ */
92
+ export declare const ExtensionsRequestBuilderNavigationMetadata: Record<Exclude<keyof ExtensionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const ExtensionsRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsH,KAAK,SAAS,EAAE,KAAK,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AAI9N,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAEhH,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,aAAa,CAAC,WAAW,EAAE,MAAM,GAAI,2BAA2B,CAAC;IAClE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;I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ponseFromDiscriminatorValue, createExtensionFromDiscriminatorValue, serializeExtension } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { ExtensionItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const ExtensionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const ExtensionsRequestBuilderGetQueryParametersMapper = {
20
+ "count": "%24count",
21
+ "expand": "%24expand",
22
+ "filter": "%24filter",
23
+ "orderby": "%24orderby",
24
+ "search": "%24search",
25
+ "select": "%24select",
26
+ "skip": "%24skip",
27
+ "top": "%24top",
28
+ };
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export const ExtensionsRequestBuilderNavigationMetadata = {
33
+ byExtensionId: {
34
+ requestsMetadata: ExtensionItemRequestBuilderRequestsMetadata,
35
+ pathParametersMappings: ["extension%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
39
+ },
40
+ };
41
+ /**
42
+ * Metadata for all the requests in the request builder.
43
+ */
44
+ export const ExtensionsRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: ExtensionsRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: createExtensionCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: ExtensionsRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: ExtensionsRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: createExtensionFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: serializeExtension,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
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,uDAAuD,EAAE,qCAAqC,EAAE,kBAAkB,EAAoD,MAAM,wCAAwC,CAAC;AAC9N,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,iBAAiB,CAAC;AAoFhH;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,wIAAwI,CAAC;AAC5L;;GAEG;AACH,MAAM,gDAAgD,GAA2B;IAC7E,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,0CAA0C,GAA4G;IAC/J,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;QAC7D,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;KAC7C;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAqB;IACtE,GAAG,EAAE;QACD,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;QAC7E,qBAAqB,EAAE,gDAAgD;KAC1E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qCAAqC;QAC3D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kBAAkB;QACzC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,69 @@
1
+ import { type Extension } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the extensions property of the microsoft.graph.note entity.
5
+ */
6
+ export interface ExtensionItemRequestBuilder extends BaseRequestBuilder<ExtensionItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property extensions for users
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * The collection of open extensions defined for the note.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<Extension>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<ExtensionItemRequestBuilderGetQueryParameters> | undefined): Promise<Extension | undefined>;
20
+ /**
21
+ * Update the navigation property extensions in users
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<Extension>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ patch(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Extension | undefined>;
28
+ /**
29
+ * Delete navigation property extensions for users
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * The collection of open extensions defined for the note.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExtensionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property extensions in users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPatchRequestInformation(body: Extension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * The collection of open extensions defined for the note.
50
+ */
51
+ export interface ExtensionItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const ExtensionItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions/{extension%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const ExtensionItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@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E,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,qGAAqG,CAAC;AAQzJ;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBA+BzD,CAAC"}
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createExtensionFromDiscriminatorValue, serializeExtension } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const ExtensionItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}/extensions/{extension%2Did}{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const ExtensionItemRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const ExtensionItemRequestBuilderRequestsMetadata = {
23
+ delete: {
24
+ uriTemplate: ExtensionItemRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendNoResponseContent",
30
+ },
31
+ get: {
32
+ uriTemplate: ExtensionItemRequestBuilderUriTemplate,
33
+ responseBodyContentType: "application/json",
34
+ errorMappings: {
35
+ XXX: createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "send",
38
+ responseBodyFactory: createExtensionFromDiscriminatorValue,
39
+ queryParametersMapper: ExtensionItemRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ patch: {
42
+ uriTemplate: ExtensionItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createExtensionFromDiscriminatorValue,
49
+ requestBodyContentType: "application/json",
50
+ requestBodySerializer: serializeExtension,
51
+ requestInformationContentSetMethod: "setContentFromParsable",
52
+ },
53
+ };
54
+ /* tslint:enable */
55
+ /* eslint-enable */
56
+ //# 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,qCAAqC,EAAE,kBAAkB,EAAkB,MAAM,wCAAwC,CAAC;AACnI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,kGAAkG,CAAC;AACzJ;;GAEG;AACH,MAAM,mDAAmD,GAA2B;IAChF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,MAAM,EAAE;QACJ,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qCAAqC;QAC3D,qBAAqB,EAAE,mDAAmD;KAC7E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qCAAqC;QAC3D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kBAAkB;QACzC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,83 @@
1
+ import { type Note } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type AttachmentsRequestBuilder } from './attachments/index.js';
3
+ import { type ExtensionsRequestBuilder } from './extensions/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 notes property of the microsoft.graph.user entity.
7
+ */
8
+ export interface NoteItemRequestBuilder extends BaseRequestBuilder<NoteItemRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the attachments property of the microsoft.graph.note entity.
11
+ */
12
+ get attachments(): AttachmentsRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the extensions property of the microsoft.graph.note entity.
15
+ */
16
+ get extensions(): ExtensionsRequestBuilder;
17
+ /**
18
+ * Delete navigation property notes for users
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
+ * The notes in the user's Notes folder. Read-only. Nullable.
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns {Promise<Note>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<NoteItemRequestBuilderGetQueryParameters> | undefined): Promise<Note | undefined>;
30
+ /**
31
+ * Update the navigation property notes in users
32
+ * @param body The request body
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {Promise<Note>}
35
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
36
+ */
37
+ patch(body: Note, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Note | undefined>;
38
+ /**
39
+ * Delete navigation property notes for users
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
+ * The notes in the user's Notes folder. Read-only. Nullable.
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns {RequestInformation}
48
+ */
49
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<NoteItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
+ /**
51
+ * Update the navigation property notes in users
52
+ * @param body The request body
53
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
+ * @returns {RequestInformation}
55
+ */
56
+ toPatchRequestInformation(body: Note, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
+ }
58
+ /**
59
+ * The notes in the user's Notes folder. Read-only. Nullable.
60
+ */
61
+ export interface NoteItemRequestBuilderGetQueryParameters {
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 NoteItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}{?%24expand,%24select}";
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const NoteItemRequestBuilderNavigationMetadata: Record<Exclude<keyof NoteItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ export declare const NoteItemRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ //# sourceMapp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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;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,yEAAyE,CAAC;AAQxH;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC"}
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createNoteFromDiscriminatorValue, serializeNote } 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 { AttachmentsRequestBuilderNavigationMetadata, AttachmentsRequestBuilderRequestsMetadata } from './attachments/index.js';
10
+ // @ts-ignore
11
+ import { ExtensionsRequestBuilderNavigationMetadata, ExtensionsRequestBuilderRequestsMetadata } from './extensions/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const NoteItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/notes/{note%2Did}{?%24expand,%24select}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const NoteItemRequestBuilderGetQueryParametersMapper = {
20
+ "expand": "%24expand",
21
+ "select": "%24select",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export const NoteItemRequestBuilderNavigationMetadata = {
27
+ attachments: {
28
+ requestsMetadata: AttachmentsRequestBuilderRequestsMetadata,
29
+ navigationMetadata: AttachmentsRequestBuilderNavigationMetadata,
30
+ },
31
+ extensions: {
32
+ requestsMetadata: ExtensionsRequestBuilderRequestsMetadata,
33
+ navigationMetadata: ExtensionsRequestBuilderNavigationMetadata,
34
+ },
35
+ };
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export const NoteItemRequestBuilderRequestsMetadata = {
40
+ delete: {
41
+ uriTemplate: NoteItemRequestBuilderUriTemplate,
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ XXX: createODataErrorFromDiscriminatorValue,
45
+ },
46
+ adapterMethodName: "sendNoResponseContent",
47
+ },
48
+ get: {
49
+ uriTemplate: NoteItemRequestBuilderUriTemplate,
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ XXX: createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "send",
55
+ responseBodyFactory: createNoteFromDiscriminatorValue,
56
+ queryParametersMapper: NoteItemRequestBuilderGetQueryParametersMapper,
57
+ },
58
+ patch: {
59
+ uriTemplate: NoteItemRequestBuilderUriTemplate,
60
+ responseBodyContentType: "application/json",
61
+ errorMappings: {
62
+ XXX: createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "send",
65
+ responseBodyFactory: createNoteFromDiscriminatorValue,
66
+ requestBodyContentType: "application/json",
67
+ requestBodySerializer: serializeNote,
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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