@teemill/projects 1.59.0 → 1.59.1
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/README.md +3 -3
- package/api.ts +6 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +7 -14
- package/dist/api.js +2 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +7 -14
- package/dist/esm/api.js +1 -5
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/GenerateBrandContextRequest.md +0 -2
- package/docs/GenerateBrandContextResponse.md +22 -0
- package/docs/ProjectsApi.md +3 -3
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/projects@1.59.
|
|
1
|
+
## @teemill/projects@1.59.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/projects@1.59.
|
|
39
|
+
npm install @teemill/projects@1.59.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -126,7 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
- [CreateUserGroupRequest](docs/CreateUserGroupRequest.md)
|
|
127
127
|
- [ExportTasks202Response](docs/ExportTasks202Response.md)
|
|
128
128
|
- [GenerateBrandContextRequest](docs/GenerateBrandContextRequest.md)
|
|
129
|
-
- [
|
|
129
|
+
- [GenerateBrandContextResponse](docs/GenerateBrandContextResponse.md)
|
|
130
130
|
- [GetClients200Response](docs/GetClients200Response.md)
|
|
131
131
|
- [GetLogs200Response](docs/GetLogs200Response.md)
|
|
132
132
|
- [Icon](docs/Icon.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.59.
|
|
7
|
+
* The version of the OpenAPI document: 1.59.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -142,21 +142,11 @@ export interface ExportTasks202Response {
|
|
|
142
142
|
}
|
|
143
143
|
export interface GenerateBrandContextRequest {
|
|
144
144
|
'mainSiteUrl'?: string | null;
|
|
145
|
-
'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
|
|
146
145
|
}
|
|
147
|
-
export interface
|
|
148
|
-
'
|
|
149
|
-
'
|
|
150
|
-
'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
|
|
146
|
+
export interface GenerateBrandContextResponse {
|
|
147
|
+
'message': string;
|
|
148
|
+
'generationId': string;
|
|
151
149
|
}
|
|
152
|
-
|
|
153
|
-
export const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = {
|
|
154
|
-
Image: 'image',
|
|
155
|
-
Pdf: 'pdf'
|
|
156
|
-
} as const;
|
|
157
|
-
|
|
158
|
-
export type GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum[keyof typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum];
|
|
159
|
-
|
|
160
150
|
export interface GetClients200Response {
|
|
161
151
|
'clients': Array<UserClient>;
|
|
162
152
|
}
|
|
@@ -3008,7 +2998,7 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
3008
2998
|
* @param {*} [options] Override http request option.
|
|
3009
2999
|
* @throws {RequiredError}
|
|
3010
3000
|
*/
|
|
3011
|
-
async generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3001
|
+
async generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateBrandContextResponse>> {
|
|
3012
3002
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateBrandContext(project, generateBrandContextRequest, options);
|
|
3013
3003
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3014
3004
|
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.generateBrandContext']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3636,7 +3626,7 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
3636
3626
|
* @param {*} [options] Override http request option.
|
|
3637
3627
|
* @throws {RequiredError}
|
|
3638
3628
|
*/
|
|
3639
|
-
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3629
|
+
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateBrandContextResponse> {
|
|
3640
3630
|
return localVarFp.generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(axios, basePath));
|
|
3641
3631
|
},
|
|
3642
3632
|
/**
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage PodOS Projects
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.59.
|
|
5
|
+
* The version of the OpenAPI document: 1.59.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -129,18 +129,11 @@ export interface ExportTasks202Response {
|
|
|
129
129
|
}
|
|
130
130
|
export interface GenerateBrandContextRequest {
|
|
131
131
|
'mainSiteUrl'?: string | null;
|
|
132
|
-
'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
|
|
133
132
|
}
|
|
134
|
-
export interface
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
|
|
133
|
+
export interface GenerateBrandContextResponse {
|
|
134
|
+
'message': string;
|
|
135
|
+
'generationId': string;
|
|
138
136
|
}
|
|
139
|
-
export declare const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum: {
|
|
140
|
-
readonly Image: "image";
|
|
141
|
-
readonly Pdf: "pdf";
|
|
142
|
-
};
|
|
143
|
-
export type GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum[keyof typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum];
|
|
144
137
|
export interface GetClients200Response {
|
|
145
138
|
'clients': Array<UserClient>;
|
|
146
139
|
}
|
|
@@ -1110,7 +1103,7 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1110
1103
|
* @param {*} [options] Override http request option.
|
|
1111
1104
|
* @throws {RequiredError}
|
|
1112
1105
|
*/
|
|
1113
|
-
generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1106
|
+
generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateBrandContextResponse>>;
|
|
1114
1107
|
/**
|
|
1115
1108
|
* Lists the auth tokens for the project
|
|
1116
1109
|
* @summary List auth tokens
|
|
@@ -1540,7 +1533,7 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1540
1533
|
* @param {*} [options] Override http request option.
|
|
1541
1534
|
* @throws {RequiredError}
|
|
1542
1535
|
*/
|
|
1543
|
-
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1536
|
+
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateBrandContextResponse>;
|
|
1544
1537
|
/**
|
|
1545
1538
|
* Lists the auth tokens for the project
|
|
1546
1539
|
* @summary List auth tokens
|
|
@@ -2562,7 +2555,7 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2562
2555
|
* @param {*} [options] Override http request option.
|
|
2563
2556
|
* @throws {RequiredError}
|
|
2564
2557
|
*/
|
|
2565
|
-
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2558
|
+
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateBrandContextResponse, any, {}>>;
|
|
2566
2559
|
/**
|
|
2567
2560
|
* Lists the auth tokens for the project
|
|
2568
2561
|
* @summary List auth tokens
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Projects API
|
|
6
6
|
* Manage PodOS Projects
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.59.
|
|
8
|
+
* The version of the OpenAPI document: 1.59.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,17 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.SetupMethodTypeEnum = exports.ProjectUserTypeEnum = exports.OkrLevel =
|
|
25
|
+
exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.SetupMethodTypeEnum = exports.ProjectUserTypeEnum = exports.OkrLevel = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const common_1 = require("./common");
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("./base");
|
|
32
|
-
exports.GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = {
|
|
33
|
-
Image: 'image',
|
|
34
|
-
Pdf: 'pdf'
|
|
35
|
-
};
|
|
36
32
|
/**
|
|
37
33
|
* Indicates whether the task is an OKR associated with the user
|
|
38
34
|
*/
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Projects API
|
|
3
3
|
* Manage PodOS Projects
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.59.
|
|
5
|
+
* The version of the OpenAPI document: 1.59.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -129,18 +129,11 @@ export interface ExportTasks202Response {
|
|
|
129
129
|
}
|
|
130
130
|
export interface GenerateBrandContextRequest {
|
|
131
131
|
'mainSiteUrl'?: string | null;
|
|
132
|
-
'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
|
|
133
132
|
}
|
|
134
|
-
export interface
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
|
|
133
|
+
export interface GenerateBrandContextResponse {
|
|
134
|
+
'message': string;
|
|
135
|
+
'generationId': string;
|
|
138
136
|
}
|
|
139
|
-
export declare const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum: {
|
|
140
|
-
readonly Image: "image";
|
|
141
|
-
readonly Pdf: "pdf";
|
|
142
|
-
};
|
|
143
|
-
export type GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum[keyof typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum];
|
|
144
137
|
export interface GetClients200Response {
|
|
145
138
|
'clients': Array<UserClient>;
|
|
146
139
|
}
|
|
@@ -1110,7 +1103,7 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
1110
1103
|
* @param {*} [options] Override http request option.
|
|
1111
1104
|
* @throws {RequiredError}
|
|
1112
1105
|
*/
|
|
1113
|
-
generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1106
|
+
generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateBrandContextResponse>>;
|
|
1114
1107
|
/**
|
|
1115
1108
|
* Lists the auth tokens for the project
|
|
1116
1109
|
* @summary List auth tokens
|
|
@@ -1540,7 +1533,7 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
|
|
|
1540
1533
|
* @param {*} [options] Override http request option.
|
|
1541
1534
|
* @throws {RequiredError}
|
|
1542
1535
|
*/
|
|
1543
|
-
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1536
|
+
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<GenerateBrandContextResponse>;
|
|
1544
1537
|
/**
|
|
1545
1538
|
* Lists the auth tokens for the project
|
|
1546
1539
|
* @summary List auth tokens
|
|
@@ -2562,7 +2555,7 @@ export declare class ProjectsApi extends BaseAPI {
|
|
|
2562
2555
|
* @param {*} [options] Override http request option.
|
|
2563
2556
|
* @throws {RequiredError}
|
|
2564
2557
|
*/
|
|
2565
|
-
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2558
|
+
generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateBrandContextResponse, any, {}>>;
|
|
2566
2559
|
/**
|
|
2567
2560
|
* Lists the auth tokens for the project
|
|
2568
2561
|
* @summary List auth tokens
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Projects API
|
|
5
5
|
* Manage PodOS Projects
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.59.
|
|
7
|
+
* The version of the OpenAPI document: 1.59.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,10 +26,6 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
-
export const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = {
|
|
30
|
-
Image: 'image',
|
|
31
|
-
Pdf: 'pdf'
|
|
32
|
-
};
|
|
33
29
|
/**
|
|
34
30
|
* Indicates whether the task is an OKR associated with the user
|
|
35
31
|
*/
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**mainSiteUrl** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**referenceFileRefs** | [**Array<GenerateBrandContextRequestReferenceFileRefsInner>**](GenerateBrandContextRequestReferenceFileRefsInner.md) | | [optional] [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
@@ -15,7 +14,6 @@ import { GenerateBrandContextRequest } from '@teemill/projects';
|
|
|
15
14
|
|
|
16
15
|
const instance: GenerateBrandContextRequest = {
|
|
17
16
|
mainSiteUrl,
|
|
18
|
-
referenceFileRefs,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# GenerateBrandContextResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
**generationId** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { GenerateBrandContextResponse } from '@teemill/projects';
|
|
15
|
+
|
|
16
|
+
const instance: GenerateBrandContextResponse = {
|
|
17
|
+
message,
|
|
18
|
+
generationId,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/ProjectsApi.md
CHANGED
|
@@ -1035,7 +1035,7 @@ const { status, data } = await apiInstance.exportTasks(
|
|
|
1035
1035
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1036
1036
|
|
|
1037
1037
|
# **generateBrandContext**
|
|
1038
|
-
>
|
|
1038
|
+
> GenerateBrandContextResponse generateBrandContext()
|
|
1039
1039
|
|
|
1040
1040
|
|
|
1041
1041
|
### Example
|
|
@@ -1069,7 +1069,7 @@ const { status, data } = await apiInstance.generateBrandContext(
|
|
|
1069
1069
|
|
|
1070
1070
|
### Return type
|
|
1071
1071
|
|
|
1072
|
-
**
|
|
1072
|
+
**GenerateBrandContextResponse**
|
|
1073
1073
|
|
|
1074
1074
|
### Authorization
|
|
1075
1075
|
|
|
@@ -1084,7 +1084,7 @@ const { status, data } = await apiInstance.generateBrandContext(
|
|
|
1084
1084
|
### HTTP response details
|
|
1085
1085
|
| Status code | Description | Response headers |
|
|
1086
1086
|
|-------------|-------------|------------------|
|
|
1087
|
-
|**200** | Successfully
|
|
1087
|
+
|**200** | Successfully generated brand context | - |
|
|
1088
1088
|
|**400** | Failed validation | - |
|
|
1089
1089
|
|**401** | Not authorised to access this resource | - |
|
|
1090
1090
|
|**403** | Refuse to authorize | - |
|
package/index.ts
CHANGED