@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 @@
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;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,qFAAqF,CAAC;AACpI;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,102 @@
1
+ import { type TimeCard, type TimeCardCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type ClockInRequestBuilder } from './clockIn/index.js';
3
+ import { type CountRequestBuilder } from './count/index.js';
4
+ import { type TimeCardItemRequestBuilder } from './item/index.js';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
8
+ */
9
+ export interface TimeCardsRequestBuilder extends BaseRequestBuilder<TimeCardsRequestBuilder> {
10
+ /**
11
+ * Provides operations to call the clockIn method.
12
+ */
13
+ get clockIn(): ClockInRequestBuilder;
14
+ /**
15
+ * Provides operations to count the resources in the collection.
16
+ */
17
+ get count(): CountRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
20
+ * @param timeCardId The unique identifier of timeCard
21
+ * @returns {TimeCardItemRequestBuilder}
22
+ */
23
+ byTimeCardId(timeCardId: string): TimeCardItemRequestBuilder;
24
+ /**
25
+ * The time cards in the schedule.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<TimeCardCollectionResponse>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
+ */
30
+ get(requestConfiguration?: RequestConfiguration<TimeCardsRequestBuilderGetQueryParameters> | undefined): Promise<TimeCardCollectionResponse | undefined>;
31
+ /**
32
+ * Create new navigation property to timeCards for groups
33
+ * @param body The request body
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns {Promise<TimeCard>}
36
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
37
+ */
38
+ post(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
39
+ /**
40
+ * The time cards in the schedule.
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns {RequestInformation}
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TimeCardsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Create new navigation property to timeCards for groups
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toPostRequestInformation(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * The time cards in the schedule.
55
+ */
56
+ export interface TimeCardsRequestBuilderGetQueryParameters {
57
+ /**
58
+ * Include count of items
59
+ */
60
+ count?: boolean;
61
+ /**
62
+ * Expand related entities
63
+ */
64
+ expand?: string[];
65
+ /**
66
+ * Filter items by property values
67
+ */
68
+ filter?: string;
69
+ /**
70
+ * Order items by property values
71
+ */
72
+ orderby?: string[];
73
+ /**
74
+ * Search items by search phrases
75
+ */
76
+ search?: string;
77
+ /**
78
+ * Select properties to be returned
79
+ */
80
+ select?: string[];
81
+ /**
82
+ * Skip the first n items
83
+ */
84
+ skip?: number;
85
+ /**
86
+ * Show only the first n items
87
+ */
88
+ top?: number;
89
+ }
90
+ /**
91
+ * Uri template for the request builder.
92
+ */
93
+ export declare const TimeCardsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
94
+ /**
95
+ * Metadata for all the navigation properties in the request builder.
96
+ */
97
+ export declare const TimeCardsRequestBuilderNavigationMetadata: Record<Exclude<keyof TimeCardsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
98
+ /**
99
+ * Metadata for all the requests in the request builder.
100
+ */
101
+ export declare const TimeCardsRequestBuilderRequestsMetadata: RequestsMetadata;
102
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAIzN,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4F,KAAK,0BAA0B,EAAE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EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,wIAAwI,CAAC;AAcxL;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createTimeCardCollectionResponseFromDiscriminatorValue, createTimeCardFromDiscriminatorValue, serializeTimeCard } 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 { ClockInRequestBuilderRequestsMetadata } from './clockIn/index.js';
10
+ // @ts-ignore
11
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
12
+ // @ts-ignore
13
+ import { TimeCardItemRequestBuilderNavigationMetadata, TimeCardItemRequestBuilderRequestsMetadata } from './item/index.js';
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export const TimeCardsRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
18
+ /**
19
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
20
+ */
21
+ const TimeCardsRequestBuilderGetQueryParametersMapper = {
22
+ "count": "%24count",
23
+ "expand": "%24expand",
24
+ "filter": "%24filter",
25
+ "orderby": "%24orderby",
26
+ "search": "%24search",
27
+ "select": "%24select",
28
+ "skip": "%24skip",
29
+ "top": "%24top",
30
+ };
31
+ /**
32
+ * Metadata for all the navigation properties in the request builder.
33
+ */
34
+ export const TimeCardsRequestBuilderNavigationMetadata = {
35
+ byTimeCardId: {
36
+ requestsMetadata: TimeCardItemRequestBuilderRequestsMetadata,
37
+ navigationMetadata: TimeCardItemRequestBuilderNavigationMetadata,
38
+ pathParametersMappings: ["timeCard%2Did"],
39
+ },
40
+ clockIn: {
41
+ requestsMetadata: ClockInRequestBuilderRequestsMetadata,
42
+ },
43
+ count: {
44
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
45
+ },
46
+ };
47
+ /**
48
+ * Metadata for all the requests in the request builder.
49
+ */
50
+ export const TimeCardsRequestBuilderRequestsMetadata = {
51
+ get: {
52
+ uriTemplate: TimeCardsRequestBuilderUriTemplate,
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ XXX: createODataErrorFromDiscriminatorValue,
56
+ },
57
+ adapterMethodName: "send",
58
+ responseBodyFactory: createTimeCardCollectionResponseFromDiscriminatorValue,
59
+ queryParametersMapper: TimeCardsRequestBuilderGetQueryParametersMapper,
60
+ },
61
+ post: {
62
+ uriTemplate: TimeCardsRequestBuilderUriTemplate,
63
+ responseBodyContentType: "application/json",
64
+ errorMappings: {
65
+ XXX: createODataErrorFromDiscriminatorValue,
66
+ },
67
+ adapterMethodName: "send",
68
+ responseBodyFactory: createTimeCardFromDiscriminatorValue,
69
+ requestBodyContentType: "application/json",
70
+ requestBodySerializer: serializeTimeCard,
71
+ requestInformationContentSetMethod: "setContentFromParsable",
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;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A+C;KACzE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,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,65 @@
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 ClockOutPostRequestBody 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 clockOut method.
23
+ */
24
+ export interface ClockOutRequestBuilder extends BaseRequestBuilder<ClockOutRequestBuilder> {
25
+ /**
26
+ * Invoke action clockOut
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
+ */
32
+ post(body: ClockOutPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
33
+ /**
34
+ * Invoke action clockOut
35
+ * @param body The request body
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toPostRequestInformation(body: ClockOutPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
40
+ }
41
+ /**
42
+ * Creates a new instance of the appropriate class based on discriminator value
43
+ * @param parseNode The parse node to use to read the discriminator value and create the object
44
+ * @returns {ClockOutPostRequestBody}
45
+ */
46
+ export declare function createClockOutPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
47
+ /**
48
+ * The deserialization information for the current model
49
+ * @returns {Record<string, (node: ParseNode) => void>}
50
+ */
51
+ export declare function deserializeIntoClockOutPostRequestBody(clockOutPostRequestBody?: Partial<ClockOutPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
52
+ /**
53
+ * Serializes information the current object
54
+ * @param writer Serialization writer to use to serialize this model
55
+ */
56
+ export declare function serializeClockOutPostRequestBody(writer: SerializationWriter, clockOutPostRequestBody?: Partial<ClockOutPostRequestBody> | undefined | null): void;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const ClockOutRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut";
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const ClockOutRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ //# 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,gBAAg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uB,GAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAMtK;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,oFAAoF,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,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 {ClockOutPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createClockOutPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoClockOutPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns {Record<string, (node: ParseNode) => void>}
20
+ */
21
+ // @ts-ignore
22
+ export function deserializeIntoClockOutPostRequestBody(clockOutPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { clockOutPostRequestBody.backingStoreEnabled = true; },
25
+ "isAtApprovedLocation": n => { clockOutPostRequestBody.isAtApprovedLocation = n.getBooleanValue(); },
26
+ "notes": n => { clockOutPostRequestBody.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 serializeClockOutPostRequestBody(writer, clockOutPostRequestBody = {}) {
35
+ if (clockOutPostRequestBody) {
36
+ writer.writeBooleanValue("isAtApprovedLocation", clockOutPostRequestBody.isAtApprovedLocation);
37
+ writer.writeObjectValue("notes", clockOutPostRequestBody.notes, serializeItemBody);
38
+ writer.writeAdditionalData(clockOutPostRequestBody.additionalData);
39
+ }
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const ClockOutRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut";
45
+ /**
46
+ * Metadata for all the requests in the request builder.
47
+ */
48
+ export const ClockOutRequestBuilderRequestsMetadata = {
49
+ post: {
50
+ uriTemplate: ClockOutRequestBuilderUriTemplate,
51
+ responseBodyContentType: "application/json",
52
+ errorMappings: {
53
+ XXX: createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "send",
56
+ responseBodyFactory: createTimeCardFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: serializeClockOutPostRequestBody,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /* tslint:enable */
63
+ /* eslint-enable */
64
+ //# 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,oCAAoC,EAAE,oCAAoC,EAAE,iBAAiB,EAAmD,MAAM,wCAAwC,CAAC;AACxM,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA0C7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,0BAAwE,EAAE;IAC7H,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACnF,sBAAsB,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,oBAAoB,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACpG,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,CAAW,oCAAoC,CAAC,CAAC,CAAC,CAAC;KACtH,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,gCAAgC,CAAC,MAA2B,EAAE,0BAA+E,EAAE;IAC3J,IAAI,uBAAuB,EAAE,CAAC;QAC1B,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;QAC/F,MAAM,CAAC,gBAAgB,CAAW,OAAO,EAAE,uBAAuB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC7F,MAAM,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvE,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,iFAAiF,CAAC;AACnI;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,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,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,30 @@
1
+ import { type TimeCard } 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 call the confirm method.
5
+ */
6
+ export interface ConfirmRequestBuilder extends BaseRequestBuilder<ConfirmRequestBuilder> {
7
+ /**
8
+ * Confirm a timeCard.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<TimeCard>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
12
+ * @see {@link https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0|Find more info here}
13
+ */
14
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
15
+ /**
16
+ * Confirm a timeCard.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ export declare const ConfirmRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const ConfirmRequestBuilderRequestsMetadata: RequestsMetadata;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAI7G,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACvG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,mFAAmF,CAAC;AACjI;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createTimeCardFromDiscriminatorValue } 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 ConfirmRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm";
12
+ /**
13
+ * Metadata for all the requests in the request builder.
14
+ */
15
+ export const ConfirmRequestBuilderRequestsMetadata = {
16
+ post: {
17
+ uriTemplate: ConfirmRequestBuilderUriTemplate,
18
+ responseBodyContentType: "application/json",
19
+ errorMappings: {
20
+ XXX: createODataErrorFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createTimeCardFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# 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,oCAAoC,EAAiB,MAAM,wCAAwC,CAAC;AAC7G,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAuB7H;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gFAAgF,CAAC;AACjI;;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;KAC7D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,65 @@
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
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {EndBreakPostRequestBody}
7
+ */
8
+ export declare function createEndBreakPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoEndBreakPostRequestBody(endBreakPostRequestBody?: Partial<EndBreakPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface EndBreakPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
15
+ /**
16
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
17
+ */
18
+ additionalData?: Record<string, unknown>;
19
+ /**
20
+ * Stores model information.
21
+ */
22
+ backingStoreEnabled?: boolean | null;
23
+ /**
24
+ * The isAtApprovedLocation property
25
+ */
26
+ isAtApprovedLocation?: boolean | null;
27
+ /**
28
+ * The notes property
29
+ */
30
+ notes?: ItemBody | null;
31
+ }
32
+ /**
33
+ * Provides operations to call the endBreak method.
34
+ */
35
+ export interface EndBreakRequestBuilder extends BaseRequestBuilder<EndBreakRequestBuilder> {
36
+ /**
37
+ * Invoke action endBreak
38
+ * @param body The request body
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns {Promise<TimeCard>}
41
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
42
+ */
43
+ post(body: EndBreakPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
44
+ /**
45
+ * Invoke action endBreak
46
+ * @param body The request body
47
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
+ * @returns {RequestInformation}
49
+ */
50
+ toPostRequestInformation(body: EndBreakPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
+ }
52
+ /**
53
+ * Serializes information the current object
54
+ * @param writer Serialization writer to use to serialize this model
55
+ */
56
+ export declare function serializeEndBreakPostRequestBody(writer: SerializationWriter, endBreakPostRequestBody?: Partial<EndBreakPostRequestBody> | undefined | null): void;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const EndBreakRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak";
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const EndBreakRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ //# 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;;;;GAIG;AAEH,w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CAMtK;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,oFAAoF,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,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 {EndBreakPostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createEndBreakPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoEndBreakPostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns {Record<string, (node: ParseNode) => void>}
20
+ */
21
+ // @ts-ignore
22
+ export function deserializeIntoEndBreakPostRequestBody(endBreakPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { endBreakPostRequestBody.backingStoreEnabled = true; },
25
+ "isAtApprovedLocation": n => { endBreakPostRequestBody.isAtApprovedLocation = n.getBooleanValue(); },
26
+ "notes": n => { endBreakPostRequestBody.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 serializeEndBreakPostRequestBody(writer, endBreakPostRequestBody = {}) {
35
+ if (endBreakPostRequestBody) {
36
+ writer.writeBooleanValue("isAtApprovedLocation", endBreakPostRequestBody.isAtApprovedLocation);
37
+ writer.writeObjectValue("notes", endBreakPostRequestBody.notes, serializeItemBody);
38
+ writer.writeAdditionalData(endBreakPostRequestBody.additionalData);
39
+ }
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const EndBreakRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak";
45
+ /**
46
+ * Metadata for all the requests in the request builder.
47
+ */
48
+ export const EndBreakRequestBuilderRequestsMetadata = {
49
+ post: {
50
+ uriTemplate: EndBreakRequestBuilderUriTemplate,
51
+ responseBodyContentType: "application/json",
52
+ errorMappings: {
53
+ XXX: createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "send",
56
+ responseBodyFactory: createTimeCardFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: serializeEndBreakPostRequestBody,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /* tslint:enable */
63
+ /* eslint-enable */
64
+ //# 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,oCAAoC,EAAE,oCAAoC,EAAE,iBAAiB,EAAmD,MAAM,wCAAwC,CAAC;AACxM,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,0BAAwE,EAAE;IAC7H,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACnF,sBAAsB,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,oBAAoB,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACpG,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,CAAW,oCAAoC,CAAC,CAAC,CAAC,CAAC;KACtH,CAAA;AACL,CAAC;AAuCD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,gCAAgC,CAAC,MAA2B,EAAE,0BAA+E,EAAE;IAC3J,IAAI,uBAAuB,EAAE,CAAC;QAC1B,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;QAC/F,MAAM,CAAC,gBAAgB,CAAW,OAAO,EAAE,uBAAuB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC7F,MAAM,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvE,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,iFAAiF,CAAC;AACnI;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,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,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,93 @@
1
+ import { type TimeCard } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type ClockOutRequestBuilder } from './clockOut/index.js';
3
+ import { type ConfirmRequestBuilder } from './confirm/index.js';
4
+ import { type EndBreakRequestBuilder } from './endBreak/index.js';
5
+ import { type StartBreakRequestBuilder } from './startBreak/index.js';
6
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
7
+ /**
8
+ * Provides operations to manage the timeCards property of the microsoft.graph.schedule entity.
9
+ */
10
+ export interface TimeCardItemRequestBuilder extends BaseRequestBuilder<TimeCardItemRequestBuilder> {
11
+ /**
12
+ * Provides operations to call the clockOut method.
13
+ */
14
+ get clockOut(): ClockOutRequestBuilder;
15
+ /**
16
+ * Provides operations to call the confirm method.
17
+ */
18
+ get confirm(): ConfirmRequestBuilder;
19
+ /**
20
+ * Provides operations to call the endBreak method.
21
+ */
22
+ get endBreak(): EndBreakRequestBuilder;
23
+ /**
24
+ * Provides operations to call the startBreak method.
25
+ */
26
+ get startBreak(): StartBreakRequestBuilder;
27
+ /**
28
+ * Delete navigation property timeCards for groups
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
+ */
32
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
33
+ /**
34
+ * The time cards in the schedule.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {Promise<TimeCard>}
37
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
+ */
39
+ get(requestConfiguration?: RequestConfiguration<TimeCardItemRequestBuilderGetQueryParameters> | undefined): Promise<TimeCard | undefined>;
40
+ /**
41
+ * Update the navigation property timeCards 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 {Promise<TimeCard>}
45
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
46
+ */
47
+ patch(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
48
+ /**
49
+ * Delete navigation property timeCards for groups
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns {RequestInformation}
52
+ */
53
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
54
+ /**
55
+ * The time cards in the schedule.
56
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
+ * @returns {RequestInformation}
58
+ */
59
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TimeCardItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
60
+ /**
61
+ * Update the navigation property timeCards in groups
62
+ * @param body The request body
63
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
+ * @returns {RequestInformation}
65
+ */
66
+ toPatchRequestInformation(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
67
+ }
68
+ /**
69
+ * The time cards in the schedule.
70
+ */
71
+ export interface TimeCardItemRequestBuilderGetQueryParameters {
72
+ /**
73
+ * Expand related entities
74
+ */
75
+ expand?: string[];
76
+ /**
77
+ * Select properties to be returned
78
+ */
79
+ select?: string[];
80
+ }
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export declare const TimeCardItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}";
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const TimeCardItemRequestBuilderNavigationMetadata: Record<Exclude<keyof TimeCardItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const TimeCardItemRequestBuilderRequestsMetadata: 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,EAA2D,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIhI,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAyC,KAAK,qBAAqB,EAAE,M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