Socket
Socket
Sign inDemoInstall

@microsoft/msgraph-sdk-teamwork

Package Overview
Dependencies
14
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-preview.21 to 1.0.0-preview.22

6

package.json
{
"name": "@microsoft/msgraph-sdk-teamwork",
"version": "1.0.0-preview.21",
"version": "1.0.0-preview.22",
"description": "Teamwork fluent API for Microsoft Graph",

@@ -40,3 +40,3 @@ "keywords": [

"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
"@microsoft/msgraph-sdk": "^1.0.0-preview.21",
"@microsoft/msgraph-sdk": "^1.0.0-preview.22",
"guid-typescript": "^1.0.9",

@@ -48,3 +48,3 @@ "tslib": "^2.6.2"

},
"gitHead": "f03627411c44ca629630cfbc689f57141c6cb7c0"
"gitHead": "d41363478d26ba2bcde02901bb2983793b286bdf"
}

@@ -20,3 +20,3 @@ import { type DeletedChat, type DeletedChatCollectionResponse } from '@microsoft/msgraph-sdk/models/';

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -36,3 +36,3 @@ * @returns {Promise<DeletedChatCollectionResponse>}

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -51,3 +51,3 @@ * @returns {RequestInformation}

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
*/

@@ -54,0 +54,0 @@ export interface DeletedChatsRequestBuilderGetQueryParameters {

@@ -19,6 +19,7 @@ import { type DeletedChat } from '@microsoft/msgraph-sdk/models/';

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeletedChat>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0|Find more info here}
*/

@@ -41,3 +42,3 @@ get(requestConfiguration?: RequestConfiguration<DeletedChatItemRequestBuilderGetQueryParameters> | undefined): Promise<DeletedChat | undefined>;

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -56,3 +57,3 @@ * @returns {RequestInformation}

/**
* A collection of deleted chats.
* Read the properties and relationships of a deletedChat object.
*/

@@ -59,0 +60,0 @@ export interface DeletedChatItemRequestBuilderGetQueryParameters {

@@ -25,6 +25,7 @@ import { type DeletedTeam, type DeletedTeamCollectionResponse } from '@microsoft/msgraph-sdk/models/';

/**
* The deleted team.
* Get a list of the deletedTeam objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<DeletedTeamCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/teamwork-list-deletedteams?view=graph-rest-1.0|Find more info here}
*/

@@ -41,3 +42,3 @@ get(requestConfiguration?: RequestConfiguration<DeletedTeamsRequestBuilderGetQueryParameters> | undefined): Promise<DeletedTeamCollectionResponse | undefined>;

/**
* The deleted team.
* Get a list of the deletedTeam objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -56,3 +57,3 @@ * @returns {RequestInformation}

/**
* The deleted team.
* Get a list of the deletedTeam objects and their properties.
*/

@@ -59,0 +60,0 @@ export interface DeletedTeamsRequestBuilderGetQueryParameters {

@@ -10,2 +10,8 @@ import { type DriveItem } from '@microsoft/msgraph-sdk/models/';

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The content stream, if the item represents a file.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ArrayBuffer>}

@@ -28,2 +34,8 @@ * @throws {ODataError} error when the service returns a 4XX or 5XX status code

*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The content stream, if the item represents a file.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentRequestBuilderGetQueryParameters> | undefined): RequestInformation;

@@ -30,0 +42,0 @@ /**

@@ -25,2 +25,10 @@ "use strict";

exports.ContentRequestBuilderRequestsMetadata = {
delete: {
uriTemplate: exports.ContentRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "sendNoResponseContent",
},
get: {

@@ -27,0 +35,0 @@ uriTemplate: exports.ContentRequestBuilderUriTemplate,

@@ -7,10 +7,16 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Get media content for the navigation property hostedContents from teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ArrayBuffer>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ContentRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
/**
* Update media content for the navigation property hostedContents in teamwork
* The unique identifier for an entity. Read-only.
* @param body Binary request body

@@ -23,9 +29,15 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get media content for the navigation property hostedContents from teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentRequestBuilderGetQueryParameters> | undefined): RequestInformation;
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Update media content for the navigation property hostedContents in teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The unique identifier for an entity. Read-only.
* @param body Binary request body

@@ -38,14 +50,5 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get media content for the navigation property hostedContents from teamwork
*/
export interface ContentRequestBuilderGetQueryParameters {
/**
* Format of the content
*/
format?: string;
}
/**
* Uri template for the request builder.
*/
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}";
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value";
/**

@@ -52,0 +55,0 @@ * Metadata for all the requests in the request builder.

@@ -12,13 +12,15 @@ "use strict";

*/
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}";
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const ContentRequestBuilderGetQueryParametersMapper = {
"format": "%24format",
};
/**
* Metadata for all the requests in the request builder.
*/
exports.ContentRequestBuilderRequestsMetadata = {
delete: {
uriTemplate: exports.ContentRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "sendNoResponseContent",
},
get: {

@@ -32,3 +34,2 @@ uriTemplate: exports.ContentRequestBuilderUriTemplate,

responseBodyFactory: "ArrayBuffer",
queryParametersMapper: ContentRequestBuilderGetQueryParametersMapper,
},

@@ -35,0 +36,0 @@ put: {

@@ -7,10 +7,16 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

/**
* Get media content for the navigation property hostedContents from teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ArrayBuffer>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ContentRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
/**
* Update media content for the navigation property hostedContents in teamwork
* The unique identifier for an entity. Read-only.
* @param body Binary request body

@@ -23,9 +29,15 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get media content for the navigation property hostedContents from teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentRequestBuilderGetQueryParameters> | undefined): RequestInformation;
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Update media content for the navigation property hostedContents in teamwork
* The unique identifier for an entity. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The unique identifier for an entity. Read-only.
* @param body Binary request body

@@ -38,14 +50,5 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get media content for the navigation property hostedContents from teamwork
*/
export interface ContentRequestBuilderGetQueryParameters {
/**
* Format of the content
*/
format?: string;
}
/**
* Uri template for the request builder.
*/
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}";
export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value";
/**

@@ -52,0 +55,0 @@ * Metadata for all the requests in the request builder.

@@ -12,13 +12,15 @@ "use strict";

*/
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}";
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const ContentRequestBuilderGetQueryParametersMapper = {
"format": "%24format",
};
/**
* Metadata for all the requests in the request builder.
*/
exports.ContentRequestBuilderRequestsMetadata = {
delete: {
uriTemplate: exports.ContentRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "sendNoResponseContent",
},
get: {

@@ -32,3 +34,2 @@ uriTemplate: exports.ContentRequestBuilderUriTemplate,

responseBodyFactory: "ArrayBuffer",
queryParametersMapper: ContentRequestBuilderGetQueryParametersMapper,
},

@@ -35,0 +36,0 @@ put: {

@@ -14,10 +14,11 @@ import { type TeamsAppSettings } from '@microsoft/msgraph-sdk/models/';

/**
* Represents tenant-wide settings for all Teams apps in the tenant.
* Get the tenant-wide teamsAppSettings for all Teams apps in the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TeamsAppSettings>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/teamsappsettings-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<TeamsAppSettingsRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAppSettings | undefined>;
/**
* Update the navigation property teamsAppSettings in teamwork
* Update the tenant-wide teamsAppSettings for all Teams apps in the tenant.
* @param body The request body

@@ -27,2 +28,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/teamsappsettings-update?view=graph-rest-1.0|Find more info here}
*/

@@ -37,3 +39,3 @@ patch(body: TeamsAppSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsAppSettings | undefined>;

/**
* Represents tenant-wide settings for all Teams apps in the tenant.
* Get the tenant-wide teamsAppSettings for all Teams apps in the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -44,3 +46,3 @@ * @returns {RequestInformation}

/**
* Update the navigation property teamsAppSettings in teamwork
* Update the tenant-wide teamsAppSettings for all Teams apps in the tenant.
* @param body The request body

@@ -53,3 +55,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Represents tenant-wide settings for all Teams apps in the tenant.
* Get the tenant-wide teamsAppSettings for all Teams apps in the tenant.
*/

@@ -56,0 +58,0 @@ export interface TeamsAppSettingsRequestBuilderGetQueryParameters {

@@ -20,10 +20,11 @@ import { type WorkforceIntegration, type WorkforceIntegrationCollectionResponse } from '@microsoft/msgraph-sdk/models/';

/**
* Get workforceIntegrations from teamwork
* Retrieve a list of workforceIntegration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<WorkforceIntegrationCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/workforceintegration-list?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<WorkforceIntegrationsRequestBuilderGetQueryParameters> | undefined): Promise<WorkforceIntegrationCollectionResponse | undefined>;
/**
* Create new navigation property to workforceIntegrations for teamwork
* Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests.
* @param body The request body

@@ -33,6 +34,7 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/workforceintegration-post?view=graph-rest-1.0|Find more info here}
*/
post(body: WorkforceIntegration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkforceIntegration | undefined>;
/**
* Get workforceIntegrations from teamwork
* Retrieve a list of workforceIntegration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -43,3 +45,3 @@ * @returns {RequestInformation}

/**
* Create new navigation property to workforceIntegrations for teamwork
* Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests.
* @param body The request body

@@ -52,3 +54,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get workforceIntegrations from teamwork
* Retrieve a list of workforceIntegration objects.
*/

@@ -55,0 +57,0 @@ export interface WorkforceIntegrationsRequestBuilderGetQueryParameters {

@@ -8,16 +8,18 @@ import { type WorkforceIntegration } from '@microsoft/msgraph-sdk/models/';

/**
* Delete navigation property workforceIntegrations for teamwork
* Delete an instance of a workforceIntegration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/workforceintegration-delete?view=graph-rest-1.0|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get workforceIntegrations from teamwork
* Retrieve the properties and relationships of a workforceIntegration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<WorkforceIntegration>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/workforceintegration-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<WorkforceIntegrationItemRequestBuilderGetQueryParameters> | undefined): Promise<WorkforceIntegration | undefined>;
/**
* Update the navigation property workforceIntegrations in teamwork
* Update the properties of a workforceIntegration object.
* @param body The request body

@@ -27,6 +29,7 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/workforceintegration-update?view=graph-rest-1.0|Find more info here}
*/
patch(body: WorkforceIntegration, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WorkforceIntegration | undefined>;
/**
* Delete navigation property workforceIntegrations for teamwork
* Delete an instance of a workforceIntegration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -37,3 +40,3 @@ * @returns {RequestInformation}

/**
* Get workforceIntegrations from teamwork
* Retrieve the properties and relationships of a workforceIntegration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

@@ -44,3 +47,3 @@ * @returns {RequestInformation}

/**
* Update the navigation property workforceIntegrations in teamwork
* Update the properties of a workforceIntegration object.
* @param body The request body

@@ -53,3 +56,3 @@ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.

/**
* Get workforceIntegrations from teamwork
* Retrieve the properties and relationships of a workforceIntegration object.
*/

@@ -56,0 +59,0 @@ export interface WorkforceIntegrationItemRequestBuilderGetQueryParameters {

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc