@microsoft/msgraph-sdk-reports 1.0.0-preview.12 → 1.0.0-preview.13

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 (90) hide show
  1. package/package.json +3 -3
  2. package/reports/authenticationMethods/index.d.ts +1 -1
  3. package/reports/authenticationMethods/index.js +1 -1
  4. package/reports/authenticationMethods/userRegistrationDetails/count/index.d.ts +1 -1
  5. package/reports/authenticationMethods/userRegistrationDetails/count/index.js +1 -1
  6. package/reports/authenticationMethods/userRegistrationDetails/index.d.ts +1 -1
  7. package/reports/authenticationMethods/userRegistrationDetails/index.js +1 -1
  8. package/reports/authenticationMethods/userRegistrationDetails/item/index.d.ts +1 -1
  9. package/reports/authenticationMethods/userRegistrationDetails/item/index.js +1 -1
  10. package/reports/dailyPrintUsageByPrinter/count/index.d.ts +1 -1
  11. package/reports/dailyPrintUsageByPrinter/count/index.js +1 -1
  12. package/reports/dailyPrintUsageByPrinter/index.d.ts +1 -1
  13. package/reports/dailyPrintUsageByPrinter/index.js +1 -1
  14. package/reports/dailyPrintUsageByPrinter/item/index.d.ts +1 -1
  15. package/reports/dailyPrintUsageByPrinter/item/index.js +1 -1
  16. package/reports/dailyPrintUsageByUser/count/index.d.ts +1 -1
  17. package/reports/dailyPrintUsageByUser/count/index.js +1 -1
  18. package/reports/dailyPrintUsageByUser/index.d.ts +1 -1
  19. package/reports/dailyPrintUsageByUser/index.js +1 -1
  20. package/reports/dailyPrintUsageByUser/item/index.d.ts +1 -1
  21. package/reports/dailyPrintUsageByUser/item/index.js +1 -1
  22. package/reports/getGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/index.d.ts +1 -1
  23. package/reports/getGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/index.js +1 -1
  24. package/reports/getPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/index.d.ts +1 -1
  25. package/reports/getPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/index.js +1 -1
  26. package/reports/getUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/index.d.ts +1 -1
  27. package/reports/getUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/index.js +1 -1
  28. package/reports/index.d.ts +6 -1
  29. package/reports/index.d.ts.map +1 -1
  30. package/reports/index.js +7 -1
  31. package/reports/monthlyPrintUsageByPrinter/count/index.d.ts +1 -1
  32. package/reports/monthlyPrintUsageByPrinter/count/index.js +1 -1
  33. package/reports/monthlyPrintUsageByPrinter/index.d.ts +1 -1
  34. package/reports/monthlyPrintUsageByPrinter/index.js +1 -1
  35. package/reports/monthlyPrintUsageByPrinter/item/index.d.ts +1 -1
  36. package/reports/monthlyPrintUsageByPrinter/item/index.js +1 -1
  37. package/reports/monthlyPrintUsageByUser/count/index.d.ts +1 -1
  38. package/reports/monthlyPrintUsageByUser/count/index.js +1 -1
  39. package/reports/monthlyPrintUsageByUser/index.d.ts +1 -1
  40. package/reports/monthlyPrintUsageByUser/index.js +1 -1
  41. package/reports/monthlyPrintUsageByUser/item/index.d.ts +1 -1
  42. package/reports/monthlyPrintUsageByUser/item/index.js +1 -1
  43. package/reports/partners/billing/index.d.ts +85 -0
  44. package/reports/partners/billing/index.d.ts.map +1 -0
  45. package/reports/partners/billing/index.js +79 -0
  46. package/reports/partners/billing/manifests/count/index.d.ts +40 -0
  47. package/reports/partners/billing/manifests/count/index.d.ts.map +1 -0
  48. package/reports/partners/billing/manifests/count/index.js +35 -0
  49. package/reports/partners/billing/manifests/index.d.ts +95 -0
  50. package/reports/partners/billing/manifests/index.d.ts.map +1 -0
  51. package/reports/partners/billing/manifests/index.js +70 -0
  52. package/reports/partners/billing/manifests/item/index.d.ts +67 -0
  53. package/reports/partners/billing/manifests/item/index.d.ts.map +1 -0
  54. package/reports/partners/billing/manifests/item/index.js +56 -0
  55. package/reports/partners/billing/operations/count/index.d.ts +40 -0
  56. package/reports/partners/billing/operations/count/index.d.ts.map +1 -0
  57. package/reports/partners/billing/operations/count/index.js +35 -0
  58. package/reports/partners/billing/operations/index.d.ts +95 -0
  59. package/reports/partners/billing/operations/index.d.ts.map +1 -0
  60. package/reports/partners/billing/operations/index.js +70 -0
  61. package/reports/partners/billing/operations/item/index.d.ts +67 -0
  62. package/reports/partners/billing/operations/item/index.d.ts.map +1 -0
  63. package/reports/partners/billing/operations/item/index.js +56 -0
  64. package/reports/partners/billing/usage/billed/index.d.ts +75 -0
  65. package/reports/partners/billing/usage/billed/index.d.ts.map +1 -0
  66. package/reports/partners/billing/usage/billed/index.js +66 -0
  67. package/reports/partners/billing/usage/billed/microsoftGraphPartnersBillingExport/index.d.ts +65 -0
  68. package/reports/partners/billing/usage/billed/microsoftGraphPartnersBillingExport/index.d.ts.map +1 -0
  69. package/reports/partners/billing/usage/billed/microsoftGraphPartnersBillingExport/index.js +62 -0
  70. package/reports/partners/billing/usage/index.d.ts +80 -0
  71. package/reports/partners/billing/usage/index.d.ts.map +1 -0
  72. package/reports/partners/billing/usage/index.js +73 -0
  73. package/reports/partners/billing/usage/unbilled/index.d.ts +75 -0
  74. package/reports/partners/billing/usage/unbilled/index.d.ts.map +1 -0
  75. package/reports/partners/billing/usage/unbilled/index.js +66 -0
  76. package/reports/partners/billing/usage/unbilled/microsoftGraphPartnersBillingExport/index.d.ts +69 -0
  77. package/reports/partners/billing/usage/unbilled/microsoftGraphPartnersBillingExport/index.d.ts.map +1 -0
  78. package/reports/partners/billing/usage/unbilled/microsoftGraphPartnersBillingExport/index.js +64 -0
  79. package/reports/partners/index.d.ts +75 -0
  80. package/reports/partners/index.d.ts.map +1 -0
  81. package/reports/partners/index.js +67 -0
  82. package/reports/security/getAttackSimulationRepeatOffenders/index.d.ts +1 -1
  83. package/reports/security/getAttackSimulationRepeatOffenders/index.js +1 -1
  84. package/reports/security/getAttackSimulationSimulationUserCoverage/index.d.ts +1 -1
  85. package/reports/security/getAttackSimulationSimulationUserCoverage/index.js +1 -1
  86. package/reports/security/getAttackSimulationTrainingUserCoverage/index.d.ts +1 -1
  87. package/reports/security/getAttackSimulationTrainingUserCoverage/index.js +1 -1
  88. package/reports/security/index.d.ts +1 -1
  89. package/reports/security/index.js +1 -1
  90. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,75 @@
1
+ import { type UnbilledUsage } from '@microsoft/msgraph-sdk/models/partners/billing/';
2
+ import { type MicrosoftGraphPartnersBillingExportRequestBuilder } from './microsoftGraphPartnersBillingExport/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the unbilled property of the microsoft.graph.partners.billing.azureUsage entity.
6
+ */
7
+ export interface UnbilledRequestBuilder extends BaseRequestBuilder<UnbilledRequestBuilder> {
8
+ /**
9
+ * Provides operations to call the export method.
10
+ */
11
+ get microsoftGraphPartnersBillingExport(): MicrosoftGraphPartnersBillingExportRequestBuilder;
12
+ /**
13
+ * Delete navigation property unbilled for reports
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * Represents details for unbilled Azure usage data.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of UnbilledUsage
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<UnbilledRequestBuilderGetQueryParameters> | undefined): Promise<UnbilledUsage | undefined>;
23
+ /**
24
+ * Update the navigation property unbilled in reports
25
+ * @param body The request body
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of UnbilledUsage
28
+ */
29
+ patch(body: UnbilledUsage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnbilledUsage | undefined>;
30
+ /**
31
+ * Delete navigation property unbilled for reports
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ /**
37
+ * Represents details for unbilled Azure usage data.
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a RequestInformation
40
+ */
41
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnbilledRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
+ /**
43
+ * Update the navigation property unbilled in reports
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns a RequestInformation
47
+ */
48
+ toPatchRequestInformation(body: UnbilledUsage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * Represents details for unbilled Azure usage data.
52
+ */
53
+ export interface UnbilledRequestBuilderGetQueryParameters {
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Select properties to be returned
60
+ */
61
+ select?: string[];
62
+ }
63
+ /**
64
+ * Metadata for all the navigation properties in the request builder.
65
+ */
66
+ export declare const UnbilledRequestBuilderNavigationMetadata: Record<Exclude<keyof UnbilledRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const UnbilledRequestBuilderRequestsMetadata: RequestsMetadata;
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const UnbilledRequestBuilderUriTemplate = "{+baseurl}/reports/partners/billing/usage/unbilled{?%24expand,%24select}";
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,iDAAiD,CAAC;AACxJ,OAAO,EAAmI,KAAK,iDAAiD,EAAE,MAAM,wCAAwC,C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AAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,6EAA6E,CAAC"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnbilledRequestBuilderUriTemplate = exports.UnbilledRequestBuilderRequestsMetadata = exports.UnbilledRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ const billing_1 = require("@microsoft/msgraph-sdk/models/partners/billing/");
9
+ const microsoftGraphPartnersBillingExport_1 = require("./microsoftGraphPartnersBillingExport/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const UnbilledRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.UnbilledRequestBuilderNavigationMetadata = {
21
+ microsoftGraphPartnersBillingExport: {
22
+ uriTemplate: microsoftGraphPartnersBillingExport_1.MicrosoftGraphPartnersBillingExportRequestBuilderUriTemplate,
23
+ requestsMetadata: microsoftGraphPartnersBillingExport_1.MicrosoftGraphPartnersBillingExportRequestBuilderRequestsMetadata,
24
+ },
25
+ };
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ exports.UnbilledRequestBuilderRequestsMetadata = {
30
+ delete: {
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "sendNoResponseContentAsync",
37
+ },
38
+ get: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: billing_1.createUnbilledUsageFromDiscriminatorValue,
46
+ queryParametersMapper: UnbilledRequestBuilderGetQueryParametersMapper,
47
+ },
48
+ patch: {
49
+ responseBodyContentType: "application/json",
50
+ errorMappings: {
51
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "sendAsync",
55
+ responseBodyFactory: billing_1.createUnbilledUsageFromDiscriminatorValue,
56
+ requestBodyContentType: "application/json",
57
+ requestBodySerializer: billing_1.serializeUnbilledUsage,
58
+ requestInformationContentSetMethod: "setContentFromParsable",
59
+ },
60
+ };
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ exports.UnbilledRequestBuilderUriTemplate = "{+baseurl}/reports/partners/billing/usage/unbilled{?%24expand,%24select}";
65
+ /* tslint:enable */
66
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { AttributeSet, BillingPeriod, type Operation } from '@microsoft/msgraph-sdk/models/partners/billing/';
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 a exportPostRequestBody
7
+ */
8
+ export declare function createExportPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoExportPostRequestBody(exportPostRequestBody?: Partial<ExportPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface ExportPostRequestBody 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
+ * The attributeSet property
21
+ */
22
+ attributeSet?: AttributeSet;
23
+ /**
24
+ * Stores model information.
25
+ */
26
+ backingStoreEnabled?: boolean;
27
+ /**
28
+ * The billingPeriod property
29
+ */
30
+ billingPeriod?: BillingPeriod;
31
+ /**
32
+ * The currencyCode property
33
+ */
34
+ currencyCode?: string;
35
+ }
36
+ /**
37
+ * Provides operations to call the export method.
38
+ */
39
+ export interface MicrosoftGraphPartnersBillingExportRequestBuilder extends BaseRequestBuilder<MicrosoftGraphPartnersBillingExportRequestBuilder> {
40
+ /**
41
+ * Export the unbilled Azure usage data for a specific billing period and a given currency.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a Promise of Operation
45
+ * @see {@link https://learn.microsoft.com/graph/api/partners-billing-unbilledusage-export?view=graph-rest-1.0|Find more info here}
46
+ */
47
+ post(body: ExportPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Operation | undefined>;
48
+ /**
49
+ * Export the unbilled Azure usage data for a specific billing period and a given currency.
50
+ * @param body The request body
51
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
+ * @returns a RequestInformation
53
+ */
54
+ toPostRequestInformation(body: ExportPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
55
+ }
56
+ /**
57
+ * Serializes information the current object
58
+ * @param writer Serialization writer to use to serialize this model
59
+ */
60
+ export declare function serializeExportPostRequestBody(writer: SerializationWriter, exportPostRequestBody?: Partial<ExportPostRequestBody> | undefined): void;
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const MicrosoftGraphPartnersBillingExportRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const MicrosoftGraphPartnersBillingExportRequestBuilderUriTemplate = "{+baseurl}/reports/partners/billing/usage/unbilled/microsoft.graph.partners.billing.export";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAsB,aAAa,EAAkF,KAAK,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAClN,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,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,CAEzK;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAOvK;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,iDAAkD,SAAQ,kBAAkB,CAAC,iDAAiD,CAAC;IAC5I;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACrI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,IAAI,CAKzJ;AACD;;GAEG;AACH,eAAO,MAAM,iEAAiE,EAAE,gBAa/E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4DAA4D,+FAA+F,CAAC"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MicrosoftGraphPartnersBillingExportRequestBuilderUriTemplate = exports.MicrosoftGraphPartnersBillingExportRequestBuilderRequestsMetadata = exports.serializeExportPostRequestBody = exports.deserializeIntoExportPostRequestBody = exports.createExportPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ const billing_1 = require("@microsoft/msgraph-sdk/models/partners/billing/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a exportPostRequestBody
13
+ */
14
+ function createExportPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoExportPostRequestBody;
16
+ }
17
+ exports.createExportPostRequestBodyFromDiscriminatorValue = createExportPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoExportPostRequestBody(exportPostRequestBody = {}) {
23
+ return {
24
+ "attributeSet": n => { exportPostRequestBody.attributeSet = n.getEnumValue(billing_1.AttributeSetObject); },
25
+ "backingStoreEnabled": n => { exportPostRequestBody.backingStoreEnabled = true; },
26
+ "billingPeriod": n => { exportPostRequestBody.billingPeriod = n.getEnumValue(billing_1.BillingPeriodObject); },
27
+ "currencyCode": n => { exportPostRequestBody.currencyCode = n.getStringValue(); },
28
+ };
29
+ }
30
+ exports.deserializeIntoExportPostRequestBody = deserializeIntoExportPostRequestBody;
31
+ /**
32
+ * Serializes information the current object
33
+ * @param writer Serialization writer to use to serialize this model
34
+ */
35
+ function serializeExportPostRequestBody(writer, exportPostRequestBody = {}) {
36
+ writer.writeEnumValue("attributeSet", exportPostRequestBody.attributeSet);
37
+ writer.writeEnumValue("billingPeriod", exportPostRequestBody.billingPeriod);
38
+ writer.writeStringValue("currencyCode", exportPostRequestBody.currencyCode);
39
+ writer.writeAdditionalData(exportPostRequestBody.additionalData);
40
+ }
41
+ exports.serializeExportPostRequestBody = serializeExportPostRequestBody;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ exports.MicrosoftGraphPartnersBillingExportRequestBuilderRequestsMetadata = {
46
+ post: {
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "sendAsync",
53
+ responseBodyFactory: billing_1.createOperationFromDiscriminatorValue,
54
+ requestBodyContentType: "application/json",
55
+ requestBodySerializer: serializeExportPostRequestBody,
56
+ requestInformationContentSetMethod: "setContentFromParsable",
57
+ },
58
+ };
59
+ /**
60
+ * Uri template for the request builder.
61
+ */
62
+ exports.MicrosoftGraphPartnersBillingExportRequestBuilderUriTemplate = "{+baseurl}/reports/partners/billing/usage/unbilled/microsoft.graph.partners.billing.export";
63
+ /* tslint:enable */
64
+ /* eslint-enable */
@@ -0,0 +1,75 @@
1
+ import { type Partners } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BillingRequestBuilder } from './billing/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the partners property of the microsoft.graph.reportRoot entity.
6
+ */
7
+ export interface PartnersRequestBuilder extends BaseRequestBuilder<PartnersRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the billing property of the microsoft.graph.partners entity.
10
+ */
11
+ get billing(): BillingRequestBuilder;
12
+ /**
13
+ * Delete navigation property partners for reports
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * Represents billing details for a Microsoft direct partner.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of Partners
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<PartnersRequestBuilderGetQueryParameters> | undefined): Promise<Partners | undefined>;
23
+ /**
24
+ * Update the navigation property partners in reports
25
+ * @param body The request body
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of Partners
28
+ */
29
+ patch(body: Partners, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Partners | undefined>;
30
+ /**
31
+ * Delete navigation property partners for reports
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ /**
37
+ * Represents billing details for a Microsoft direct partner.
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a RequestInformation
40
+ */
41
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PartnersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
+ /**
43
+ * Update the navigation property partners in reports
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns a RequestInformation
47
+ */
48
+ toPatchRequestInformation(body: Partners, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * Represents billing details for a Microsoft direct partner.
52
+ */
53
+ export interface PartnersRequestBuilderGetQueryParameters {
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Select properties to be returned
60
+ */
61
+ select?: string[];
62
+ }
63
+ /**
64
+ * Metadata for all the navigation properties in the request builder.
65
+ */
66
+ export declare const PartnersRequestBuilderNavigationMetadata: Record<Exclude<keyof PartnersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const PartnersRequestBuilderRequestsMetadata: RequestsMetadata;
71
+ /**
72
+ * Uri template for the request builder.
73
+ */
74
+ export declare const PartnersRequestBuilderUriTemplate = "{+baseurl}/reports/partners{?%24expand,%24select}";
75
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAExH,OAAO,EAAoH,KAAK,qBAAqB,EAAE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H,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,sDAAsD,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartnersRequestBuilderUriTemplate = exports.PartnersRequestBuilderRequestsMetadata = exports.PartnersRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const billing_1 = require("./billing/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const PartnersRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.PartnersRequestBuilderNavigationMetadata = {
21
+ billing: {
22
+ uriTemplate: billing_1.BillingRequestBuilderUriTemplate,
23
+ requestsMetadata: billing_1.BillingRequestBuilderRequestsMetadata,
24
+ navigationMetadata: billing_1.BillingRequestBuilderNavigationMetadata,
25
+ },
26
+ };
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ exports.PartnersRequestBuilderRequestsMetadata = {
31
+ delete: {
32
+ responseBodyContentType: "application/json",
33
+ errorMappings: {
34
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ },
37
+ adapterMethodName: "sendNoResponseContentAsync",
38
+ },
39
+ get: {
40
+ responseBodyContentType: "application/json",
41
+ errorMappings: {
42
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "sendAsync",
46
+ responseBodyFactory: models_1.createPartnersFromDiscriminatorValue,
47
+ queryParametersMapper: PartnersRequestBuilderGetQueryParametersMapper,
48
+ },
49
+ patch: {
50
+ responseBodyContentType: "application/json",
51
+ errorMappings: {
52
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendAsync",
56
+ responseBodyFactory: models_1.createPartnersFromDiscriminatorValue,
57
+ requestBodyContentType: "application/json",
58
+ requestBodySerializer: models_1.serializePartners,
59
+ requestInformationContentSetMethod: "setContentFromParsable",
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.PartnersRequestBuilderUriTemplate = "{+baseurl}/reports/partners{?%24expand,%24select}";
66
+ /* tslint:enable */
67
+ /* eslint-enable */
@@ -71,5 +71,5 @@ export declare const GetAttackSimulationRepeatOffendersRequestBuilderRequestsMet
71
71
  /**
72
72
  * Uri template for the request builder.
73
73
  */
74
- export declare const GetAttackSimulationRepeatOffendersRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationRepeatOffenders(){?%24top,%24skip,%24search,%24filter,%24count}";
74
+ export declare const GetAttackSimulationRepeatOffendersRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationRepeatOffenders(){?%24count,%24filter,%24search,%24skip,%24top}";
75
75
  //# sourceMappingURL=index.d.ts.map
@@ -60,6 +60,6 @@ exports.GetAttackSimulationRepeatOffendersRequestBuilderRequestsMetadata = {
60
60
  /**
61
61
  * Uri template for the request builder.
62
62
  */
63
- exports.GetAttackSimulationRepeatOffendersRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationRepeatOffenders(){?%24top,%24skip,%24search,%24filter,%24count}";
63
+ exports.GetAttackSimulationRepeatOffendersRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationRepeatOffenders(){?%24count,%24filter,%24search,%24skip,%24top}";
64
64
  /* tslint:enable */
65
65
  /* eslint-enable */
@@ -71,5 +71,5 @@ export declare const GetAttackSimulationSimulationUserCoverageRequestBuilderRequ
71
71
  /**
72
72
  * Uri template for the request builder.
73
73
  */
74
- export declare const GetAttackSimulationSimulationUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationSimulationUserCoverage(){?%24top,%24skip,%24search,%24filter,%24count}";
74
+ export declare const GetAttackSimulationSimulationUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationSimulationUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}";
75
75
  //# sourceMappingURL=index.d.ts.map
@@ -60,6 +60,6 @@ exports.GetAttackSimulationSimulationUserCoverageRequestBuilderRequestsMetadata
60
60
  /**
61
61
  * Uri template for the request builder.
62
62
  */
63
- exports.GetAttackSimulationSimulationUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationSimulationUserCoverage(){?%24top,%24skip,%24search,%24filter,%24count}";
63
+ exports.GetAttackSimulationSimulationUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationSimulationUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}";
64
64
  /* tslint:enable */
65
65
  /* eslint-enable */
@@ -71,5 +71,5 @@ export declare const GetAttackSimulationTrainingUserCoverageRequestBuilderReques
71
71
  /**
72
72
  * Uri template for the request builder.
73
73
  */
74
- export declare const GetAttackSimulationTrainingUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationTrainingUserCoverage(){?%24top,%24skip,%24search,%24filter,%24count}";
74
+ export declare const GetAttackSimulationTrainingUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationTrainingUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}";
75
75
  //# sourceMappingURL=index.d.ts.map
@@ -60,6 +60,6 @@ exports.GetAttackSimulationTrainingUserCoverageRequestBuilderRequestsMetadata =
60
60
  /**
61
61
  * Uri template for the request builder.
62
62
  */
63
- exports.GetAttackSimulationTrainingUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationTrainingUserCoverage(){?%24top,%24skip,%24search,%24filter,%24count}";
63
+ exports.GetAttackSimulationTrainingUserCoverageRequestBuilderUriTemplate = "{+baseurl}/reports/security/getAttackSimulationTrainingUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}";
64
64
  /* tslint:enable */
65
65
  /* eslint-enable */
@@ -81,5 +81,5 @@ export declare const SecurityRequestBuilderRequestsMetadata: RequestsMetadata;
81
81
  /**
82
82
  * Uri template for the request builder.
83
83
  */
84
- export declare const SecurityRequestBuilderUriTemplate = "{+baseurl}/reports/security{?%24select,%24expand}";
84
+ export declare const SecurityRequestBuilderUriTemplate = "{+baseurl}/reports/security{?%24expand,%24select}";
85
85
  //# sourceMappingURL=index.d.ts.map
@@ -71,6 +71,6 @@ exports.SecurityRequestBuilderRequestsMetadata = {
71
71
  /**
72
72
  * Uri template for the request builder.
73
73
  */
74
- exports.SecurityRequestBuilderUriTemplate = "{+baseurl}/reports/security{?%24select,%24expand}";
74
+ exports.SecurityRequestBuilderUriTemplate = "{+baseurl}/reports/security{?%24expand,%24select}";
75
75
  /* tslint:enable */
76
76
  /* eslint-enable */