@microsoft/msgraph-sdk-teams 1.0.0-preview.39 → 1.0.0-preview.41

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 (51) hide show
  1. package/package.json +2 -2
  2. package/teams/item/channels/item/messages/index.d.ts +3 -3
  3. package/teams/item/schedule/dayNotes/count/index.d.ts +41 -0
  4. package/teams/item/schedule/dayNotes/count/index.d.ts.map +1 -0
  5. package/teams/item/schedule/dayNotes/count/index.js +34 -0
  6. package/teams/item/schedule/dayNotes/count/index.js.map +1 -0
  7. package/teams/item/schedule/dayNotes/index.d.ts +97 -0
  8. package/teams/item/schedule/dayNotes/index.d.ts.map +1 -0
  9. package/teams/item/schedule/dayNotes/index.js +70 -0
  10. package/teams/item/schedule/dayNotes/index.js.map +1 -0
  11. package/teams/item/schedule/dayNotes/item/index.d.ts +69 -0
  12. package/teams/item/schedule/dayNotes/item/index.d.ts.map +1 -0
  13. package/teams/item/schedule/dayNotes/item/index.js +56 -0
  14. package/teams/item/schedule/dayNotes/item/index.js.map +1 -0
  15. package/teams/item/schedule/index.d.ts +10 -0
  16. package/teams/item/schedule/index.d.ts.map +1 -1
  17. package/teams/item/schedule/index.js +12 -0
  18. package/teams/item/schedule/index.js.map +1 -1
  19. package/teams/item/schedule/timeCards/clockIn/index.d.ts +66 -0
  20. package/teams/item/schedule/timeCards/clockIn/index.d.ts.map +1 -0
  21. package/teams/item/schedule/timeCards/clockIn/index.js +64 -0
  22. package/teams/item/schedule/timeCards/clockIn/index.js.map +1 -0
  23. package/teams/item/schedule/timeCards/count/index.d.ts +41 -0
  24. package/teams/item/schedule/timeCards/count/index.d.ts.map +1 -0
  25. package/teams/item/schedule/timeCards/count/index.js +34 -0
  26. package/teams/item/schedule/timeCards/count/index.js.map +1 -0
  27. package/teams/item/schedule/timeCards/index.d.ts +104 -0
  28. package/teams/item/schedule/timeCards/index.d.ts.map +1 -0
  29. package/teams/item/schedule/timeCards/index.js +76 -0
  30. package/teams/item/schedule/timeCards/index.js.map +1 -0
  31. package/teams/item/schedule/timeCards/item/clockOut/index.d.ts +65 -0
  32. package/teams/item/schedule/timeCards/item/clockOut/index.d.ts.map +1 -0
  33. package/teams/item/schedule/timeCards/item/clockOut/index.js +64 -0
  34. package/teams/item/schedule/timeCards/item/clockOut/index.js.map +1 -0
  35. package/teams/item/schedule/timeCards/item/confirm/index.d.ts +30 -0
  36. package/teams/item/schedule/timeCards/item/confirm/index.d.ts.map +1 -0
  37. package/teams/item/schedule/timeCards/item/confirm/index.js +28 -0
  38. package/teams/item/schedule/timeCards/item/confirm/index.js.map +1 -0
  39. package/teams/item/schedule/timeCards/item/endBreak/index.d.ts +65 -0
  40. package/teams/item/schedule/timeCards/item/endBreak/index.d.ts.map +1 -0
  41. package/teams/item/schedule/timeCards/item/endBreak/index.js +64 -0
  42. package/teams/item/schedule/timeCards/item/endBreak/index.js.map +1 -0
  43. package/teams/item/schedule/timeCards/item/index.d.ts +94 -0
  44. package/teams/item/schedule/timeCards/item/index.d.ts.map +1 -0
  45. package/teams/item/schedule/timeCards/item/index.js +81 -0
  46. package/teams/item/schedule/timeCards/item/index.js.map +1 -0
  47. package/teams/item/schedule/timeCards/item/startBreak/index.d.ts +65 -0
  48. package/teams/item/schedule/timeCards/item/startBreak/index.d.ts.map +1 -0
  49. package/teams/item/schedule/timeCards/item/startBreak/index.js +64 -0
  50. package/teams/item/schedule/timeCards/item/startBreak/index.js.map +1 -0
  51. package/tsconfig.tsbuildinfo +1 -1
@@ -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}/teams/{team%2Did}/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
+ //# 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;AA2C7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAClF,sBAAsB,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,oBAAoB,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACnG,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,CAAW,oCAAoC,CAAC,CAAC,CAAC,CAAC;KACrH,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,+BAA+B,CAAC,MAA2B,EAAE,yBAA6E,EAAE;IACxJ,IAAI,sBAAsB,EAAE,CAAC;QACzB,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,oBAAoB,CAAC,CAAC;QAC9F,MAAM,CAAC,gBAAgB,CAAW,OAAO,EAAE,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC5F,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;IACtE,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,yDAAyD,CAAC;AAC1G;;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}/teams/{team%2Did}/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,iFAAiF,CAAC;AAQ7H;;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}/teams/{team%2Did}/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
@@ -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,8EAA8E,CAAC;AAC7H;;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,104 @@
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
+ * Retrieve a list of timeCard entries in a 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
+ * @see {@link https://learn.microsoft.com/graph/api/schedule-list-timecards?view=graph-rest-1.0|Find more info here}
30
+ */
31
+ get(requestConfiguration?: RequestConfiguration<TimeCardsRequestBuilderGetQueryParameters> | undefined): Promise<TimeCardCollectionResponse | undefined>;
32
+ /**
33
+ * Create a timeCard instance in a schedule.
34
+ * @param body The request body
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
+ * @see {@link https://learn.microsoft.com/graph/api/schedule-post-timecards?view=graph-rest-1.0|Find more info here}
39
+ */
40
+ post(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
41
+ /**
42
+ * Retrieve a list of timeCard entries in a schedule.
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TimeCardsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
+ /**
48
+ * Create a timeCard instance in a schedule.
49
+ * @param body The request body
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns {RequestInformation}
52
+ */
53
+ toPostRequestInformation(body: TimeCard, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
54
+ }
55
+ /**
56
+ * Retrieve a list of timeCard entries in a schedule.
57
+ */
58
+ export interface TimeCardsRequestBuilderGetQueryParameters {
59
+ /**
60
+ * Include count of items
61
+ */
62
+ count?: boolean;
63
+ /**
64
+ * Expand related entities
65
+ */
66
+ expand?: string[];
67
+ /**
68
+ * Filter items by property values
69
+ */
70
+ filter?: string;
71
+ /**
72
+ * Order items by property values
73
+ */
74
+ orderby?: string[];
75
+ /**
76
+ * Search items by search phrases
77
+ */
78
+ search?: string;
79
+ /**
80
+ * Select properties to be returned
81
+ */
82
+ select?: string[];
83
+ /**
84
+ * Skip the first n items
85
+ */
86
+ skip?: number;
87
+ /**
88
+ * Show only the first n items
89
+ */
90
+ top?: number;
91
+ }
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const TimeCardsRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
+ /**
97
+ * Metadata for all the navigation properties in the request builder.
98
+ */
99
+ export declare const TimeCardsRequestBuilderNavigationMetadata: Record<Exclude<keyof TimeCardsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
100
+ /**
101
+ * Metadata for all the requests in the request builder.
102
+ */
103
+ export declare const TimeCardsRequestBuilderRequestsMetadata: RequestsMetadata;
104
+ //# 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,MAAM,iBAAiB,CAAC;AAE5J,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,iIAAiI,CAAC;AAcjL;;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}/teams/{team%2Did}/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;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,oCAAoC,EAAE,iBAAiB,EAAkD,MAAM,wCAAwC,CAAC;AACzN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAmC,MAAM,iBAAiB,CAAC;AA0F5J;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,8HAA8H,CAAC;AACjL;;GAEG;AACH,MAAM,+CAA+C,GAA2B;IAC5E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;QAC5D,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,eAAe,CAAC;KAC5C;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,qBAAqB,EAAE,+CAA+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}/teams/{team%2Did}/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,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACxF;;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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACtI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;;;GAIG;AAEH,wBAAgB,mDAAmD,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,CAE3K;AACD;;;GAGG;AAEH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM7K;AACD;;;GAGG;AAEH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,mBAAmB,EAAE,uBAAuB,GAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAMtK;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,6EAA6E,CAAC;AAC5H;;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}/teams/{team%2Did}/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,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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}/teams/{team%2Did}/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,4EAA4E,CAAC;AAC1H;;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}/teams/{team%2Did}/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,yEAAyE,CAAC;AAC1H;;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}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak";
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const EndBreakRequestB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