@microsoft/msgraph-beta-sdk-governancesubjects
Advanced tools
Comparing version 1.0.0-preview.20 to 1.0.0-preview.21
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,7 +5,7 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.CountRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects/$count{?%24filter,%24search}"; | ||
export const CountRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects/$count{?%24filter,%24search}"; | ||
/** | ||
@@ -24,8 +21,8 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.CountRequestBuilderRequestsMetadata = { | ||
export const CountRequestBuilderRequestsMetadata = { | ||
get: { | ||
uriTemplate: exports.CountRequestBuilderUriTemplate, | ||
uriTemplate: CountRequestBuilderUriTemplate, | ||
responseBodyContentType: "text/plain;q=0.9", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -39,1 +36,2 @@ adapterMethodName: "sendPrimitive", | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,4 +0,4 @@ | ||
import { type GovernanceSubject, type GovernanceSubjectCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/'; | ||
import { type CountRequestBuilder } from './count/'; | ||
import { type GovernanceSubjectItemRequestBuilder } from './item/'; | ||
import { type GovernanceSubject, type GovernanceSubjectCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
import { type CountRequestBuilder } from './count/index.js'; | ||
import { type GovernanceSubjectItemRequestBuilder } from './item/index.js'; | ||
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GovernanceSubjectsRequestBuilderRequestsMetadata = exports.GovernanceSubjectsRequestBuilderNavigationMetadata = exports.GovernanceSubjectsRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,13 +5,13 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const models_1 = require("@microsoft/msgraph-beta-sdk/models/"); | ||
import { createGovernanceSubjectCollectionResponseFromDiscriminatorValue, createGovernanceSubjectFromDiscriminatorValue, serializeGovernanceSubject } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
// @ts-ignore | ||
const count_1 = require("./count/"); | ||
import { CountRequestBuilderRequestsMetadata } from './count/index.js'; | ||
// @ts-ignore | ||
const item_1 = require("./item/"); | ||
import { GovernanceSubjectItemRequestBuilderRequestsMetadata } from './item/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.GovernanceSubjectsRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; | ||
export const GovernanceSubjectsRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; | ||
/** | ||
@@ -36,9 +33,9 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.GovernanceSubjectsRequestBuilderNavigationMetadata = { | ||
export const GovernanceSubjectsRequestBuilderNavigationMetadata = { | ||
byGovernanceSubjectId: { | ||
requestsMetadata: item_1.GovernanceSubjectItemRequestBuilderRequestsMetadata, | ||
requestsMetadata: GovernanceSubjectItemRequestBuilderRequestsMetadata, | ||
pathParametersMappings: ["governanceSubject%2Did"], | ||
}, | ||
count: { | ||
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata, | ||
requestsMetadata: CountRequestBuilderRequestsMetadata, | ||
}, | ||
@@ -49,23 +46,23 @@ }; | ||
*/ | ||
exports.GovernanceSubjectsRequestBuilderRequestsMetadata = { | ||
export const GovernanceSubjectsRequestBuilderRequestsMetadata = { | ||
get: { | ||
uriTemplate: exports.GovernanceSubjectsRequestBuilderUriTemplate, | ||
uriTemplate: GovernanceSubjectsRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createGovernanceSubjectCollectionResponseFromDiscriminatorValue, | ||
responseBodyFactory: createGovernanceSubjectCollectionResponseFromDiscriminatorValue, | ||
queryParametersMapper: GovernanceSubjectsRequestBuilderGetQueryParametersMapper, | ||
}, | ||
post: { | ||
uriTemplate: exports.GovernanceSubjectsRequestBuilderUriTemplate, | ||
uriTemplate: GovernanceSubjectsRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createGovernanceSubjectFromDiscriminatorValue, | ||
responseBodyFactory: createGovernanceSubjectFromDiscriminatorValue, | ||
requestBodyContentType: "application/json", | ||
requestBodySerializer: models_1.serializeGovernanceSubject, | ||
requestBodySerializer: serializeGovernanceSubject, | ||
requestInformationContentSetMethod: "setContentFromParsable", | ||
@@ -76,1 +73,2 @@ }, | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { type GovernanceSubject } from '@microsoft/msgraph-beta-sdk/models/'; | ||
import { type GovernanceSubject } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GovernanceSubjectItemRequestBuilderRequestsMetadata = exports.GovernanceSubjectItemRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,9 +5,9 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const models_1 = require("@microsoft/msgraph-beta-sdk/models/"); | ||
import { createGovernanceSubjectFromDiscriminatorValue, serializeGovernanceSubject } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.GovernanceSubjectItemRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects/{governanceSubject%2Did}{?%24expand,%24select}"; | ||
export const GovernanceSubjectItemRequestBuilderUriTemplate = "{+baseurl}/governanceSubjects/{governanceSubject%2Did}{?%24expand,%24select}"; | ||
/** | ||
@@ -26,8 +23,8 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.GovernanceSubjectItemRequestBuilderRequestsMetadata = { | ||
export const GovernanceSubjectItemRequestBuilderRequestsMetadata = { | ||
delete: { | ||
uriTemplate: exports.GovernanceSubjectItemRequestBuilderUriTemplate, | ||
uriTemplate: GovernanceSubjectItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -37,21 +34,21 @@ adapterMethodName: "sendNoResponseContent", | ||
get: { | ||
uriTemplate: exports.GovernanceSubjectItemRequestBuilderUriTemplate, | ||
uriTemplate: GovernanceSubjectItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createGovernanceSubjectFromDiscriminatorValue, | ||
responseBodyFactory: createGovernanceSubjectFromDiscriminatorValue, | ||
queryParametersMapper: GovernanceSubjectItemRequestBuilderGetQueryParametersMapper, | ||
}, | ||
patch: { | ||
uriTemplate: exports.GovernanceSubjectItemRequestBuilderUriTemplate, | ||
uriTemplate: GovernanceSubjectItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createGovernanceSubjectFromDiscriminatorValue, | ||
responseBodyFactory: createGovernanceSubjectFromDiscriminatorValue, | ||
requestBodyContentType: "application/json", | ||
requestBodySerializer: models_1.serializeGovernanceSubject, | ||
requestBodySerializer: serializeGovernanceSubject, | ||
requestInformationContentSetMethod: "setContentFromParsable", | ||
@@ -62,1 +59,2 @@ }, | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { type GovernanceSubjectsRequestBuilder } from './governanceSubjects/'; | ||
import { type GovernanceSubjectsRequestBuilder } from './governanceSubjects/index.js'; | ||
import { type BackingStoreFactory, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,13 +0,10 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GovernanceSubjectsServiceClientUriTemplate = exports.GovernanceSubjectsServiceClientNavigationMetadata = exports.createGovernanceSubjectsServiceClient = void 0; | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// Generated by Microsoft Kiota | ||
const governanceSubjects_1 = require("./governanceSubjects/"); | ||
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions"); | ||
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form"); | ||
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json"); | ||
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart"); | ||
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text"); | ||
import { GovernanceSubjectsRequestBuilderNavigationMetadata, GovernanceSubjectsRequestBuilderRequestsMetadata } from './governanceSubjects/index.js'; | ||
import { apiClientProxifier, registerDefaultDeserializer, registerDefaultSerializer } from '@microsoft/kiota-abstractions'; | ||
import { FormParseNodeFactory, FormSerializationWriterFactory } from '@microsoft/kiota-serialization-form'; | ||
import { JsonParseNodeFactory, JsonSerializationWriterFactory } from '@microsoft/kiota-serialization-json'; | ||
import { MultipartSerializationWriterFactory } from '@microsoft/kiota-serialization-multipart'; | ||
import { TextParseNodeFactory, TextSerializationWriterFactory } from '@microsoft/kiota-serialization-text'; | ||
/** | ||
@@ -18,10 +15,10 @@ * Instantiates a new GovernanceSubjectsServiceClient and sets the default values. | ||
*/ | ||
function createGovernanceSubjectsServiceClient(requestAdapter, backingStore) { | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory); | ||
export function createGovernanceSubjectsServiceClient(requestAdapter, backingStore) { | ||
registerDefaultSerializer(JsonSerializationWriterFactory); | ||
registerDefaultSerializer(TextSerializationWriterFactory); | ||
registerDefaultSerializer(FormSerializationWriterFactory); | ||
registerDefaultSerializer(MultipartSerializationWriterFactory); | ||
registerDefaultDeserializer(JsonParseNodeFactory); | ||
registerDefaultDeserializer(TextParseNodeFactory); | ||
registerDefaultDeserializer(FormParseNodeFactory); | ||
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") { | ||
@@ -34,12 +31,11 @@ requestAdapter.baseUrl = "https://graph.microsoft.com/beta"; | ||
requestAdapter.enableBackingStore(backingStore); | ||
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.GovernanceSubjectsServiceClientNavigationMetadata, undefined); | ||
return apiClientProxifier(requestAdapter, pathParameters, GovernanceSubjectsServiceClientNavigationMetadata, undefined); | ||
} | ||
exports.createGovernanceSubjectsServiceClient = createGovernanceSubjectsServiceClient; | ||
/** | ||
* Metadata for all the navigation properties in the request builder. | ||
*/ | ||
exports.GovernanceSubjectsServiceClientNavigationMetadata = { | ||
export const GovernanceSubjectsServiceClientNavigationMetadata = { | ||
governanceSubjects: { | ||
requestsMetadata: governanceSubjects_1.GovernanceSubjectsRequestBuilderRequestsMetadata, | ||
navigationMetadata: governanceSubjects_1.GovernanceSubjectsRequestBuilderNavigationMetadata, | ||
requestsMetadata: GovernanceSubjectsRequestBuilderRequestsMetadata, | ||
navigationMetadata: GovernanceSubjectsRequestBuilderNavigationMetadata, | ||
}, | ||
@@ -50,4 +46,5 @@ }; | ||
*/ | ||
exports.GovernanceSubjectsServiceClientUriTemplate = "{+baseurl}"; | ||
export const GovernanceSubjectsServiceClientUriTemplate = "{+baseurl}"; | ||
/* tslint:enable */ | ||
/* eslint-enable */ | ||
//# sourceMappingURL=governanceSubjectsServiceClient.js.map |
@@ -1,2 +0,2 @@ | ||
import type { GovernanceSubjectsRequestBuilder } from "./governanceSubjects"; | ||
import type { GovernanceSubjectsRequestBuilder } from "./governanceSubjects/index.js"; | ||
declare module "@microsoft/msgraph-beta-sdk" { | ||
@@ -10,3 +10,3 @@ interface GraphBetaServiceClient { | ||
} | ||
export * from "./governanceSubjectsServiceClient"; | ||
export * from "./governanceSubjectsServiceClient.js"; | ||
//# sourceMappingURL=index.d.ts.map |
25
index.js
@@ -1,20 +0,5 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const msgraph_beta_sdk_1 = require("@microsoft/msgraph-beta-sdk"); | ||
const governanceSubjectsServiceClient_1 = require("./governanceSubjectsServiceClient"); | ||
(0, msgraph_beta_sdk_1.extendGraphBetaServiceClient)(governanceSubjectsServiceClient_1.GovernanceSubjectsServiceClientNavigationMetadata); | ||
__exportStar(require("./governanceSubjectsServiceClient"), exports); | ||
import { extendGraphBetaServiceClient } from "@microsoft/msgraph-beta-sdk"; | ||
import { GovernanceSubjectsServiceClientNavigationMetadata } from "./governanceSubjectsServiceClient.js"; | ||
extendGraphBetaServiceClient(GovernanceSubjectsServiceClientNavigationMetadata); | ||
export * from "./governanceSubjectsServiceClient.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@microsoft/msgraph-beta-sdk-governancesubjects", | ||
"version": "1.0.0-preview.20", | ||
"version": "1.0.0-preview.21", | ||
"description": "GovernanceSubjects fluent API for Microsoft Graph", | ||
@@ -46,3 +46,4 @@ "keywords": [ | ||
}, | ||
"gitHead": "6af4e59c5fec989bb08eea41b838a315da5faa3f" | ||
"type": "module", | ||
"gitHead": "eeea280f1539fdcf00de865ad89a6fe69a709150" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25
Yes
88573
461