@microsoft/msgraph-sdk-groups 1.0.0-preview.30 → 1.0.0-preview.40

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 (98) hide show
  1. package/groups/delta/index.d.ts +3 -3
  2. package/groups/item/assignLicense/index.d.ts +3 -4
  3. package/groups/item/assignLicense/index.d.ts.map +1 -1
  4. package/groups/item/assignLicense/index.js.map +1 -1
  5. package/groups/item/calendar/allowedCalendarSharingRolesWithUser/index.js +1 -1
  6. package/groups/item/calendar/allowedCalendarSharingRolesWithUser/index.js.map +1 -1
  7. package/groups/item/checkMemberGroups/index.d.ts +2 -2
  8. package/groups/item/conversations/index.d.ts +3 -3
  9. package/groups/item/conversations/item/index.d.ts +4 -4
  10. package/groups/item/conversations/item/threads/item/reply/index.d.ts +3 -3
  11. package/groups/item/getMemberObjects/index.d.ts +2 -2
  12. package/groups/item/groupLifecyclePolicies/item/addGroup/index.d.ts +2 -2
  13. package/groups/item/index.d.ts +2 -2
  14. package/groups/item/owners/index.d.ts +3 -3
  15. package/groups/item/owners/ref/index.d.ts +3 -3
  16. package/groups/item/renew/index.d.ts +2 -2
  17. package/groups/item/team/channels/item/members/index.d.ts +5 -0
  18. package/groups/item/team/channels/item/members/index.d.ts.map +1 -1
  19. package/groups/item/team/channels/item/members/index.js +5 -0
  20. package/groups/item/team/channels/item/members/index.js.map +1 -1
  21. package/groups/item/team/channels/item/members/remove/index.d.ts +84 -0
  22. package/groups/item/team/channels/item/members/remove/index.d.ts.map +1 -0
  23. package/groups/item/team/channels/item/members/remove/index.js +90 -0
  24. package/groups/item/team/channels/item/members/remove/index.js.map +1 -0
  25. package/groups/item/team/members/index.d.ts +5 -0
  26. package/groups/item/team/members/index.d.ts.map +1 -1
  27. package/groups/item/team/members/index.js +5 -0
  28. package/groups/item/team/members/index.js.map +1 -1
  29. package/groups/item/team/members/remove/index.d.ts +84 -0
  30. package/groups/item/team/members/remove/index.d.ts.map +1 -0
  31. package/groups/item/team/members/remove/index.js +90 -0
  32. package/groups/item/team/members/remove/index.js.map +1 -0
  33. package/groups/item/team/primaryChannel/members/index.d.ts +5 -0
  34. package/groups/item/team/primaryChannel/members/index.d.ts.map +1 -1
  35. package/groups/item/team/primaryChannel/members/index.js +5 -0
  36. package/groups/item/team/primaryChannel/members/index.js.map +1 -1
  37. package/groups/item/team/primaryChannel/members/remove/index.d.ts +84 -0
  38. package/groups/item/team/primaryChannel/members/remove/index.d.ts.map +1 -0
  39. package/groups/item/team/primaryChannel/members/remove/index.js +90 -0
  40. package/groups/item/team/primaryChannel/members/remove/index.js.map +1 -0
  41. package/groups/item/team/schedule/dayNotes/count/index.d.ts +41 -0
  42. package/groups/item/team/schedule/dayNotes/count/index.d.ts.map +1 -0
  43. package/groups/item/team/schedule/dayNotes/count/index.js +34 -0
  44. package/groups/item/team/schedule/dayNotes/count/index.js.map +1 -0
  45. package/groups/item/team/schedule/dayNotes/index.d.ts +97 -0
  46. package/groups/item/team/schedule/dayNotes/index.d.ts.map +1 -0
  47. package/groups/item/team/schedule/dayNotes/index.js +70 -0
  48. package/groups/item/team/schedule/dayNotes/index.js.map +1 -0
  49. package/groups/item/team/schedule/dayNotes/item/index.d.ts +69 -0
  50. package/groups/item/team/schedule/dayNotes/item/index.d.ts.map +1 -0
  51. package/groups/item/team/schedule/dayNotes/item/index.js +56 -0
  52. package/groups/item/team/schedule/dayNotes/item/index.js.map +1 -0
  53. package/groups/item/team/schedule/index.d.ts +10 -0
  54. package/groups/item/team/schedule/index.d.ts.map +1 -1
  55. package/groups/item/team/schedule/index.js +12 -0
  56. package/groups/item/team/schedule/index.js.map +1 -1
  57. package/groups/item/team/schedule/timeCards/clockIn/index.d.ts +66 -0
  58. package/groups/item/team/schedule/timeCards/clockIn/index.d.ts.map +1 -0
  59. package/groups/item/team/schedule/timeCards/clockIn/index.js +64 -0
  60. package/groups/item/team/schedule/timeCards/clockIn/index.js.map +1 -0
  61. package/groups/item/team/schedule/timeCards/count/index.d.ts +41 -0
  62. package/groups/item/team/schedule/timeCards/count/index.d.ts.map +1 -0
  63. package/groups/item/team/schedule/timeCards/count/index.js +34 -0
  64. package/groups/item/team/schedule/timeCards/count/index.js.map +1 -0
  65. package/groups/item/team/schedule/timeCards/index.d.ts +102 -0
  66. package/groups/item/team/schedule/timeCards/index.d.ts.map +1 -0
  67. package/groups/item/team/schedule/timeCards/index.js +76 -0
  68. package/groups/item/team/schedule/timeCards/index.js.map +1 -0
  69. package/groups/item/team/schedule/timeCards/item/clockOut/index.d.ts +65 -0
  70. package/groups/item/team/schedule/timeCards/item/clockOut/index.d.ts.map +1 -0
  71. package/groups/item/team/schedule/timeCards/item/clockOut/index.js +64 -0
  72. package/groups/item/team/schedule/timeCards/item/clockOut/index.js.map +1 -0
  73. package/groups/item/team/schedule/timeCards/item/confirm/index.d.ts +30 -0
  74. package/groups/item/team/schedule/timeCards/item/confirm/index.d.ts.map +1 -0
  75. package/groups/item/team/schedule/timeCards/item/confirm/index.js +28 -0
  76. package/groups/item/team/schedule/timeCards/item/confirm/index.js.map +1 -0
  77. package/groups/item/team/schedule/timeCards/item/endBreak/index.d.ts +65 -0
  78. package/groups/item/team/schedule/timeCards/item/endBreak/index.d.ts.map +1 -0
  79. package/groups/item/team/schedule/timeCards/item/endBreak/index.js +64 -0
  80. package/groups/item/team/schedule/timeCards/item/endBreak/index.js.map +1 -0
  81. package/groups/item/team/schedule/timeCards/item/index.d.ts +93 -0
  82. package/groups/item/team/schedule/timeCards/item/index.d.ts.map +1 -0
  83. package/groups/item/team/schedule/timeCards/item/index.js +81 -0
  84. package/groups/item/team/schedule/timeCards/item/index.js.map +1 -0
  85. package/groups/item/team/schedule/timeCards/item/startBreak/index.d.ts +65 -0
  86. package/groups/item/team/schedule/timeCards/item/startBreak/index.d.ts.map +1 -0
  87. package/groups/item/team/schedule/timeCards/item/startBreak/index.js +64 -0
  88. package/groups/item/team/schedule/timeCards/item/startBreak/index.js.map +1 -0
  89. package/groups/item/threads/item/index.d.ts +4 -4
  90. package/groups/item/threads/item/reply/index.d.ts +3 -3
  91. package/groups/item/validateProperties/index.d.ts +1 -2
  92. package/groups/item/validateProperties/index.d.ts.map +1 -1
  93. package/groups/item/validateProperties/index.js.map +1 -1
  94. package/groups/validateProperties/index.d.ts +1 -2
  95. package/groups/validateProperties/index.d.ts.map +1 -1
  96. package/groups/validateProperties/index.js.map +1 -1
  97. package/package.json +2 -2
  98. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,97 @@
1
+ import { type DayNote, type DayNoteCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type DayNoteItemRequestBuilder } 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 dayNotes property of the microsoft.graph.schedule entity.
7
+ */
8
+ export interface DayNotesRequestBuilder extends BaseRequestBuilder<DayNotesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
15
+ * @param dayNoteId The unique identifier of dayNote
16
+ * @returns {DayNoteItemRequestBuilder}
17
+ */
18
+ byDayNoteId(dayNoteId: string): DayNoteItemRequestBuilder;
19
+ /**
20
+ * The day notes in the schedule.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<DayNoteCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<DayNotesRequestBuilderGetQueryParameters> | undefined): Promise<DayNoteCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to dayNotes for groups
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<DayNote>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: DayNote, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DayNote | undefined>;
34
+ /**
35
+ * The day notes in the schedule.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DayNotesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to dayNotes for groups
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: DayNote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * The day notes in the schedule.
50
+ */
51
+ export interface DayNotesRequestBuilderGetQueryParameters {
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 DayNotesRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%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 DayNotesRequestBuilderNavigationMetadata: Record<Exclude<keyof DayNotesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const DayNotesRequestBuilderRequestsMetadata: 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,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAIpN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAI,yBAAyB,CAAC;IAC5D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;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,iCAAiC,uIAAuI,CAAC;AActL;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createDayNoteCollectionResponseFromDiscriminatorValue, createDayNoteFromDiscriminatorValue, serializeDayNote } 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 { DayNoteItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const DayNotesRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%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 DayNotesRequestBuilderGetQueryParametersMapper = {
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 DayNotesRequestBuilderNavigationMetadata = {
33
+ byDayNoteId: {
34
+ requestsMetadata: DayNoteItemRequestBuilderRequestsMetadata,
35
+ pathParametersMappings: ["dayNote%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
39
+ },
40
+ };
41
+ /**
42
+ * Metadata for all the requests in the request builder.
43
+ */
44
+ export const DayNotesRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: DayNotesRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: createDayNoteCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: DayNotesRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: DayNotesRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: createDayNoteFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: serializeDayNote,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
70
+ //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AAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,69 @@
1
+ import { type DayNote } 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 dayNotes property of the microsoft.graph.schedule entity.
5
+ */
6
+ export interface DayNoteItemRequestBuilder extends BaseRequestBuilder<DayNoteItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property dayNotes for groups
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 day notes in the schedule.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<DayNote>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<DayNoteItemRequestBuilderGetQueryParameters> | undefined): Promise<DayNote | undefined>;
20
+ /**
21
+ * Update the navigation property dayNotes in groups
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<DayNote>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ patch(body: DayNote, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DayNote | undefined>;
28
+ /**
29
+ * Delete navigation property dayNotes for groups
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 day notes in the schedule.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DayNoteItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property dayNotes in groups
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: DayNote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * The day notes in the schedule.
50
+ */
51
+ export interface DayNoteItemRequestBuilderGetQueryParameters {
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 DayNoteItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const DayNoteItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ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orValue, serializeDayNote } 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 DayNoteItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const DayNoteItemRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const DayNoteItemRequestBuilderRequestsMetadata = {
23
+ delete: {
24
+ uriTemplate: DayNoteItemRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendNoResponseContent",
30
+ },
31
+ get: {
32
+ uriTemplate: DayNoteItemRequestBuilderUriTemplate,
33
+ responseBodyContentType: "application/json",
34
+ errorMappings: {
35
+ XXX: createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "send",
38
+ responseBodyFactory: createDayNoteFromDiscriminatorValue,
39
+ queryParametersMapper: DayNoteItemRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ patch: {
42
+ uriTemplate: DayNoteItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createDayNoteFromDiscriminatorValue,
49
+ requestBodyContentType: "application/json",
50
+ requestBodySerializer: serializeDayNote,
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,mCAAmC,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,4FAA4F,CAAC;AACjJ;;GAEG;AACH,MAAM,iDAAiD,GAA2B;IAC9E,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,MAAM,EAAE;QACJ,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,4 +1,5 @@
1
1
  import { type Schedule } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type DayNotesRequestBuilder } from './dayNotes/index.js';
2
3
  import { type OfferShiftRequestsRequestBuilder } from './offerShiftRequests/index.js';
3
4
  import { type OpenShiftChangeRequestsRequestBuilder } from './openShiftChangeRequests/index.js';
4
5
  import { type OpenShiftsRequestBuilder } from './openShifts/index.js';
@@ -6,6 +7,7 @@ import { type SchedulingGroupsRequestBuilder } from './schedulingGroups/index.js
6
7
  import { type ShareRequestBuilder } from './share/index.js';
7
8
  import { type ShiftsRequestBuilder } from './shifts/index.js';
8
9
  import { type SwapShiftsChangeRequestsRequestBuilder } from './swapShiftsChangeRequests/index.js';
10
+ import { type TimeCardsRequestBuilder } from './timeCards/index.js';
9
11
  import { type TimeOffReasonsRequestBuilder } from './timeOffReasons/index.js';
10
12
  import { type TimeOffRequestsRequestBuilder } from './timeOffRequests/index.js';
11
13
  import { type TimesOffRequestBuilder } from './timesOff/index.js';
@@ -14,6 +16,10 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
14
16
  * Provides operations to manage the schedule property of the microsoft.graph.team entity.
15
17
  */
16
18
  export interface ScheduleRequestBuilder extends BaseRequestBuilder<ScheduleRequestBuilder> {
19
+ /**
20
+ * Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity.
21
+ */
22
+ get dayNotes(): DayNotesRequestBuilder;
17
23
  /**
18
24
  * Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity.
19
25
  */
@@ -42,6 +48,10 @@ export interface ScheduleRequestBuilder extends BaseRequestBuilder<ScheduleReque
42
48
  * Provides operations to manage the swapShiftsChangeRequests property of the microsoft.graph.schedule entity.
43
49
  */
44
50
  get swapShiftsChangeRequests(): SwapShiftsChangeRequestsRequestBuilder;
51
+ /**
52
+ * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
53
+ */
54
+ get timeCards(): TimeCardsRequestBuilder;
45
55
  /**
46
56
  * Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity.
47
57
  */
@@ -1 +1 @@
1
- {"version":3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,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;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,uEAAuE,CAAC;AAQtH;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAgD1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC"}
@@ -6,6 +6,8 @@ import { createScheduleFromDiscriminatorValue, serializeSchedule } from '@micros
6
6
  // @ts-ignore
7
7
  import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
8
  // @ts-ignore
9
+ import { DayNotesRequestBuilderNavigationMetadata, DayNotesRequestBuilderRequestsMetadata } from './dayNotes/index.js';
10
+ // @ts-ignore
9
11
  import { OfferShiftRequestsRequestBuilderNavigationMetadata, OfferShiftRequestsRequestBuilderRequestsMetadata } from './offerShiftRequests/index.js';
10
12
  // @ts-ignore
11
13
  import { OpenShiftChangeRequestsRequestBuilderNavigationMetadata, OpenShiftChangeRequestsRequestBuilderRequestsMetadata } from './openShiftChangeRequests/index.js';
@@ -20,6 +22,8 @@ import { ShiftsRequestBuilderNavigationMetadata, ShiftsRequestBuilderRequestsMet
20
22
  // @ts-ignore
21
23
  import { SwapShiftsChangeRequestsRequestBuilderNavigationMetadata, SwapShiftsChangeRequestsRequestBuilderRequestsMetadata } from './swapShiftsChangeRequests/index.js';
22
24
  // @ts-ignore
25
+ import { TimeCardsRequestBuilderNavigationMetadata, TimeCardsRequestBuilderRequestsMetadata } from './timeCards/index.js';
26
+ // @ts-ignore
23
27
  import { TimeOffReasonsRequestBuilderNavigationMetadata, TimeOffReasonsRequestBuilderRequestsMetadata } from './timeOffReasons/index.js';
24
28
  // @ts-ignore
25
29
  import { TimeOffRequestsRequestBuilderNavigationMetadata, TimeOffRequestsRequestBuilderRequestsMetadata } from './timeOffRequests/index.js';
@@ -40,6 +44,10 @@ const ScheduleRequestBuilderGetQueryParametersMapper = {
40
44
  * Metadata for all the navigation properties in the request builder.
41
45
  */
42
46
  export const ScheduleRequestBuilderNavigationMetadata = {
47
+ dayNotes: {
48
+ requestsMetadata: DayNotesRequestBuilderRequestsMetadata,
49
+ navigationMetadata: DayNotesRequestBuilderNavigationMetadata,
50
+ },
43
51
  offerShiftRequests: {
44
52
  requestsMetadata: OfferShiftRequestsRequestBuilderRequestsMetadata,
45
53
  navigationMetadata: OfferShiftRequestsRequestBuilderNavigationMetadata,
@@ -67,6 +75,10 @@ export const ScheduleRequestBuilderNavigationMetadata = {
67
75
  requestsMetadata: SwapShiftsChangeRequestsRequestBuilderRequestsMetadata,
68
76
  navigationMetadata: SwapShiftsChangeRequestsRequestBuilderNavigationMetadata,
69
77
  },
78
+ timeCards: {
79
+ requestsMetadata: TimeCardsRequestBuilderRequestsMetadata,
80
+ navigationMetadata: TimeCardsRequestBuilderNavigationMetadata,
81
+ },
70
82
  timeOffReasons: {
71
83
  requestsMetadata: TimeOffReasonsRequestBuilderRequestsMetadata,
72
84
  navigationMetadata: TimeOffReasonsRequestBuilderNavigationMetadata,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;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8C;KACrE;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;KACtE;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;QACxD,kBAAkB,EAAE,wCAAwC;KAC/D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,MAAM,EAAE;QACJ,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,qBAAqB,EAAE,8CAA8C;KACxE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iBAAiB;QACxC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,66 @@
1
+ import { type ItemBody, type TimeCard } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface ClockInPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
+ */
7
+ additionalData?: Record<string, unknown>;
8
+ /**
9
+ * Stores model information.
10
+ */
11
+ backingStoreEnabled?: boolean | null;
12
+ /**
13
+ * The isAtApprovedLocation property
14
+ */
15
+ isAtApprovedLocation?: boolean | null;
16
+ /**
17
+ * The notes property
18
+ */
19
+ notes?: ItemBody | null;
20
+ }
21
+ /**
22
+ * Provides operations to call the clockIn method.
23
+ */
24
+ export interface ClockInRequestBuilder extends BaseRequestBuilder<ClockInRequestBuilder> {
25
+ /**
26
+ * Clock in to start a timeCard.
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns {Promise<TimeCard>}
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ * @see {@link https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: ClockInPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
34
+ /**
35
+ * Clock in to start a timeCard.
36
+ * @param body The request body
37
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
+ * @returns {RequestInformation}
39
+ */
40
+ toPostRequestInformation(body: ClockInPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
41
+ }
42
+ /**
43
+ * Creates a new instance of the appropriate class based on discriminator value
44
+ * @param parseNode The parse node to use to read the discriminator value and create the object
45
+ * @returns {ClockInPostRequestBody}
46
+ */
47
+ export declare function createClockInPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
48
+ /**
49
+ * The deserialization information for the current model
50
+ * @returns {Record<string, (node: ParseNode) => void>}
51
+ */
52
+ export declare function deserializeIntoClockInPostRequestBody(clockInPostRequestBody?: Partial<ClockInPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
53
+ /**
54
+ * Serializes information the current object
55
+ * @param writer Serialization writer to use to serialize this model
56
+ */
57
+ export declare function serializeClockInPostRequestBody(writer: SerializationWriter, clockInPostRequestBody?: Partial<ClockInPostRequestBody> | undefined | null): void;
58
+ /**
59
+ * Uri template for the request builder.
60
+ */
61
+ export declare const ClockInRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn";
62
+ /**
63
+ * Metadata for all the requests in the request builder.
64
+ */
65
+ export declare const ClockInRequestBuilderRequestsMetadata: RequestsMetadata;
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoH,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIxM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACvF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC3B;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACrI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;;;GAIG;AAEH,wBAAgB,kDAAkD,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,CAE1K;AACD;;;GAGG;AAEH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM1K;AACD;;;GAGG;AAEH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAMnK;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,mEAAmE,CAAC;AACjH;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC"}
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createItemBodyFromDiscriminatorValue, createTimeCardFromDiscriminatorValue, serializeItemBody } 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 {ClockInPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createClockInPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoClockInPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns {Record<string, (node: ParseNode) => void>}
20
+ */
21
+ // @ts-ignore
22
+ export function deserializeIntoClockInPostRequestBody(clockInPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { clockInPostRequestBody.backingStoreEnabled = true; },
25
+ "isAtApprovedLocation": n => { clockInPostRequestBody.isAtApprovedLocation = n.getBooleanValue(); },
26
+ "notes": n => { clockInPostRequestBody.notes = n.getObjectValue(createItemBodyFromDiscriminatorValue); },
27
+ };
28
+ }
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ // @ts-ignore
34
+ export function serializeClockInPostRequestBody(writer, clockInPostRequestBody = {}) {
35
+ if (clockInPostRequestBody) {
36
+ writer.writeBooleanValue("isAtApprovedLocation", clockInPostRequestBody.isAtApprovedLocation);
37
+ writer.writeObjectValue("notes", clockInPostRequestBody.notes, serializeItemBody);
38
+ writer.writeAdditionalData(clockInPostRequestBody.additionalData);
39
+ }
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const ClockInRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn";
45
+ /**
46
+ * Metadata for all the requests in the request builder.
47
+ */
48
+ export const ClockInRequestBuilderRequestsMetadata = {
49
+ post: {
50
+ uriTemplate: ClockInRequestBuilderUriTemplate,
51
+ responseBodyContentType: "application/json",
52
+ errorMappings: {
53
+ XXX: createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "send",
56
+ responseBodyFactory: createTimeCardFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: serializeClockInPostRequestBody,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /* tslint:enable */
63
+ /* eslint-enable */
64
+ //# sourceMapp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AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gEAAgE,CAAC;AACjH;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;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}/groups/{group%2Did}/team/schedule/timeCards/$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,wFAAwF,CAAC;AAQpI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -0,0 +1,34 @@
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
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CountRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/$count{?%24filter,%24search}";
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const CountRequestBuilderGetQueryParametersMapper = {
14
+ "filter": "%24filter",
15
+ "search": "%24search",
16
+ };
17
+ /**
18
+ * Metadata for all the requests in the request builder.
19
+ */
20
+ export const CountRequestBuilderRequestsMetadata = {
21
+ get: {
22
+ uriTemplate: CountRequestBuilderUriTemplate,
23
+ responseBodyContentType: "text/plain;q=0.9",
24
+ errorMappings: {
25
+ XXX: createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitive",
28
+ responseBodyFactory: "number",
29
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
30
+ },
31
+ };
32
+ /* tslint:enable */
33
+ /* eslint-enable */
34
+ //# sourceMappingURL=index.js.map