@flagpole/api-types 1.0.11 → 1.0.13

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,2 +1,2 @@
1
- # @flagpole/api-types v1.0.11
1
+ # @flagpole/api-types v1.0.12
2
2
  TypeScript types for FlagPole API generated from OpenAPI specification.
@@ -329,7 +329,6 @@ export interface StripeProductsResponseDto {
329
329
  products: ProductWithFeaturesDto[];
330
330
  }
331
331
  export type SubmitFeedbackDto = object;
332
- export type UpdateProfileDto = object;
333
332
  export interface UpdateProjectDto {
334
333
  /**
335
334
  * Optional project description
@@ -342,6 +341,10 @@ export interface UpdateProjectDto {
342
341
  */
343
342
  name: string;
344
343
  }
344
+ export interface UpdateUserProfileDto {
345
+ firstName?: string;
346
+ lastName?: string;
347
+ }
345
348
  export type UpdateUserProjectsDto = object;
346
349
  export type UpdateUserRoleDto = object;
347
350
  export type UsersControllerDeleteUserData = any;
@@ -583,7 +586,7 @@ export declare namespace Api {
583
586
  namespace UsersControllerUpdateProfile {
584
587
  type RequestParams = {};
585
588
  type RequestQuery = {};
586
- type RequestBody = UpdateProfileDto;
589
+ type RequestBody = UpdateUserProfileDto;
587
590
  type RequestHeaders = {};
588
591
  type ResponseBody = UsersControllerUpdateProfileData;
589
592
  }
@@ -1335,7 +1338,7 @@ export declare class Api<SecurityDataType extends unknown> {
1335
1338
  * @request PATCH:/api/users/profile
1336
1339
  * @response `200` `UsersControllerUpdateProfileData`
1337
1340
  */
1338
- usersControllerUpdateProfile: (data: UpdateProfileDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
1341
+ usersControllerUpdateProfile: (data: UpdateUserProfileDto, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
1339
1342
  /**
1340
1343
  * No description
1341
1344
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flagpole/api-types",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "TypeScript types for FlagPole API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -41,4 +41,4 @@
41
41
  "typescript": "^5.7.2",
42
42
  "@types/node": "^22.9.4"
43
43
  }
44
- }
44
+ }