@incomy/platform-sdk 0.4.0-93 → 0.4.0-97

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.
@@ -64,6 +64,7 @@ export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
64
64
  export type { TemplateInsert } from './models/TemplateInsert';
65
65
  export type { TemplateOperationDefinition } from './models/TemplateOperationDefinition';
66
66
  export type { TemplateSettlementDefinition } from './models/TemplateSettlementDefinition';
67
+ export type { UpdateProfileRequest } from './models/UpdateProfileRequest';
67
68
  export type { User } from './models/User';
68
69
  export type { UserIdentity } from './models/UserIdentity';
69
70
  export type { WalletBalance } from './models/WalletBalance';
@@ -0,0 +1,4 @@
1
+ export type UpdateProfileRequest = {
2
+ firstName?: string | null;
3
+ lastName?: string | null;
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { UpdateProfileRequest } from '../models/UpdateProfileRequest';
1
2
  import type { User } from '../models/User';
2
3
  import type { CancelablePromise } from '../core/CancelablePromise';
3
4
  export declare class AuthService {
@@ -24,4 +25,10 @@ export declare class AuthService {
24
25
  * @throws ApiError
25
26
  */
26
27
  static getAuthMe(): CancelablePromise<User>;
28
+ /**
29
+ * @param requestBody
30
+ * @returns User OK
31
+ * @throws ApiError
32
+ */
33
+ static postAuthMe(requestBody?: UpdateProfileRequest): CancelablePromise<User>;
27
34
  }
@@ -53,4 +53,17 @@ export class AuthService {
53
53
  url: '/auth/me',
54
54
  });
55
55
  }
56
+ /**
57
+ * @param requestBody
58
+ * @returns User OK
59
+ * @throws ApiError
60
+ */
61
+ static postAuthMe(requestBody) {
62
+ return __request(OpenAPI, {
63
+ method: 'POST',
64
+ url: '/auth/me',
65
+ body: requestBody,
66
+ mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
67
+ });
68
+ }
56
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incomy/platform-sdk",
3
- "version": "0.4.0-93",
3
+ "version": "0.4.0-97",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [