@microsoft/msgraph-sdk-users 1.0.0-preview.75 → 1.0.0-preview.77

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 (150) hide show
  1. package/package.json +2 -3
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/users/item/adhocCalls/count/index.d.ts +41 -0
  4. package/users/item/adhocCalls/count/index.d.ts.map +1 -0
  5. package/users/item/adhocCalls/count/index.js +34 -0
  6. package/users/item/adhocCalls/count/index.js.map +1 -0
  7. package/users/item/adhocCalls/index.d.ts +97 -0
  8. package/users/item/adhocCalls/index.d.ts.map +1 -0
  9. package/users/item/adhocCalls/index.js +71 -0
  10. package/users/item/adhocCalls/index.js.map +1 -0
  11. package/users/item/adhocCalls/item/index.d.ts +83 -0
  12. package/users/item/adhocCalls/item/index.d.ts.map +1 -0
  13. package/users/item/adhocCalls/item/index.js +73 -0
  14. package/users/item/adhocCalls/item/index.js.map +1 -0
  15. package/users/item/adhocCalls/item/recordings/count/index.d.ts +41 -0
  16. package/users/item/adhocCalls/item/recordings/count/index.d.ts.map +1 -0
  17. package/users/item/adhocCalls/item/recordings/count/index.js +34 -0
  18. package/users/item/adhocCalls/item/recordings/count/index.js.map +1 -0
  19. package/users/item/adhocCalls/item/recordings/delta/index.d.ts +91 -0
  20. package/users/item/adhocCalls/item/recordings/delta/index.d.ts.map +1 -0
  21. package/users/item/adhocCalls/item/recordings/delta/index.js +74 -0
  22. package/users/item/adhocCalls/item/recordings/delta/index.js.map +1 -0
  23. package/users/item/adhocCalls/item/recordings/index.d.ts +102 -0
  24. package/users/item/adhocCalls/item/recordings/index.d.ts.map +1 -0
  25. package/users/item/adhocCalls/item/recordings/index.js +76 -0
  26. package/users/item/adhocCalls/item/recordings/index.js.map +1 -0
  27. package/users/item/adhocCalls/item/recordings/item/content/index.d.ts +57 -0
  28. package/users/item/adhocCalls/item/recordings/item/content/index.d.ts.map +1 -0
  29. package/users/item/adhocCalls/item/recordings/item/content/index.js +47 -0
  30. package/users/item/adhocCalls/item/recordings/item/content/index.js.map +1 -0
  31. package/users/item/adhocCalls/item/recordings/item/index.d.ts +79 -0
  32. package/users/item/adhocCalls/item/recordings/item/index.d.ts.map +1 -0
  33. package/users/item/adhocCalls/item/recordings/item/index.js +66 -0
  34. package/users/item/adhocCalls/item/recordings/item/index.js.map +1 -0
  35. package/users/item/adhocCalls/item/transcripts/count/index.d.ts +41 -0
  36. package/users/item/adhocCalls/item/transcripts/count/index.d.ts.map +1 -0
  37. package/users/item/adhocCalls/item/transcripts/count/index.js +34 -0
  38. package/users/item/adhocCalls/item/transcripts/count/index.js.map +1 -0
  39. package/users/item/adhocCalls/item/transcripts/delta/index.d.ts +91 -0
  40. package/users/item/adhocCalls/item/transcripts/delta/index.d.ts.map +1 -0
  41. package/users/item/adhocCalls/item/transcripts/delta/index.js +74 -0
  42. package/users/item/adhocCalls/item/transcripts/delta/index.js.map +1 -0
  43. package/users/item/adhocCalls/item/transcripts/index.d.ts +102 -0
  44. package/users/item/adhocCalls/item/transcripts/index.d.ts.map +1 -0
  45. package/users/item/adhocCalls/item/transcripts/index.js +76 -0
  46. package/users/item/adhocCalls/item/transcripts/index.js.map +1 -0
  47. package/users/item/adhocCalls/item/transcripts/item/content/index.d.ts +57 -0
  48. package/users/item/adhocCalls/item/transcripts/item/content/index.d.ts.map +1 -0
  49. package/users/item/adhocCalls/item/transcripts/item/content/index.js +47 -0
  50. package/users/item/adhocCalls/item/transcripts/item/content/index.js.map +1 -0
  51. package/users/item/adhocCalls/item/transcripts/item/index.d.ts +84 -0
  52. package/users/item/adhocCalls/item/transcripts/item/index.d.ts.map +1 -0
  53. package/users/item/adhocCalls/item/transcripts/item/index.js +71 -0
  54. package/users/item/adhocCalls/item/transcripts/item/index.js.map +1 -0
  55. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.d.ts +55 -0
  56. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
  57. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.js +45 -0
  58. package/users/item/adhocCalls/item/transcripts/item/metadataContent/index.js.map +1 -0
  59. package/users/item/cloudPCs/item/index.d.ts +10 -0
  60. package/users/item/cloudPCs/item/index.d.ts.map +1 -1
  61. package/users/item/cloudPCs/item/index.js +10 -0
  62. package/users/item/cloudPCs/item/index.js.map +1 -1
  63. package/users/item/cloudPCs/item/reprovision/index.d.ts +64 -0
  64. package/users/item/cloudPCs/item/reprovision/index.d.ts.map +1 -0
  65. package/users/item/cloudPCs/item/reprovision/index.js +67 -0
  66. package/users/item/cloudPCs/item/reprovision/index.js.map +1 -0
  67. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.d.ts +30 -0
  68. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.d.ts.map +1 -0
  69. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.js +28 -0
  70. package/users/item/cloudPCs/item/retrieveCloudPcLaunchDetail/index.js.map +1 -0
  71. package/users/item/index.d.ts +10 -0
  72. package/users/item/index.d.ts.map +1 -1
  73. package/users/item/index.js +11 -0
  74. package/users/item/index.js.map +1 -1
  75. package/users/item/mailFolders/item/childFolders/item/messages/delta/index.d.ts +3 -3
  76. package/users/item/mailFolders/item/messages/delta/index.d.ts +3 -3
  77. package/users/item/messages/delta/index.d.ts +3 -3
  78. package/users/item/onPremisesSyncBehavior/index.d.ts +69 -0
  79. package/users/item/onPremisesSyncBehavior/index.d.ts.map +1 -0
  80. package/users/item/onPremisesSyncBehavior/index.js +56 -0
  81. package/users/item/onPremisesSyncBehavior/index.js.map +1 -0
  82. package/users/item/onlineMeetings/item/recordings/index.d.ts +3 -3
  83. package/users/item/onlineMeetings/item/recordings/item/index.d.ts +3 -3
  84. package/users/item/onlineMeetings/item/transcripts/index.d.ts +3 -3
  85. package/users/item/onlineMeetings/item/transcripts/item/content/index.d.ts +2 -2
  86. package/users/item/onlineMeetings/item/transcripts/item/index.d.ts +3 -3
  87. package/users/item/onlineMeetings/item/transcripts/item/metadataContent/index.d.ts +2 -2
  88. package/users/item/presence/clearAutomaticLocation/index.d.ts +28 -0
  89. package/users/item/presence/clearAutomaticLocation/index.d.ts.map +1 -0
  90. package/users/item/presence/clearAutomaticLocation/index.js +25 -0
  91. package/users/item/presence/clearAutomaticLocation/index.js.map +1 -0
  92. package/users/item/presence/clearLocation/index.d.ts +28 -0
  93. package/users/item/presence/clearLocation/index.d.ts.map +1 -0
  94. package/users/item/presence/clearLocation/index.js +25 -0
  95. package/users/item/presence/clearLocation/index.js.map +1 -0
  96. package/users/item/presence/index.d.ts +20 -0
  97. package/users/item/presence/index.d.ts.map +1 -1
  98. package/users/item/presence/index.js +20 -0
  99. package/users/item/presence/index.js.map +1 -1
  100. package/users/item/presence/setAutomaticLocation/index.d.ts +64 -0
  101. package/users/item/presence/setAutomaticLocation/index.d.ts.map +1 -0
  102. package/users/item/presence/setAutomaticLocation/index.js +67 -0
  103. package/users/item/presence/setAutomaticLocation/index.js.map +1 -0
  104. package/users/item/presence/setManualLocation/index.d.ts +64 -0
  105. package/users/item/presence/setManualLocation/index.d.ts.map +1 -0
  106. package/users/item/presence/setManualLocation/index.js +67 -0
  107. package/users/item/presence/setManualLocation/index.js.map +1 -0
  108. package/users/item/settings/index.d.ts +5 -0
  109. package/users/item/settings/index.d.ts.map +1 -1
  110. package/users/item/settings/index.js +6 -0
  111. package/users/item/settings/index.js.map +1 -1
  112. package/users/item/settings/windows/index.d.ts +3 -3
  113. package/users/item/settings/windows/item/index.d.ts +3 -3
  114. package/users/item/settings/workHoursAndLocations/index.d.ts +79 -0
  115. package/users/item/settings/workHoursAndLocations/index.d.ts.map +1 -0
  116. package/users/item/settings/workHoursAndLocations/index.js +71 -0
  117. package/users/item/settings/workHoursAndLocations/index.js.map +1 -0
  118. package/users/item/settings/workHoursAndLocations/occurrences/count/index.d.ts +41 -0
  119. package/users/item/settings/workHoursAndLocations/occurrences/count/index.d.ts.map +1 -0
  120. package/users/item/settings/workHoursAndLocations/occurrences/count/index.js +34 -0
  121. package/users/item/settings/workHoursAndLocations/occurrences/count/index.js.map +1 -0
  122. package/users/item/settings/workHoursAndLocations/occurrences/index.d.ts +102 -0
  123. package/users/item/settings/workHoursAndLocations/occurrences/index.d.ts.map +1 -0
  124. package/users/item/settings/workHoursAndLocations/occurrences/index.js +75 -0
  125. package/users/item/settings/workHoursAndLocations/occurrences/index.js.map +1 -0
  126. package/users/item/settings/workHoursAndLocations/occurrences/item/index.d.ts +69 -0
  127. package/users/item/settings/workHoursAndLocations/occurrences/item/index.d.ts.map +1 -0
  128. package/users/item/settings/workHoursAndLocations/occurrences/item/index.js +56 -0
  129. package/users/item/settings/workHoursAndLocations/occurrences/item/index.js.map +1 -0
  130. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts +68 -0
  131. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts.map +1 -0
  132. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.js +69 -0
  133. package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.js.map +1 -0
  134. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.d.ts +92 -0
  135. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -0
  136. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.js +74 -0
  137. package/users/item/settings/workHoursAndLocations/occurrencesViewWithStartDateTimeWithEndDateTime/index.js.map +1 -0
  138. package/users/item/settings/workHoursAndLocations/recurrences/count/index.d.ts +41 -0
  139. package/users/item/settings/workHoursAndLocations/recurrences/count/index.d.ts.map +1 -0
  140. package/users/item/settings/workHoursAndLocations/recurrences/count/index.js +34 -0
  141. package/users/item/settings/workHoursAndLocations/recurrences/count/index.js.map +1 -0
  142. package/users/item/settings/workHoursAndLocations/recurrences/index.d.ts +97 -0
  143. package/users/item/settings/workHoursAndLocations/recurrences/index.d.ts.map +1 -0
  144. package/users/item/settings/workHoursAndLocations/recurrences/index.js +70 -0
  145. package/users/item/settings/workHoursAndLocations/recurrences/index.js.map +1 -0
  146. package/users/item/settings/workHoursAndLocations/recurrences/item/index.d.ts +69 -0
  147. package/users/item/settings/workHoursAndLocations/recurrences/item/index.d.ts.map +1 -0
  148. package/users/item/settings/workHoursAndLocations/recurrences/item/index.js +56 -0
  149. package/users/item/settings/workHoursAndLocations/recurrences/item/index.js.map +1 -0
  150. package/LICENSE +0 -21
@@ -0,0 +1,92 @@
1
+ import { type BaseCollectionPaginationCountResponse, type WorkPlanOccurrence } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { 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 {OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse}
7
+ */
8
+ export declare function createOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse?: Partial<OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
15
+ export interface OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
16
+ /**
17
+ * The value property
18
+ */
19
+ value?: WorkPlanOccurrence[] | null;
20
+ }
21
+ /**
22
+ * Provides operations to call the occurrencesView method.
23
+ */
24
+ export interface OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder extends BaseRequestBuilder<OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder> {
25
+ /**
26
+ * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters.
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns {Promise<OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse>}
29
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
+ * @see {@link https://learn.microsoft.com/graph/api/workhoursandlocationssetting-occurrencesview?view=graph-rest-1.0|Find more info here}
31
+ */
32
+ get(requestConfiguration?: RequestConfiguration<OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters> | undefined): Promise<OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse | undefined>;
33
+ /**
34
+ * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ }
40
+ /**
41
+ * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters.
42
+ */
43
+ export interface OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters {
44
+ /**
45
+ * Include count of items
46
+ */
47
+ count?: boolean;
48
+ /**
49
+ * Expand related entities
50
+ */
51
+ expand?: string[];
52
+ /**
53
+ * Filter items by property values
54
+ */
55
+ filter?: string;
56
+ /**
57
+ * Order items by property values
58
+ */
59
+ orderby?: string[];
60
+ /**
61
+ * Search items by search phrases
62
+ */
63
+ search?: string;
64
+ /**
65
+ * Select properties to be returned
66
+ */
67
+ select?: string[];
68
+ /**
69
+ * Skip the first n items
70
+ */
71
+ skip?: number;
72
+ /**
73
+ * Show only the first n items
74
+ */
75
+ top?: number;
76
+ }
77
+ /**
78
+ * Serializes information the current object
79
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
80
+ * @param OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse The instance to serialize from.
81
+ * @param writer Serialization writer to use to serialize this model
82
+ */
83
+ export declare function serializeOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(writer: SerializationWriter, occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse?: Partial<OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
84
+ /**
85
+ * Uri template for the request builder.
86
+ */
87
+ export declare const OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqL,KAAK,qCAAqC,EAAE,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAIhT,OAAO,EAAE,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;AAElO;;;;GAIG;AAEH,wBAAgB,sFAAsF,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,CAE9M;AACD;;;;GAIG;AAEH,wBAAgB,yEAAyE,CAAC,0DAA0D,GAAE,OAAO,CAAC,0DAA0D,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKtR;AACD,MAAM,WAAW,0DAA2D,SAAQ,qCAAqC,EAAE,QAAQ;IAC/H;;OAEG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC;CACvC;AACD;;GAEG;AACH,MAAM,WAAW,6DAA8D,SAAQ,kBAAkB,CAAC,6DAA6D,CAAC;IACpK;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+EAA+E,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0DAA0D,GAAG,SAAS,CAAC,CAAC;IACjO;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+EAA+E,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3L;AACD;;GAEG;AACH,MAAM,WAAW,+EAA+E;IAC5F;;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;;;;;GAKG;AAEH,wBAAgB,mEAAmE,CAAC,MAAM,EAAE,mBAAmB,EAAE,0DAA0D,GAAE,OAAO,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI1T;AACD;;GAEG;AACH,eAAO,MAAM,wEAAwE,0NAA0N,CAAC;AAchT;;GAEG;AACH,eAAO,MAAM,6EAA6E,EAAE,gBAW3F,CAAC"}
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createWorkPlanOccurrenceFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeWorkPlanOccurrence } 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 {OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse}
12
+ */
13
+ // @ts-ignore
14
+ export function createOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse = {}) {
24
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse)), { "value": n => { occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.value = n.getCollectionOfObjectValues(createWorkPlanOccurrenceFromDiscriminatorValue); } });
25
+ }
26
+ /**
27
+ * Serializes information the current object
28
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
29
+ * @param OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse The instance to serialize from.
30
+ * @param writer Serialization writer to use to serialize this model
31
+ */
32
+ // @ts-ignore
33
+ export function serializeOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(writer, occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse = {}, isSerializingDerivedType = false) {
34
+ if (!occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse || isSerializingDerivedType) {
35
+ return;
36
+ }
37
+ serializeBaseCollectionPaginationCountResponse(writer, occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse, isSerializingDerivedType);
38
+ writer.writeCollectionOfObjectValues("value", occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.value, serializeWorkPlanOccurrence);
39
+ }
40
+ /**
41
+ * Uri template for the request builder.
42
+ */
43
+ export const OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
44
+ /**
45
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
46
+ */
47
+ const OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParametersMapper = {
48
+ "count": "%24count",
49
+ "expand": "%24expand",
50
+ "filter": "%24filter",
51
+ "orderby": "%24orderby",
52
+ "search": "%24search",
53
+ "select": "%24select",
54
+ "skip": "%24skip",
55
+ "top": "%24top",
56
+ };
57
+ /**
58
+ * Metadata for all the requests in the request builder.
59
+ */
60
+ export const OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderRequestsMetadata = {
61
+ get: {
62
+ uriTemplate: OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderUriTemplate,
63
+ responseBodyContentType: "application/json",
64
+ errorMappings: {
65
+ XXX: createODataErrorFromDiscriminatorValue,
66
+ },
67
+ adapterMethodName: "send",
68
+ responseBodyFactory: createOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue,
69
+ queryParametersMapper: OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParametersMapper,
70
+ },
71
+ };
72
+ /* tslint:enable */
73
+ /* eslint-enable */
74
+ //# 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,8CAA8C,EAAE,oDAAoD,EAAE,8CAA8C,EAAE,2BAA2B,EAAuE,MAAM,wCAAwC,CAAC;AAChT,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,sFAAsF,CAAC,SAAgC;IACnI,OAAO,yEAAyE,CAAC;AACrF,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yEAAyE,CAAC,6DAA8I,EAAE;IACtO,uCACO,oDAAoD,CAAC,0DAA0D,CAAC,KACnH,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,0DAA0D,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAqB,8CAA8C,CAAC,CAAC,CAAC,CAAC,IAC1L;AACL,CAAC;AA+DD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,mEAAmE,CAAC,MAA2B,EAAE,6DAAqJ,EAAE,EAAE,2BAAoC,KAAK;IAC/S,IAAI,CAAC,0DAA0D,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACxG,8CAA8C,CAAC,MAAM,EAAE,0DAA0D,EAAE,wBAAwB,CAAC,CAAA;IAC5I,MAAM,CAAC,6BAA6B,CAAqB,OAAO,EAAE,0DAA0D,CAAC,KAAK,EAAE,2BAA2B,CAAC,CAAC;AACrK,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,wEAAwE,GAAG,uNAAuN,CAAC;AAChT;;GAEG;AACH,MAAM,qFAAqF,GAA2B;IAClH,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,6EAA6E,GAAqB;IAC3G,GAAG,EAAE;QACD,WAAW,EAAE,wEAAwE;QACrF,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sFAAsF;QAC5G,qBAAqB,EAAE,qFAAqF;KAC/G;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}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/$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,yGAAyG,CAAC;AAQrJ;;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}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/$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,sGAAsG,CAAC;AACrJ;;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,97 @@
1
+ import { type WorkPlanRecurrence, type WorkPlanRecurrenceCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type CountRequestBuilder } from './count/index.js';
3
+ import { type WorkPlanRecurrenceItemRequestBuilder } from './item/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
7
+ */
8
+ export interface RecurrencesRequestBuilder extends BaseRequestBuilder<RecurrencesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
15
+ * @param workPlanRecurrenceId The unique identifier of workPlanRecurrence
16
+ * @returns {WorkPlanRecurrenceItemRequestBuilder}
17
+ */
18
+ byWorkPlanRecurrenceId(workPlanRecurrenceId: string): WorkPlanRecurrenceItemRequestBuilder;
19
+ /**
20
+ * Collection of recurring work plans defined by the user.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns {Promise<WorkPlanRecurrenceCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<RecurrencesRequestBuilderGetQueryParameters> | undefined): Promise<WorkPlanRecurrenceCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to recurrences for users
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<WorkPlanRecurrence>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
32
+ */
33
+ post(body: WorkPlanRecurrence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkPlanRecurrence | undefined>;
34
+ /**
35
+ * Collection of recurring work plans defined by the user.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RecurrencesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create new navigation property to recurrences for users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPostRequestInformation(body: WorkPlanRecurrence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Collection of recurring work plans defined by the user.
50
+ */
51
+ export interface RecurrencesRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const RecurrencesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
89
+ /**
90
+ * Metadata for all the navigation properties in the request builder.
91
+ */
92
+ export declare const RecurrencesRequestBuilderNavigationMetadata: Record<Exclude<keyof RecurrencesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const RecurrencesRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAI3Q,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,oCAAoC,EAAwD,MAAM,iBAAiB,CAAC;AAElI,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACvK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,oCAAoC,yJAAyJ,CAAC;AAc3M;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue, createWorkPlanRecurrenceFromDiscriminatorValue, serializeWorkPlanRecurrence } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ // @ts-ignore
9
+ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
+ // @ts-ignore
11
+ import { WorkPlanRecurrenceItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export const RecurrencesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
16
+ /**
17
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
+ */
19
+ const RecurrencesRequestBuilderGetQueryParametersMapper = {
20
+ "count": "%24count",
21
+ "expand": "%24expand",
22
+ "filter": "%24filter",
23
+ "orderby": "%24orderby",
24
+ "search": "%24search",
25
+ "select": "%24select",
26
+ "skip": "%24skip",
27
+ "top": "%24top",
28
+ };
29
+ /**
30
+ * Metadata for all the navigation properties in the request builder.
31
+ */
32
+ export const RecurrencesRequestBuilderNavigationMetadata = {
33
+ byWorkPlanRecurrenceId: {
34
+ requestsMetadata: WorkPlanRecurrenceItemRequestBuilderRequestsMetadata,
35
+ pathParametersMappings: ["workPlanRecurrence%2Did"],
36
+ },
37
+ count: {
38
+ requestsMetadata: CountRequestBuilderRequestsMetadata,
39
+ },
40
+ };
41
+ /**
42
+ * Metadata for all the requests in the request builder.
43
+ */
44
+ export const RecurrencesRequestBuilderRequestsMetadata = {
45
+ get: {
46
+ uriTemplate: RecurrencesRequestBuilderUriTemplate,
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ XXX: createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "send",
52
+ responseBodyFactory: createWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue,
53
+ queryParametersMapper: RecurrencesRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ post: {
56
+ uriTemplate: RecurrencesRequestBuilderUriTemplate,
57
+ responseBodyContentType: "application/json",
58
+ errorMappings: {
59
+ XXX: createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "send",
62
+ responseBodyFactory: createWorkPlanRecurrenceFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: serializeWorkPlanRecurrence,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /* tslint:enable */
69
+ /* eslint-enable */
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gEAAgE,EAAE,8CAA8C,EAAE,2BAA2B,EAAsE,MAAM,wCAAwC,CAAC;AAC3Q,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAA6C,oDAAoD,EAAE,MAAM,iBAAiB,CAAC;AAoFlI;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,sJAAsJ,CAAC;AAC3M;;GAEG;AACH,MAAM,iDAAiD,GAA2B;IAC9E,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,2CAA2C,GAA6G;IACjK,sBAAsB,EAAE;QACpB,gBAAgB,EAAE,oDAAoD;QACtE,sBAAsB,EAAE,CAAC,yBAAyB,CAAC;KACtD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gEAAgE;QACtF,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,69 @@
1
+ import { type WorkPlanRecurrence } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity.
5
+ */
6
+ export interface WorkPlanRecurrenceItemRequestBuilder extends BaseRequestBuilder<WorkPlanRecurrenceItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property recurrences for users
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Collection of recurring work plans defined by the user.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {Promise<WorkPlanRecurrence>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<WorkPlanRecurrenceItemRequestBuilderGetQueryParameters> | undefined): Promise<WorkPlanRecurrence | undefined>;
20
+ /**
21
+ * Update the navigation property recurrences in users
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {Promise<WorkPlanRecurrence>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
26
+ */
27
+ put(body: WorkPlanRecurrence, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkPlanRecurrence | undefined>;
28
+ /**
29
+ * Delete navigation property recurrences for users
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * Collection of recurring work plans defined by the user.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {RequestInformation}
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WorkPlanRecurrenceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the navigation property recurrences in users
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns {RequestInformation}
45
+ */
46
+ toPutRequestInformation(body: WorkPlanRecurrence, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Collection of recurring work plans defined by the user.
50
+ */
51
+ export interface WorkPlanRecurrenceItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ export declare const WorkPlanRecurrenceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const WorkPlanRecurrenceItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI9J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;;OAMG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,4HAA4H,CAAC;AAQzL;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC"}
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createWorkPlanRecurrenceFromDiscriminatorValue, serializeWorkPlanRecurrence } 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 WorkPlanRecurrenceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}";
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const WorkPlanRecurrenceItemRequestBuilderGetQueryParametersMapper = {
16
+ "expand": "%24expand",
17
+ "select": "%24select",
18
+ };
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export const WorkPlanRecurrenceItemRequestBuilderRequestsMetadata = {
23
+ delete: {
24
+ uriTemplate: WorkPlanRecurrenceItemRequestBuilderUriTemplate,
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ XXX: createODataErrorFromDiscriminatorValue,
28
+ },
29
+ adapterMethodName: "sendNoResponseContent",
30
+ },
31
+ get: {
32
+ uriTemplate: WorkPlanRecurrenceItemRequestBuilderUriTemplate,
33
+ responseBodyContentType: "application/json",
34
+ errorMappings: {
35
+ XXX: createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "send",
38
+ responseBodyFactory: createWorkPlanRecurrenceFromDiscriminatorValue,
39
+ queryParametersMapper: WorkPlanRecurrenceItemRequestBuilderGetQueryParametersMapper,
40
+ },
41
+ put: {
42
+ uriTemplate: WorkPlanRecurrenceItemRequestBuilderUriTemplate,
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ XXX: createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createWorkPlanRecurrenceFromDiscriminatorValue,
49
+ requestBodyContentType: "application/json",
50
+ requestBodySerializer: serializeWorkPlanRecurrence,
51
+ requestInformationContentSetMethod: "setContentFromParsable",
52
+ },
53
+ };
54
+ /* tslint:enable */
55
+ /* eslint-enable */
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,2BAA2B,EAA2B,MAAM,wCAAwC,CAAC;AAC9J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AA8D7H;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,yHAAyH,CAAC;AACzL;;GAEG;AACH,MAAM,4DAA4D,GAA2B;IACzF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,MAAM,EAAE;QACJ,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,qBAAqB,EAAE,4DAA4D;KACtF;IACD,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Microsoft Graph
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.