@microsoft/msgraph-sdk-appcatalogs 1.0.0-preview.13 → 1.0.0-preview.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appCatalogs/index.d.ts +10 -8
- package/appCatalogs/index.d.ts.map +1 -1
- package/appCatalogs/index.js +9 -10
- package/appCatalogs/teamsApps/count/index.d.ts +7 -6
- package/appCatalogs/teamsApps/count/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/count/index.js +7 -7
- package/appCatalogs/teamsApps/index.d.ts +11 -9
- package/appCatalogs/teamsApps/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/index.js +9 -11
- package/appCatalogs/teamsApps/item/appDefinitions/count/index.d.ts +7 -6
- package/appCatalogs/teamsApps/item/appDefinitions/count/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/item/appDefinitions/count/index.js +7 -7
- package/appCatalogs/teamsApps/item/appDefinitions/index.d.ts +11 -9
- package/appCatalogs/teamsApps/item/appDefinitions/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/item/appDefinitions/index.js +9 -11
- package/appCatalogs/teamsApps/item/appDefinitions/item/bot/index.d.ts +12 -9
- package/appCatalogs/teamsApps/item/appDefinitions/item/bot/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/item/appDefinitions/item/bot/index.js +11 -11
- package/appCatalogs/teamsApps/item/appDefinitions/item/index.d.ts +12 -9
- package/appCatalogs/teamsApps/item/appDefinitions/item/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/item/appDefinitions/item/index.js +11 -12
- package/appCatalogs/teamsApps/item/index.d.ts +12 -9
- package/appCatalogs/teamsApps/item/index.d.ts.map +1 -1
- package/appCatalogs/teamsApps/item/index.js +11 -12
- package/appCatalogsServiceClient.d.ts.map +1 -1
- package/appCatalogsServiceClient.js +1 -2
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5I;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,wHAAwH,CAAC;AAQlK;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBA+B/C,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BotRequestBuilderRequestsMetadata = exports.BotRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.BotRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/bot{?%24expand,%24select}";
|
|
9
13
|
/**
|
|
10
14
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
15
|
*/
|
|
@@ -18,28 +22,28 @@ const BotRequestBuilderGetQueryParametersMapper = {
|
|
|
18
22
|
*/
|
|
19
23
|
exports.BotRequestBuilderRequestsMetadata = {
|
|
20
24
|
delete: {
|
|
25
|
+
uriTemplate: exports.BotRequestBuilderUriTemplate,
|
|
21
26
|
responseBodyContentType: "application/json",
|
|
22
27
|
errorMappings: {
|
|
23
|
-
|
|
24
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
29
|
},
|
|
26
30
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
31
|
},
|
|
28
32
|
get: {
|
|
33
|
+
uriTemplate: exports.BotRequestBuilderUriTemplate,
|
|
29
34
|
responseBodyContentType: "application/json",
|
|
30
35
|
errorMappings: {
|
|
31
|
-
|
|
32
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
37
|
},
|
|
34
38
|
adapterMethodName: "sendAsync",
|
|
35
39
|
responseBodyFactory: models_1.createTeamworkBotFromDiscriminatorValue,
|
|
36
40
|
queryParametersMapper: BotRequestBuilderGetQueryParametersMapper,
|
|
37
41
|
},
|
|
38
42
|
patch: {
|
|
43
|
+
uriTemplate: exports.BotRequestBuilderUriTemplate,
|
|
39
44
|
responseBodyContentType: "application/json",
|
|
40
45
|
errorMappings: {
|
|
41
|
-
|
|
42
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
47
|
},
|
|
44
48
|
adapterMethodName: "sendAsync",
|
|
45
49
|
responseBodyFactory: models_1.createTeamworkBotFromDiscriminatorValue,
|
|
@@ -48,9 +52,5 @@ exports.BotRequestBuilderRequestsMetadata = {
|
|
|
48
52
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
53
|
},
|
|
50
54
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Uri template for the request builder.
|
|
53
|
-
*/
|
|
54
|
-
exports.BotRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/bot{?%24expand,%24select}";
|
|
55
55
|
/* tslint:enable */
|
|
56
56
|
/* eslint-enable */
|
|
@@ -12,39 +12,42 @@ export interface TeamsAppDefinitionItemRequestBuilder extends BaseRequestBuilder
|
|
|
12
12
|
/**
|
|
13
13
|
* Delete navigation property appDefinitions for appCatalogs
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
15
16
|
*/
|
|
16
17
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
17
18
|
/**
|
|
18
19
|
* The details for each version of the app.
|
|
19
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
-
* @returns
|
|
21
|
+
* @returns {Promise<TeamsAppDefinition>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
21
23
|
*/
|
|
22
24
|
get(requestConfiguration?: RequestConfiguration<TeamsAppDefinitionItemRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAppDefinition | undefined>;
|
|
23
25
|
/**
|
|
24
26
|
* Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.
|
|
25
27
|
* @param body The request body
|
|
26
28
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
-
* @returns
|
|
29
|
+
* @returns {Promise<TeamsAppDefinition>}
|
|
30
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
31
|
* @see {@link https://learn.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0|Find more info here}
|
|
29
32
|
*/
|
|
30
33
|
patch(body: TeamsAppDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsAppDefinition | undefined>;
|
|
31
34
|
/**
|
|
32
35
|
* Delete navigation property appDefinitions for appCatalogs
|
|
33
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
-
* @returns
|
|
37
|
+
* @returns {RequestInformation}
|
|
35
38
|
*/
|
|
36
39
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
40
|
/**
|
|
38
41
|
* The details for each version of the app.
|
|
39
42
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
-
* @returns
|
|
43
|
+
* @returns {RequestInformation}
|
|
41
44
|
*/
|
|
42
45
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsAppDefinitionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
46
|
/**
|
|
44
47
|
* Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center.
|
|
45
48
|
* @param body The request body
|
|
46
49
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
-
* @returns
|
|
50
|
+
* @returns {RequestInformation}
|
|
48
51
|
*/
|
|
49
52
|
toPatchRequestInformation(body: TeamsAppDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
53
|
}
|
|
@@ -61,6 +64,10 @@ export interface TeamsAppDefinitionItemRequestBuilderGetQueryParameters {
|
|
|
61
64
|
*/
|
|
62
65
|
select?: string[];
|
|
63
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const TeamsAppDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}{?%24expand,%24select}";
|
|
64
71
|
/**
|
|
65
72
|
* Metadata for all the navigation properties in the request builder.
|
|
66
73
|
*/
|
|
@@ -69,8 +76,4 @@ export declare const TeamsAppDefinitionItemRequestBuilderNavigationMetadata: Rec
|
|
|
69
76
|
* Metadata for all the requests in the request builder.
|
|
70
77
|
*/
|
|
71
78
|
export declare const TeamsAppDefinitionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
|
-
/**
|
|
73
|
-
* Uri template for the request builder.
|
|
74
|
-
*/
|
|
75
|
-
export declare const TeamsAppDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}{?%24expand,%24select}";
|
|
76
79
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACnF,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,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC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RequestBuilderRequestsMetadata = exports.TeamsAppDefinitionItemRequestBuilderNavigationMetadata = exports.TeamsAppDefinitionItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const bot_1 = require("./bot/");
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
exports.TeamsAppDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}{?%24expand,%24select}";
|
|
10
14
|
/**
|
|
11
15
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
16
|
*/
|
|
@@ -19,7 +23,6 @@ const TeamsAppDefinitionItemRequestBuilderGetQueryParametersMapper = {
|
|
|
19
23
|
*/
|
|
20
24
|
exports.TeamsAppDefinitionItemRequestBuilderNavigationMetadata = {
|
|
21
25
|
bot: {
|
|
22
|
-
uriTemplate: bot_1.BotRequestBuilderUriTemplate,
|
|
23
26
|
requestsMetadata: bot_1.BotRequestBuilderRequestsMetadata,
|
|
24
27
|
},
|
|
25
28
|
};
|
|
@@ -28,28 +31,28 @@ exports.TeamsAppDefinitionItemRequestBuilderNavigationMetadata = {
|
|
|
28
31
|
*/
|
|
29
32
|
exports.TeamsAppDefinitionItemRequestBuilderRequestsMetadata = {
|
|
30
33
|
delete: {
|
|
34
|
+
uriTemplate: exports.TeamsAppDefinitionItemRequestBuilderUriTemplate,
|
|
31
35
|
responseBodyContentType: "application/json",
|
|
32
36
|
errorMappings: {
|
|
33
|
-
|
|
34
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
37
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
38
|
},
|
|
36
39
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
37
40
|
},
|
|
38
41
|
get: {
|
|
42
|
+
uriTemplate: exports.TeamsAppDefinitionItemRequestBuilderUriTemplate,
|
|
39
43
|
responseBodyContentType: "application/json",
|
|
40
44
|
errorMappings: {
|
|
41
|
-
|
|
42
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
46
|
},
|
|
44
47
|
adapterMethodName: "sendAsync",
|
|
45
48
|
responseBodyFactory: models_1.createTeamsAppDefinitionFromDiscriminatorValue,
|
|
46
49
|
queryParametersMapper: TeamsAppDefinitionItemRequestBuilderGetQueryParametersMapper,
|
|
47
50
|
},
|
|
48
51
|
patch: {
|
|
52
|
+
uriTemplate: exports.TeamsAppDefinitionItemRequestBuilderUriTemplate,
|
|
49
53
|
responseBodyContentType: "application/json",
|
|
50
54
|
errorMappings: {
|
|
51
|
-
|
|
52
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
55
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
56
|
},
|
|
54
57
|
adapterMethodName: "sendAsync",
|
|
55
58
|
responseBodyFactory: models_1.createTeamsAppDefinitionFromDiscriminatorValue,
|
|
@@ -58,9 +61,5 @@ exports.TeamsAppDefinitionItemRequestBuilderRequestsMetadata = {
|
|
|
58
61
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
59
62
|
},
|
|
60
63
|
};
|
|
61
|
-
/**
|
|
62
|
-
* Uri template for the request builder.
|
|
63
|
-
*/
|
|
64
|
-
exports.TeamsAppDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}{?%24expand,%24select}";
|
|
65
64
|
/* tslint:enable */
|
|
66
65
|
/* eslint-enable */
|
|
@@ -12,39 +12,42 @@ export interface TeamsAppItemRequestBuilder extends BaseRequestBuilder<TeamsAppI
|
|
|
12
12
|
/**
|
|
13
13
|
* Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
15
16
|
* @see {@link https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0|Find more info here}
|
|
16
17
|
*/
|
|
17
18
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
19
|
/**
|
|
19
20
|
* Get teamsApps from appCatalogs
|
|
20
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
-
* @returns
|
|
22
|
+
* @returns {Promise<TeamsApp>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
22
24
|
*/
|
|
23
25
|
get(requestConfiguration?: RequestConfiguration<TeamsAppItemRequestBuilderGetQueryParameters> | undefined): Promise<TeamsApp | undefined>;
|
|
24
26
|
/**
|
|
25
27
|
* Update the navigation property teamsApps in appCatalogs
|
|
26
28
|
* @param body The request body
|
|
27
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
-
* @returns
|
|
30
|
+
* @returns {Promise<TeamsApp>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
32
|
*/
|
|
30
33
|
patch(body: TeamsApp, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TeamsApp | undefined>;
|
|
31
34
|
/**
|
|
32
35
|
* Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process.
|
|
33
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
-
* @returns
|
|
37
|
+
* @returns {RequestInformation}
|
|
35
38
|
*/
|
|
36
39
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
37
40
|
/**
|
|
38
41
|
* Get teamsApps from appCatalogs
|
|
39
42
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
|
-
* @returns
|
|
43
|
+
* @returns {RequestInformation}
|
|
41
44
|
*/
|
|
42
45
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsAppItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
46
|
/**
|
|
44
47
|
* Update the navigation property teamsApps in appCatalogs
|
|
45
48
|
* @param body The request body
|
|
46
49
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
-
* @returns
|
|
50
|
+
* @returns {RequestInformation}
|
|
48
51
|
*/
|
|
49
52
|
toPatchRequestInformation(body: TeamsApp, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
53
|
}
|
|
@@ -61,6 +64,10 @@ export interface TeamsAppItemRequestBuilderGetQueryParameters {
|
|
|
61
64
|
*/
|
|
62
65
|
select?: string[];
|
|
63
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
64
71
|
/**
|
|
65
72
|
* Metadata for all the navigation properties in the request builder.
|
|
66
73
|
*/
|
|
@@ -69,8 +76,4 @@ export declare const TeamsAppItemRequestBuilderNavigationMetadata: Record<Exclud
|
|
|
69
76
|
* Metadata for all the requests in the request builder.
|
|
70
77
|
*/
|
|
71
78
|
export declare const TeamsAppItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
|
-
/**
|
|
73
|
-
* Uri template for the request builder.
|
|
74
|
-
*/
|
|
75
|
-
export declare const TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
76
79
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAExH,OAAO,EAAgG,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACpK,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,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;;;;OAKG;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,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACxH;;;;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,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,2EAA2E,CAAC;AAQ9H;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TeamsAppItemRequestBuilderRequestsMetadata = exports.TeamsAppItemRequestBuilderNavigationMetadata = exports.TeamsAppItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const appDefinitions_1 = require("./appDefinitions/");
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
exports.TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
10
14
|
/**
|
|
11
15
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
16
|
*/
|
|
@@ -19,7 +23,6 @@ const TeamsAppItemRequestBuilderGetQueryParametersMapper = {
|
|
|
19
23
|
*/
|
|
20
24
|
exports.TeamsAppItemRequestBuilderNavigationMetadata = {
|
|
21
25
|
appDefinitions: {
|
|
22
|
-
uriTemplate: appDefinitions_1.AppDefinitionsRequestBuilderUriTemplate,
|
|
23
26
|
requestsMetadata: appDefinitions_1.AppDefinitionsRequestBuilderRequestsMetadata,
|
|
24
27
|
navigationMetadata: appDefinitions_1.AppDefinitionsRequestBuilderNavigationMetadata,
|
|
25
28
|
},
|
|
@@ -29,28 +32,28 @@ exports.TeamsAppItemRequestBuilderNavigationMetadata = {
|
|
|
29
32
|
*/
|
|
30
33
|
exports.TeamsAppItemRequestBuilderRequestsMetadata = {
|
|
31
34
|
delete: {
|
|
35
|
+
uriTemplate: exports.TeamsAppItemRequestBuilderUriTemplate,
|
|
32
36
|
responseBodyContentType: "application/json",
|
|
33
37
|
errorMappings: {
|
|
34
|
-
|
|
35
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
39
|
},
|
|
37
40
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
38
41
|
},
|
|
39
42
|
get: {
|
|
43
|
+
uriTemplate: exports.TeamsAppItemRequestBuilderUriTemplate,
|
|
40
44
|
responseBodyContentType: "application/json",
|
|
41
45
|
errorMappings: {
|
|
42
|
-
|
|
43
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
47
|
},
|
|
45
48
|
adapterMethodName: "sendAsync",
|
|
46
49
|
responseBodyFactory: models_1.createTeamsAppFromDiscriminatorValue,
|
|
47
50
|
queryParametersMapper: TeamsAppItemRequestBuilderGetQueryParametersMapper,
|
|
48
51
|
},
|
|
49
52
|
patch: {
|
|
53
|
+
uriTemplate: exports.TeamsAppItemRequestBuilderUriTemplate,
|
|
50
54
|
responseBodyContentType: "application/json",
|
|
51
55
|
errorMappings: {
|
|
52
|
-
|
|
53
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
56
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
57
|
},
|
|
55
58
|
adapterMethodName: "sendAsync",
|
|
56
59
|
responseBodyFactory: models_1.createTeamsAppFromDiscriminatorValue,
|
|
@@ -59,9 +62,5 @@ exports.TeamsAppItemRequestBuilderRequestsMetadata = {
|
|
|
59
62
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
60
63
|
},
|
|
61
64
|
};
|
|
62
|
-
/**
|
|
63
|
-
* Uri template for the request builder.
|
|
64
|
-
*/
|
|
65
|
-
exports.TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
66
65
|
/* tslint:enable */
|
|
67
66
|
/* eslint-enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appCatalogsServiceClient.d.ts","sourceRoot":"","sources":["appCatalogsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"appCatalogsServiceClient.d.ts","sourceRoot":"","sources":["appCatalogsServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACxJ,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;CAChD;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,cAAc,EAAE,cAAc,4BAe5E;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,eAAe,CAAC"}
|
|
@@ -28,7 +28,7 @@ function createAppCatalogsServiceClient(requestAdapter) {
|
|
|
28
28
|
const pathParameters = {
|
|
29
29
|
"baseurl": requestAdapter.baseUrl,
|
|
30
30
|
};
|
|
31
|
-
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.AppCatalogsServiceClientNavigationMetadata, undefined);
|
|
32
32
|
}
|
|
33
33
|
exports.createAppCatalogsServiceClient = createAppCatalogsServiceClient;
|
|
34
34
|
/**
|
|
@@ -36,7 +36,6 @@ exports.createAppCatalogsServiceClient = createAppCatalogsServiceClient;
|
|
|
36
36
|
*/
|
|
37
37
|
exports.AppCatalogsServiceClientNavigationMetadata = {
|
|
38
38
|
appCatalogs: {
|
|
39
|
-
uriTemplate: appCatalogs_1.AppCatalogsRequestBuilderUriTemplate,
|
|
40
39
|
requestsMetadata: appCatalogs_1.AppCatalogsRequestBuilderRequestsMetadata,
|
|
41
40
|
navigationMetadata: appCatalogs_1.AppCatalogsRequestBuilderNavigationMetadata,
|
|
42
41
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-appcatalogs",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.14",
|
|
4
4
|
"description": "AppCatalogs fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.14",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7"
|
|
48
48
|
}
|