@teemill/projects 1.58.1 → 1.59.0

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.58.1
1
+ ## @teemill/projects@1.59.0
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.58.1 --save
39
+ npm install @teemill/projects@1.59.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -68,6 +68,7 @@ Class | Method | HTTP request | Description
68
68
  *ProjectsApi* | [**deleteUserGroup**](docs/ProjectsApi.md#deleteusergroup) | **DELETE** /v1/projects/{project}/user-groups/{userGroup} | Delete group
69
69
  *ProjectsApi* | [**exportOkrs**](docs/ProjectsApi.md#exportokrs) | **GET** /v1/projects/{project}/okrs/export | Export all OKRs
70
70
  *ProjectsApi* | [**exportTasks**](docs/ProjectsApi.md#exporttasks) | **GET** /v1/projects/{project}/tasks/export | Export all tasks
71
+ *ProjectsApi* | [**generateBrandContext**](docs/ProjectsApi.md#generatebrandcontext) | **POST** /v1/projects/{project}/brand-context/generate | Generate or update brand context
71
72
  *ProjectsApi* | [**getAuth**](docs/ProjectsApi.md#getauth) | **GET** /v1/projects/{project}/auth | List auth tokens
72
73
  *ProjectsApi* | [**getClients**](docs/ProjectsApi.md#getclients) | **GET** /v1/projects/{project}/users/{user}/clients | List clients
73
74
  *ProjectsApi* | [**getIntegration**](docs/ProjectsApi.md#getintegration) | **GET** /v1/projects/{project}/integrations/{integration} | Get integration
@@ -124,6 +125,8 @@ Class | Method | HTTP request | Description
124
125
  - [CreateTaskRequestSource](docs/CreateTaskRequestSource.md)
125
126
  - [CreateUserGroupRequest](docs/CreateUserGroupRequest.md)
126
127
  - [ExportTasks202Response](docs/ExportTasks202Response.md)
128
+ - [GenerateBrandContextRequest](docs/GenerateBrandContextRequest.md)
129
+ - [GenerateBrandContextRequestReferenceFileRefsInner](docs/GenerateBrandContextRequestReferenceFileRefsInner.md)
127
130
  - [GetClients200Response](docs/GetClients200Response.md)
128
131
  - [GetLogs200Response](docs/GetLogs200Response.md)
129
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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
@@ -140,6 +140,23 @@ export interface ExportTasks202Response {
140
140
  */
141
141
  'message'?: string;
142
142
  }
143
+ export interface GenerateBrandContextRequest {
144
+ 'mainSiteUrl'?: string | null;
145
+ 'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
146
+ }
147
+ export interface GenerateBrandContextRequestReferenceFileRefsInner {
148
+ 'driveSrc': string;
149
+ 'src'?: string;
150
+ 'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
151
+ }
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
+
143
160
  export interface GetClients200Response {
144
161
  'clients': Array<UserClient>;
145
162
  }
@@ -1280,6 +1297,50 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
1280
1297
  options: localVarRequestOptions,
1281
1298
  };
1282
1299
  },
1300
+ /**
1301
+ *
1302
+ * @summary Generate or update brand context
1303
+ * @param {string} project Projects unique identifier
1304
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ generateBrandContext: async (project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1309
+ // verify required parameter 'project' is not null or undefined
1310
+ assertParamExists('generateBrandContext', 'project', project)
1311
+ const localVarPath = `/v1/projects/{project}/brand-context/generate`
1312
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
1313
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1314
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1315
+ let baseOptions;
1316
+ if (configuration) {
1317
+ baseOptions = configuration.baseOptions;
1318
+ }
1319
+
1320
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1321
+ const localVarHeaderParameter = {} as any;
1322
+ const localVarQueryParameter = {} as any;
1323
+
1324
+ // authentication session-oauth required
1325
+ // oauth required
1326
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1327
+
1328
+ // authentication api-key required
1329
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1330
+
1331
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1332
+ localVarHeaderParameter['Accept'] = 'application/json';
1333
+
1334
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1335
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1336
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1337
+ localVarRequestOptions.data = serializeDataIfNeeded(generateBrandContextRequest, localVarRequestOptions, configuration)
1338
+
1339
+ return {
1340
+ url: toPathString(localVarUrlObj),
1341
+ options: localVarRequestOptions,
1342
+ };
1343
+ },
1283
1344
  /**
1284
1345
  * Lists the auth tokens for the project
1285
1346
  * @summary List auth tokens
@@ -2939,6 +3000,20 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
2939
3000
  const localVarOperationServerBasePath = operationServerMap['ProjectsApi.exportTasks']?.[localVarOperationServerIndex]?.url;
2940
3001
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2941
3002
  },
3003
+ /**
3004
+ *
3005
+ * @summary Generate or update brand context
3006
+ * @param {string} project Projects unique identifier
3007
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
3008
+ * @param {*} [options] Override http request option.
3009
+ * @throws {RequiredError}
3010
+ */
3011
+ async generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>> {
3012
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateBrandContext(project, generateBrandContextRequest, options);
3013
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3014
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.generateBrandContext']?.[localVarOperationServerIndex]?.url;
3015
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3016
+ },
2942
3017
  /**
2943
3018
  * Lists the auth tokens for the project
2944
3019
  * @summary List auth tokens
@@ -3554,6 +3629,16 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3554
3629
  exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
3555
3630
  return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
3556
3631
  },
3632
+ /**
3633
+ *
3634
+ * @summary Generate or update brand context
3635
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
3636
+ * @param {*} [options] Override http request option.
3637
+ * @throws {RequiredError}
3638
+ */
3639
+ generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration> {
3640
+ return localVarFp.generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(axios, basePath));
3641
+ },
3557
3642
  /**
3558
3643
  * Lists the auth tokens for the project
3559
3644
  * @summary List auth tokens
@@ -4097,6 +4182,21 @@ export interface ProjectsApiExportTasksRequest {
4097
4182
  readonly project: string
4098
4183
  }
4099
4184
 
4185
+ /**
4186
+ * Request parameters for generateBrandContext operation in ProjectsApi.
4187
+ */
4188
+ export interface ProjectsApiGenerateBrandContextRequest {
4189
+ /**
4190
+ * Projects unique identifier
4191
+ */
4192
+ readonly project: string
4193
+
4194
+ /**
4195
+ * Request body to generate or update brand context
4196
+ */
4197
+ readonly generateBrandContextRequest?: GenerateBrandContextRequest
4198
+ }
4199
+
4100
4200
  /**
4101
4201
  * Request parameters for getAuth operation in ProjectsApi.
4102
4202
  */
@@ -4763,6 +4863,17 @@ export class ProjectsApi extends BaseAPI {
4763
4863
  return ProjectsApiFp(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4764
4864
  }
4765
4865
 
4866
+ /**
4867
+ *
4868
+ * @summary Generate or update brand context
4869
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
4870
+ * @param {*} [options] Override http request option.
4871
+ * @throws {RequiredError}
4872
+ */
4873
+ public generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig) {
4874
+ return ProjectsApiFp(this.configuration).generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(this.axios, this.basePath));
4875
+ }
4876
+
4766
4877
  /**
4767
4878
  * Lists the auth tokens for the project
4768
4879
  * @summary List auth tokens
package/base.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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Projects API
4
4
  * Manage PodOS Projects
5
5
  *
6
- * The version of the OpenAPI document: 1.58.1
6
+ * The version of the OpenAPI document: 1.59.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -127,6 +127,20 @@ export interface ExportTasks202Response {
127
127
  */
128
128
  'message'?: string;
129
129
  }
130
+ export interface GenerateBrandContextRequest {
131
+ 'mainSiteUrl'?: string | null;
132
+ 'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
133
+ }
134
+ export interface GenerateBrandContextRequestReferenceFileRefsInner {
135
+ 'driveSrc': string;
136
+ 'src'?: string;
137
+ 'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
138
+ }
139
+ export declare const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum: {
140
+ readonly Image: "image";
141
+ readonly Pdf: "pdf";
142
+ };
143
+ export type GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum[keyof typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum];
130
144
  export interface GetClients200Response {
131
145
  'clients': Array<UserClient>;
132
146
  }
@@ -645,6 +659,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
645
659
  * @throws {RequiredError}
646
660
  */
647
661
  exportTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
662
+ /**
663
+ *
664
+ * @summary Generate or update brand context
665
+ * @param {string} project Projects unique identifier
666
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ generateBrandContext: (project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
648
671
  /**
649
672
  * Lists the auth tokens for the project
650
673
  * @summary List auth tokens
@@ -1079,6 +1102,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1079
1102
  * @throws {RequiredError}
1080
1103
  */
1081
1104
  exportTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1105
+ /**
1106
+ *
1107
+ * @summary Generate or update brand context
1108
+ * @param {string} project Projects unique identifier
1109
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>>;
1082
1114
  /**
1083
1115
  * Lists the auth tokens for the project
1084
1116
  * @summary List auth tokens
@@ -1501,6 +1533,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
1501
1533
  * @throws {RequiredError}
1502
1534
  */
1503
1535
  exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1536
+ /**
1537
+ *
1538
+ * @summary Generate or update brand context
1539
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
1540
+ * @param {*} [options] Override http request option.
1541
+ * @throws {RequiredError}
1542
+ */
1543
+ generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration>;
1504
1544
  /**
1505
1545
  * Lists the auth tokens for the project
1506
1546
  * @summary List auth tokens
@@ -1951,6 +1991,19 @@ export interface ProjectsApiExportTasksRequest {
1951
1991
  */
1952
1992
  readonly project: string;
1953
1993
  }
1994
+ /**
1995
+ * Request parameters for generateBrandContext operation in ProjectsApi.
1996
+ */
1997
+ export interface ProjectsApiGenerateBrandContextRequest {
1998
+ /**
1999
+ * Projects unique identifier
2000
+ */
2001
+ readonly project: string;
2002
+ /**
2003
+ * Request body to generate or update brand context
2004
+ */
2005
+ readonly generateBrandContextRequest?: GenerateBrandContextRequest;
2006
+ }
1954
2007
  /**
1955
2008
  * Request parameters for getAuth operation in ProjectsApi.
1956
2009
  */
@@ -2502,6 +2555,14 @@ export declare class ProjectsApi extends BaseAPI {
2502
2555
  * @throws {RequiredError}
2503
2556
  */
2504
2557
  exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
2558
+ /**
2559
+ *
2560
+ * @summary Generate or update brand context
2561
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
2562
+ * @param {*} [options] Override http request option.
2563
+ * @throws {RequiredError}
2564
+ */
2565
+ generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Integration, any, {}>>;
2505
2566
  /**
2506
2567
  * Lists the auth tokens for the project
2507
2568
  * @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.58.1
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,13 +22,17 @@ 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 = void 0;
25
+ exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.TemplateCode = exports.TaskStatus = exports.SetupMethodTypeEnum = exports.ProjectUserTypeEnum = exports.OkrLevel = exports.GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = 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
+ };
32
36
  /**
33
37
  * Indicates whether the task is an OKR associated with the user
34
38
  */
@@ -711,6 +715,44 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
711
715
  options: localVarRequestOptions,
712
716
  };
713
717
  }),
718
+ /**
719
+ *
720
+ * @summary Generate or update brand context
721
+ * @param {string} project Projects unique identifier
722
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
723
+ * @param {*} [options] Override http request option.
724
+ * @throws {RequiredError}
725
+ */
726
+ generateBrandContext: (project_1, generateBrandContextRequest_1, ...args_1) => __awaiter(this, [project_1, generateBrandContextRequest_1, ...args_1], void 0, function* (project, generateBrandContextRequest, options = {}) {
727
+ // verify required parameter 'project' is not null or undefined
728
+ (0, common_1.assertParamExists)('generateBrandContext', 'project', project);
729
+ const localVarPath = `/v1/projects/{project}/brand-context/generate`
730
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
731
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
732
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
733
+ let baseOptions;
734
+ if (configuration) {
735
+ baseOptions = configuration.baseOptions;
736
+ }
737
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
738
+ const localVarHeaderParameter = {};
739
+ const localVarQueryParameter = {};
740
+ // authentication session-oauth required
741
+ // oauth required
742
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
743
+ // authentication api-key required
744
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
745
+ localVarHeaderParameter['Content-Type'] = 'application/json';
746
+ localVarHeaderParameter['Accept'] = 'application/json';
747
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
749
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
750
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(generateBrandContextRequest, localVarRequestOptions, configuration);
751
+ return {
752
+ url: (0, common_1.toPathString)(localVarUrlObj),
753
+ options: localVarRequestOptions,
754
+ };
755
+ }),
714
756
  /**
715
757
  * Lists the auth tokens for the project
716
758
  * @summary List auth tokens
@@ -2226,6 +2268,23 @@ const ProjectsApiFp = function (configuration) {
2226
2268
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2227
2269
  });
2228
2270
  },
2271
+ /**
2272
+ *
2273
+ * @summary Generate or update brand context
2274
+ * @param {string} project Projects unique identifier
2275
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
2276
+ * @param {*} [options] Override http request option.
2277
+ * @throws {RequiredError}
2278
+ */
2279
+ generateBrandContext(project, generateBrandContextRequest, options) {
2280
+ return __awaiter(this, void 0, void 0, function* () {
2281
+ var _a, _b, _c;
2282
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateBrandContext(project, generateBrandContextRequest, options);
2283
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2284
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.generateBrandContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2285
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2286
+ });
2287
+ },
2229
2288
  /**
2230
2289
  * Lists the auth tokens for the project
2231
2290
  * @summary List auth tokens
@@ -2934,6 +2993,16 @@ const ProjectsApiFactory = function (configuration, basePath, axios) {
2934
2993
  exportTasks(requestParameters, options) {
2935
2994
  return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
2936
2995
  },
2996
+ /**
2997
+ *
2998
+ * @summary Generate or update brand context
2999
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
3000
+ * @param {*} [options] Override http request option.
3001
+ * @throws {RequiredError}
3002
+ */
3003
+ generateBrandContext(requestParameters, options) {
3004
+ return localVarFp.generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(axios, basePath));
3005
+ },
2937
3006
  /**
2938
3007
  * Lists the auth tokens for the project
2939
3008
  * @summary List auth tokens
@@ -3421,6 +3490,16 @@ class ProjectsApi extends base_1.BaseAPI {
3421
3490
  exportTasks(requestParameters, options) {
3422
3491
  return (0, exports.ProjectsApiFp)(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3423
3492
  }
3493
+ /**
3494
+ *
3495
+ * @summary Generate or update brand context
3496
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
3497
+ * @param {*} [options] Override http request option.
3498
+ * @throws {RequiredError}
3499
+ */
3500
+ generateBrandContext(requestParameters, options) {
3501
+ return (0, exports.ProjectsApiFp)(this.configuration).generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(this.axios, this.basePath));
3502
+ }
3424
3503
  /**
3425
3504
  * Lists the auth tokens for the project
3426
3505
  * @summary List auth tokens
package/dist/base.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.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.58.1
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.58.1
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -127,6 +127,20 @@ export interface ExportTasks202Response {
127
127
  */
128
128
  'message'?: string;
129
129
  }
130
+ export interface GenerateBrandContextRequest {
131
+ 'mainSiteUrl'?: string | null;
132
+ 'referenceFileRefs'?: Array<GenerateBrandContextRequestReferenceFileRefsInner> | null;
133
+ }
134
+ export interface GenerateBrandContextRequestReferenceFileRefsInner {
135
+ 'driveSrc': string;
136
+ 'src'?: string;
137
+ 'type': GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum;
138
+ }
139
+ export declare const GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum: {
140
+ readonly Image: "image";
141
+ readonly Pdf: "pdf";
142
+ };
143
+ export type GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum = typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum[keyof typeof GenerateBrandContextRequestReferenceFileRefsInnerTypeEnum];
130
144
  export interface GetClients200Response {
131
145
  'clients': Array<UserClient>;
132
146
  }
@@ -645,6 +659,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
645
659
  * @throws {RequiredError}
646
660
  */
647
661
  exportTasks: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
662
+ /**
663
+ *
664
+ * @summary Generate or update brand context
665
+ * @param {string} project Projects unique identifier
666
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ generateBrandContext: (project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
648
671
  /**
649
672
  * Lists the auth tokens for the project
650
673
  * @summary List auth tokens
@@ -1079,6 +1102,15 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1079
1102
  * @throws {RequiredError}
1080
1103
  */
1081
1104
  exportTasks(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
1105
+ /**
1106
+ *
1107
+ * @summary Generate or update brand context
1108
+ * @param {string} project Projects unique identifier
1109
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ generateBrandContext(project: string, generateBrandContextRequest?: GenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Integration>>;
1082
1114
  /**
1083
1115
  * Lists the auth tokens for the project
1084
1116
  * @summary List auth tokens
@@ -1501,6 +1533,14 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
1501
1533
  * @throws {RequiredError}
1502
1534
  */
1503
1535
  exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
1536
+ /**
1537
+ *
1538
+ * @summary Generate or update brand context
1539
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
1540
+ * @param {*} [options] Override http request option.
1541
+ * @throws {RequiredError}
1542
+ */
1543
+ generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<Integration>;
1504
1544
  /**
1505
1545
  * Lists the auth tokens for the project
1506
1546
  * @summary List auth tokens
@@ -1951,6 +1991,19 @@ export interface ProjectsApiExportTasksRequest {
1951
1991
  */
1952
1992
  readonly project: string;
1953
1993
  }
1994
+ /**
1995
+ * Request parameters for generateBrandContext operation in ProjectsApi.
1996
+ */
1997
+ export interface ProjectsApiGenerateBrandContextRequest {
1998
+ /**
1999
+ * Projects unique identifier
2000
+ */
2001
+ readonly project: string;
2002
+ /**
2003
+ * Request body to generate or update brand context
2004
+ */
2005
+ readonly generateBrandContextRequest?: GenerateBrandContextRequest;
2006
+ }
1954
2007
  /**
1955
2008
  * Request parameters for getAuth operation in ProjectsApi.
1956
2009
  */
@@ -2502,6 +2555,14 @@ export declare class ProjectsApi extends BaseAPI {
2502
2555
  * @throws {RequiredError}
2503
2556
  */
2504
2557
  exportTasks(requestParameters: ProjectsApiExportTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
2558
+ /**
2559
+ *
2560
+ * @summary Generate or update brand context
2561
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
2562
+ * @param {*} [options] Override http request option.
2563
+ * @throws {RequiredError}
2564
+ */
2565
+ generateBrandContext(requestParameters: ProjectsApiGenerateBrandContextRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Integration, any, {}>>;
2505
2566
  /**
2506
2567
  * Lists the auth tokens for the project
2507
2568
  * @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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,6 +26,10 @@ 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
+ };
29
33
  /**
30
34
  * Indicates whether the task is an OKR associated with the user
31
35
  */
@@ -708,6 +712,44 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
708
712
  options: localVarRequestOptions,
709
713
  };
710
714
  }),
715
+ /**
716
+ *
717
+ * @summary Generate or update brand context
718
+ * @param {string} project Projects unique identifier
719
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ */
723
+ generateBrandContext: (project_1, generateBrandContextRequest_1, ...args_1) => __awaiter(this, [project_1, generateBrandContextRequest_1, ...args_1], void 0, function* (project, generateBrandContextRequest, options = {}) {
724
+ // verify required parameter 'project' is not null or undefined
725
+ assertParamExists('generateBrandContext', 'project', project);
726
+ const localVarPath = `/v1/projects/{project}/brand-context/generate`
727
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
728
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
729
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
730
+ let baseOptions;
731
+ if (configuration) {
732
+ baseOptions = configuration.baseOptions;
733
+ }
734
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
735
+ const localVarHeaderParameter = {};
736
+ const localVarQueryParameter = {};
737
+ // authentication session-oauth required
738
+ // oauth required
739
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
740
+ // authentication api-key required
741
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
742
+ localVarHeaderParameter['Content-Type'] = 'application/json';
743
+ localVarHeaderParameter['Accept'] = 'application/json';
744
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
746
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
747
+ localVarRequestOptions.data = serializeDataIfNeeded(generateBrandContextRequest, localVarRequestOptions, configuration);
748
+ return {
749
+ url: toPathString(localVarUrlObj),
750
+ options: localVarRequestOptions,
751
+ };
752
+ }),
711
753
  /**
712
754
  * Lists the auth tokens for the project
713
755
  * @summary List auth tokens
@@ -2222,6 +2264,23 @@ export const ProjectsApiFp = function (configuration) {
2222
2264
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2223
2265
  });
2224
2266
  },
2267
+ /**
2268
+ *
2269
+ * @summary Generate or update brand context
2270
+ * @param {string} project Projects unique identifier
2271
+ * @param {GenerateBrandContextRequest} [generateBrandContextRequest] Request body to generate or update brand context
2272
+ * @param {*} [options] Override http request option.
2273
+ * @throws {RequiredError}
2274
+ */
2275
+ generateBrandContext(project, generateBrandContextRequest, options) {
2276
+ return __awaiter(this, void 0, void 0, function* () {
2277
+ var _a, _b, _c;
2278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateBrandContext(project, generateBrandContextRequest, options);
2279
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2280
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.generateBrandContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2281
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2282
+ });
2283
+ },
2225
2284
  /**
2226
2285
  * Lists the auth tokens for the project
2227
2286
  * @summary List auth tokens
@@ -2929,6 +2988,16 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
2929
2988
  exportTasks(requestParameters, options) {
2930
2989
  return localVarFp.exportTasks(requestParameters.project, options).then((request) => request(axios, basePath));
2931
2990
  },
2991
+ /**
2992
+ *
2993
+ * @summary Generate or update brand context
2994
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
2995
+ * @param {*} [options] Override http request option.
2996
+ * @throws {RequiredError}
2997
+ */
2998
+ generateBrandContext(requestParameters, options) {
2999
+ return localVarFp.generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(axios, basePath));
3000
+ },
2932
3001
  /**
2933
3002
  * Lists the auth tokens for the project
2934
3003
  * @summary List auth tokens
@@ -3415,6 +3484,16 @@ export class ProjectsApi extends BaseAPI {
3415
3484
  exportTasks(requestParameters, options) {
3416
3485
  return ProjectsApiFp(this.configuration).exportTasks(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3417
3486
  }
3487
+ /**
3488
+ *
3489
+ * @summary Generate or update brand context
3490
+ * @param {ProjectsApiGenerateBrandContextRequest} requestParameters Request parameters.
3491
+ * @param {*} [options] Override http request option.
3492
+ * @throws {RequiredError}
3493
+ */
3494
+ generateBrandContext(requestParameters, options) {
3495
+ return ProjectsApiFp(this.configuration).generateBrandContext(requestParameters.project, requestParameters.generateBrandContextRequest, options).then((request) => request(this.axios, this.basePath));
3496
+ }
3418
3497
  /**
3419
3498
  * Lists the auth tokens for the project
3420
3499
  * @summary List auth tokens
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Projects API
4
4
  * Manage PodOS Projects
5
5
  *
6
- * The version of the OpenAPI document: 1.58.1
6
+ * The version of the OpenAPI document: 1.59.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.58.1
5
+ * The version of the OpenAPI document: 1.59.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.58.1
8
+ * The version of the OpenAPI document: 1.59.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,22 @@
1
+ # GenerateBrandContextRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **mainSiteUrl** | **string** | | [optional] [default to undefined]
9
+ **referenceFileRefs** | [**Array&lt;GenerateBrandContextRequestReferenceFileRefsInner&gt;**](GenerateBrandContextRequestReferenceFileRefsInner.md) | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { GenerateBrandContextRequest } from '@teemill/projects';
15
+
16
+ const instance: GenerateBrandContextRequest = {
17
+ mainSiteUrl,
18
+ referenceFileRefs,
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)
@@ -0,0 +1,24 @@
1
+ # GenerateBrandContextRequestReferenceFileRefsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **driveSrc** | **string** | | [default to undefined]
9
+ **src** | **string** | | [optional] [default to undefined]
10
+ **type** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GenerateBrandContextRequestReferenceFileRefsInner } from '@teemill/projects';
16
+
17
+ const instance: GenerateBrandContextRequestReferenceFileRefsInner = {
18
+ driveSrc,
19
+ src,
20
+ type,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -21,6 +21,7 @@ All URIs are relative to *https://localhost:8080*
21
21
  |[**deleteUserGroup**](#deleteusergroup) | **DELETE** /v1/projects/{project}/user-groups/{userGroup} | Delete group|
22
22
  |[**exportOkrs**](#exportokrs) | **GET** /v1/projects/{project}/okrs/export | Export all OKRs|
23
23
  |[**exportTasks**](#exporttasks) | **GET** /v1/projects/{project}/tasks/export | Export all tasks|
24
+ |[**generateBrandContext**](#generatebrandcontext) | **POST** /v1/projects/{project}/brand-context/generate | Generate or update brand context|
24
25
  |[**getAuth**](#getauth) | **GET** /v1/projects/{project}/auth | List auth tokens|
25
26
  |[**getClients**](#getclients) | **GET** /v1/projects/{project}/users/{user}/clients | List clients|
26
27
  |[**getIntegration**](#getintegration) | **GET** /v1/projects/{project}/integrations/{integration} | Get integration|
@@ -1033,6 +1034,65 @@ const { status, data } = await apiInstance.exportTasks(
1033
1034
 
1034
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)
1035
1036
 
1037
+ # **generateBrandContext**
1038
+ > Integration generateBrandContext()
1039
+
1040
+
1041
+ ### Example
1042
+
1043
+ ```typescript
1044
+ import {
1045
+ ProjectsApi,
1046
+ Configuration,
1047
+ GenerateBrandContextRequest
1048
+ } from '@teemill/projects';
1049
+
1050
+ const configuration = new Configuration();
1051
+ const apiInstance = new ProjectsApi(configuration);
1052
+
1053
+ let project: string; //Projects unique identifier (default to undefined)
1054
+ let generateBrandContextRequest: GenerateBrandContextRequest; //Request body to generate or update brand context (optional)
1055
+
1056
+ const { status, data } = await apiInstance.generateBrandContext(
1057
+ project,
1058
+ generateBrandContextRequest
1059
+ );
1060
+ ```
1061
+
1062
+ ### Parameters
1063
+
1064
+ |Name | Type | Description | Notes|
1065
+ |------------- | ------------- | ------------- | -------------|
1066
+ | **generateBrandContextRequest** | **GenerateBrandContextRequest**| Request body to generate or update brand context | |
1067
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
1068
+
1069
+
1070
+ ### Return type
1071
+
1072
+ **Integration**
1073
+
1074
+ ### Authorization
1075
+
1076
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
1077
+
1078
+ ### HTTP request headers
1079
+
1080
+ - **Content-Type**: application/json
1081
+ - **Accept**: application/json
1082
+
1083
+
1084
+ ### HTTP response details
1085
+ | Status code | Description | Response headers |
1086
+ |-------------|-------------|------------------|
1087
+ |**200** | Successfully retrieved a integration | - |
1088
+ |**400** | Failed validation | - |
1089
+ |**401** | Not authorised to access this resource | - |
1090
+ |**403** | Refuse to authorize | - |
1091
+ |**404** | Resource not found | - |
1092
+ |**500** | Unknown server error | - |
1093
+
1094
+ [[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)
1095
+
1036
1096
  # **getAuth**
1037
1097
  > AuthResponse getAuth()
1038
1098
 
package/index.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.58.1
7
+ * The version of the OpenAPI document: 1.59.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.58.1",
3
+ "version": "1.59.0",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {