@microsoft/msgraph-sdk-groups 1.0.0-preview.39 → 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.
- package/groups/index.d.ts +3 -3
- package/groups/item/calendar/allowedCalendarSharingRolesWithUser/index.js +1 -1
- package/groups/item/calendar/allowedCalendarSharingRolesWithUser/index.js.map +1 -1
- package/groups/item/conversations/index.d.ts +3 -3
- package/groups/item/conversations/item/index.d.ts +4 -4
- package/groups/item/conversations/item/threads/item/reply/index.d.ts +3 -3
- package/groups/item/team/schedule/dayNotes/count/index.d.ts +41 -0
- package/groups/item/team/schedule/dayNotes/count/index.d.ts.map +1 -0
- package/groups/item/team/schedule/dayNotes/count/index.js +34 -0
- package/groups/item/team/schedule/dayNotes/count/index.js.map +1 -0
- package/groups/item/team/schedule/dayNotes/index.d.ts +97 -0
- package/groups/item/team/schedule/dayNotes/index.d.ts.map +1 -0
- package/groups/item/team/schedule/dayNotes/index.js +70 -0
- package/groups/item/team/schedule/dayNotes/index.js.map +1 -0
- package/groups/item/team/schedule/dayNotes/item/index.d.ts +69 -0
- package/groups/item/team/schedule/dayNotes/item/index.d.ts.map +1 -0
- package/groups/item/team/schedule/dayNotes/item/index.js +56 -0
- package/groups/item/team/schedule/dayNotes/item/index.js.map +1 -0
- package/groups/item/team/schedule/index.d.ts +10 -0
- package/groups/item/team/schedule/index.d.ts.map +1 -1
- package/groups/item/team/schedule/index.js +12 -0
- package/groups/item/team/schedule/index.js.map +1 -1
- package/groups/item/team/schedule/timeCards/clockIn/index.d.ts +66 -0
- package/groups/item/team/schedule/timeCards/clockIn/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/clockIn/index.js +64 -0
- package/groups/item/team/schedule/timeCards/clockIn/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/count/index.d.ts +41 -0
- package/groups/item/team/schedule/timeCards/count/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/count/index.js +34 -0
- package/groups/item/team/schedule/timeCards/count/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/index.d.ts +102 -0
- package/groups/item/team/schedule/timeCards/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/index.js +76 -0
- package/groups/item/team/schedule/timeCards/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/item/clockOut/index.d.ts +65 -0
- package/groups/item/team/schedule/timeCards/item/clockOut/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/item/clockOut/index.js +64 -0
- package/groups/item/team/schedule/timeCards/item/clockOut/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/item/confirm/index.d.ts +30 -0
- package/groups/item/team/schedule/timeCards/item/confirm/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/item/confirm/index.js +28 -0
- package/groups/item/team/schedule/timeCards/item/confirm/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/item/endBreak/index.d.ts +65 -0
- package/groups/item/team/schedule/timeCards/item/endBreak/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/item/endBreak/index.js +64 -0
- package/groups/item/team/schedule/timeCards/item/endBreak/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/item/index.d.ts +93 -0
- package/groups/item/team/schedule/timeCards/item/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/item/index.js +81 -0
- package/groups/item/team/schedule/timeCards/item/index.js.map +1 -0
- package/groups/item/team/schedule/timeCards/item/startBreak/index.d.ts +65 -0
- package/groups/item/team/schedule/timeCards/item/startBreak/index.d.ts.map +1 -0
- package/groups/item/team/schedule/timeCards/item/startBreak/index.js +64 -0
- package/groups/item/team/schedule/timeCards/item/startBreak/index.js.map +1 -0
- package/groups/item/threads/item/index.d.ts +4 -4
- package/groups/item/threads/item/reply/index.d.ts +3 -3
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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,E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AAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;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,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.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;;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":"A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B,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,iGAAiG,CAAC;AAQpJ;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAalK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { 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 { ClockOutRequestBuilderRequestsMetadata } from './clockOut/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { ConfirmRequestBuilderRequestsMetadata } from './confirm/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { EndBreakRequestBuilderRequestsMetadata } from './endBreak/index.js';
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
import { StartBreakRequestBuilderRequestsMetadata } from './startBreak/index.js';
|
|
16
|
+
/**
|
|
17
|
+
* Uri template for the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export const TimeCardItemRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}";
|
|
20
|
+
/**
|
|
21
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
22
|
+
*/
|
|
23
|
+
const TimeCardItemRequestBuilderGetQueryParametersMapper = {
|
|
24
|
+
"expand": "%24expand",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export const TimeCardItemRequestBuilderNavigationMetadata = {
|
|
31
|
+
clockOut: {
|
|
32
|
+
requestsMetadata: ClockOutRequestBuilderRequestsMetadata,
|
|
33
|
+
},
|
|
34
|
+
confirm: {
|
|
35
|
+
requestsMetadata: ConfirmRequestBuilderRequestsMetadata,
|
|
36
|
+
},
|
|
37
|
+
endBreak: {
|
|
38
|
+
requestsMetadata: EndBreakRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
startBreak: {
|
|
41
|
+
requestsMetadata: StartBreakRequestBuilderRequestsMetadata,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Metadata for all the requests in the request builder.
|
|
46
|
+
*/
|
|
47
|
+
export const TimeCardItemRequestBuilderRequestsMetadata = {
|
|
48
|
+
delete: {
|
|
49
|
+
uriTemplate: TimeCardItemRequestBuilderUriTemplate,
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendNoResponseContent",
|
|
55
|
+
},
|
|
56
|
+
get: {
|
|
57
|
+
uriTemplate: TimeCardItemRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "send",
|
|
63
|
+
responseBodyFactory: createTimeCardFromDiscriminatorValue,
|
|
64
|
+
queryParametersMapper: TimeCardItemRequestBuilderGetQueryParametersMapper,
|
|
65
|
+
},
|
|
66
|
+
patch: {
|
|
67
|
+
uriTemplate: TimeCardItemRequestBuilderUriTemplate,
|
|
68
|
+
responseBodyContentType: "application/json",
|
|
69
|
+
errorMappings: {
|
|
70
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
71
|
+
},
|
|
72
|
+
adapterMethodName: "send",
|
|
73
|
+
responseBodyFactory: createTimeCardFromDiscriminatorValue,
|
|
74
|
+
requestBodyContentType: "application/json",
|
|
75
|
+
requestBodySerializer: serializeTimeCard,
|
|
76
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
/* tslint:enable */
|
|
80
|
+
/* eslint-enable */
|
|
81
|
+
//# 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,iBAAiB,EAAiB,MAAM,wCAAwC,CAAC;AAChI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,sCAAsC,E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/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
|
+
/**
|
|
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 {StartBreakPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createStartBreakPostRequestBodyFromDiscriminatorValue(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 deserializeIntoStartBreakPostRequestBody(startBreakPostRequestBody?: Partial<StartBreakPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes information the current object
|
|
16
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17
|
+
*/
|
|
18
|
+
export declare function serializeStartBreakPostRequestBody(writer: SerializationWriter, startBreakPostRequestBody?: Partial<StartBreakPostRequestBody> | undefined | null): void;
|
|
19
|
+
export interface StartBreakPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
20
|
+
/**
|
|
21
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
22
|
+
*/
|
|
23
|
+
additionalData?: Record<string, unknown>;
|
|
24
|
+
/**
|
|
25
|
+
* Stores model information.
|
|
26
|
+
*/
|
|
27
|
+
backingStoreEnabled?: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* The isAtApprovedLocation property
|
|
30
|
+
*/
|
|
31
|
+
isAtApprovedLocation?: boolean | null;
|
|
32
|
+
/**
|
|
33
|
+
* The notes property
|
|
34
|
+
*/
|
|
35
|
+
notes?: ItemBody | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Provides operations to call the startBreak method.
|
|
39
|
+
*/
|
|
40
|
+
export interface StartBreakRequestBuilder extends BaseRequestBuilder<StartBreakRequestBuilder> {
|
|
41
|
+
/**
|
|
42
|
+
* Invoke action startBreak
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {Promise<TimeCard>}
|
|
46
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
47
|
+
*/
|
|
48
|
+
post(body: StartBreakPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TimeCard | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Invoke action startBreak
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @returns {RequestInformation}
|
|
54
|
+
*/
|
|
55
|
+
toPostRequestInformation(body: StartBreakPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Uri template for the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const StartBreakRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak";
|
|
61
|
+
/**
|
|
62
|
+
* Metadata for all the requests in the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const StartBreakRequestBuilderRequestsMetadata: 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,KA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;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,sFAAsF,CAAC;AACvI;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAatD,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 {StartBreakPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createStartBreakPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoStartBreakPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
|
+
*/
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
export function deserializeIntoStartBreakPostRequestBody(startBreakPostRequestBody = {}) {
|
|
23
|
+
return {
|
|
24
|
+
"backingStoreEnabled": n => { startBreakPostRequestBody.backingStoreEnabled = true; },
|
|
25
|
+
"isAtApprovedLocation": n => { startBreakPostRequestBody.isAtApprovedLocation = n.getBooleanValue(); },
|
|
26
|
+
"notes": n => { startBreakPostRequestBody.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 serializeStartBreakPostRequestBody(writer, startBreakPostRequestBody = {}) {
|
|
35
|
+
if (startBreakPostRequestBody) {
|
|
36
|
+
writer.writeBooleanValue("isAtApprovedLocation", startBreakPostRequestBody.isAtApprovedLocation);
|
|
37
|
+
writer.writeObjectValue("notes", startBreakPostRequestBody.notes, serializeItemBody);
|
|
38
|
+
writer.writeAdditionalData(startBreakPostRequestBody.additionalData);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Uri template for the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const StartBreakRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak";
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const StartBreakRequestBuilderRequestsMetadata = {
|
|
49
|
+
post: {
|
|
50
|
+
uriTemplate: StartBreakRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "send",
|
|
56
|
+
responseBodyFactory: createTimeCardFromDiscriminatorValue,
|
|
57
|
+
requestBodyContentType: "application/json",
|
|
58
|
+
requestBodySerializer: serializeStartBreakPostRequestBody,
|
|
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,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACrF,sBAAsB,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,oBAAoB,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;QACtG,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,CAAW,oCAAoC,CAAC,CAAC,CAAC,CAAC;KACxH,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,kCAAkC,CAAC,MAA2B,EAAE,4BAAmF,EAAE;IACjK,IAAI,yBAAyB,EAAE,CAAC;QAC5B,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,oBAAoB,CAAC,CAAC;QACjG,MAAM,CAAC,gBAAgB,CAAW,OAAO,EAAE,yBAAyB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;QAC/F,MAAM,CAAC,mBAAmB,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;IACzE,CAAC;AACL,CAAC;AAuCD;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,mFAAmF,CAAC;AACvI;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAqB;IACtE,IAAI,EAAE;QACF,WAAW,EAAE,mCAAmC;QAChD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -22,11 +22,11 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
|
|
|
22
22
|
*/
|
|
23
23
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
24
24
|
/**
|
|
25
|
-
* Get a thread
|
|
25
|
+
* Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<ConversationThread>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<ConversationThreadItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationThread | undefined>;
|
|
32
32
|
/**
|
|
@@ -45,7 +45,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
|
|
|
45
45
|
*/
|
|
46
46
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Get a thread
|
|
48
|
+
* Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
|
|
49
49
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
50
|
* @returns {RequestInformation}
|
|
51
51
|
*/
|
|
@@ -59,7 +59,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
|
|
|
59
59
|
toPatchRequestInformation(body: ConversationThread, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Get a thread
|
|
62
|
+
* Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
|
|
63
63
|
*/
|
|
64
64
|
export interface ConversationThreadItemRequestBuilderGetQueryParameters {
|
|
65
65
|
/**
|
|
@@ -30,15 +30,15 @@ export interface ReplyPostRequestBody extends AdditionalDataHolder, BackedModel,
|
|
|
30
30
|
*/
|
|
31
31
|
export interface ReplyRequestBuilder extends BaseRequestBuilder<ReplyRequestBuilder> {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
37
|
-
* @see {@link https://learn.microsoft.com/graph/api/post-
|
|
37
|
+
* @see {@link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0|Find more info here}
|
|
38
38
|
*/
|
|
39
39
|
post(body: ReplyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
|
42
42
|
* @param body The request body
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-groups",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.40",
|
|
4
4
|
"description": "Groups fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"typescript": "^5.3.3"
|
|
44
44
|
},
|
|
45
45
|
"type": "module",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "02026b62803a74887de653c1e04ea890be34692f"
|
|
47
47
|
}
|