@incomy/platform-sdk 0.0.0-b72bf745 → 0.0.0-c6fd18b6

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.
Files changed (51) hide show
  1. package/dist/services/core/index.d.ts +8 -19
  2. package/dist/services/core/index.js +2 -4
  3. package/dist/services/core/models/InputFieldDefinition.d.ts +1 -1
  4. package/dist/services/core/models/{Company.d.ts → Project.d.ts} +1 -1
  5. package/dist/services/core/models/{GroupEdit.d.ts → ProjectEdit.d.ts} +1 -1
  6. package/dist/services/core/models/ProjectInsert.d.ts +3 -0
  7. package/dist/services/core/models/{GroupWallet.d.ts → ProjectWallet.d.ts} +1 -1
  8. package/dist/services/core/models/{GroupWalletEdit.d.ts → ProjectWalletEdit.d.ts} +1 -1
  9. package/dist/services/core/models/{GroupWalletInsert.d.ts → ProjectWalletInsert.d.ts} +1 -1
  10. package/dist/services/core/services/BucketsService.d.ts +10 -10
  11. package/dist/services/core/services/BucketsService.js +20 -20
  12. package/dist/services/core/services/EntriesService.d.ts +10 -10
  13. package/dist/services/core/services/EntriesService.js +20 -20
  14. package/dist/services/core/services/ProjectWalletsService.d.ts +49 -0
  15. package/dist/services/core/services/{GroupWalletsService.js → ProjectWalletsService.js} +29 -29
  16. package/dist/services/core/services/ProjectsService.d.ts +89 -0
  17. package/dist/services/core/services/{GroupsService.js → ProjectsService.js} +49 -49
  18. package/dist/services/core/services/TemplatesService.d.ts +10 -10
  19. package/dist/services/core/services/TemplatesService.js +20 -20
  20. package/package.json +1 -1
  21. package/dist/services/core/models/CompanyEdit.d.ts +0 -3
  22. package/dist/services/core/models/CompanyInsert.d.ts +0 -3
  23. package/dist/services/core/models/Group.d.ts +0 -4
  24. package/dist/services/core/models/GroupInsert.d.ts +0 -3
  25. package/dist/services/core/models/GroupWallet.js +0 -1
  26. package/dist/services/core/models/GroupWalletEdit.js +0 -1
  27. package/dist/services/core/models/GroupWalletInsert.js +0 -1
  28. package/dist/services/core/models/Individual.d.ts +0 -5
  29. package/dist/services/core/models/Individual.js +0 -1
  30. package/dist/services/core/models/IndividualEdit.d.ts +0 -4
  31. package/dist/services/core/models/IndividualEdit.js +0 -1
  32. package/dist/services/core/models/IndividualInsert.d.ts +0 -4
  33. package/dist/services/core/models/IndividualInsert.js +0 -1
  34. package/dist/services/core/models/Wallet.d.ts +0 -4
  35. package/dist/services/core/models/Wallet.js +0 -1
  36. package/dist/services/core/models/WalletEdit.d.ts +0 -3
  37. package/dist/services/core/models/WalletEdit.js +0 -1
  38. package/dist/services/core/models/WalletInsert.d.ts +0 -3
  39. package/dist/services/core/models/WalletInsert.js +0 -1
  40. package/dist/services/core/services/CompaniesService.d.ts +0 -74
  41. package/dist/services/core/services/CompaniesService.js +0 -154
  42. package/dist/services/core/services/GroupWalletsService.d.ts +0 -49
  43. package/dist/services/core/services/GroupsService.d.ts +0 -89
  44. package/dist/services/core/services/IndividualsService.d.ts +0 -74
  45. package/dist/services/core/services/IndividualsService.js +0 -154
  46. /package/dist/services/core/models/{Company.js → Project.js} +0 -0
  47. /package/dist/services/core/models/{CompanyEdit.js → ProjectEdit.js} +0 -0
  48. /package/dist/services/core/models/{CompanyInsert.js → ProjectInsert.js} +0 -0
  49. /package/dist/services/core/models/{Group.js → ProjectWallet.js} +0 -0
  50. /package/dist/services/core/models/{GroupEdit.js → ProjectWalletEdit.js} +0 -0
  51. /package/dist/services/core/models/{GroupInsert.js → ProjectWalletInsert.js} +0 -0
@@ -10,21 +10,9 @@ export type { BucketBalance } from './models/BucketBalance';
10
10
  export type { BucketBreakdown } from './models/BucketBreakdown';
11
11
  export type { BucketEdit } from './models/BucketEdit';
12
12
  export type { BucketInsert } from './models/BucketInsert';
13
- export type { Company } from './models/Company';
14
- export type { CompanyEdit } from './models/CompanyEdit';
15
- export type { CompanyInsert } from './models/CompanyInsert';
16
13
  export type { Entry } from './models/Entry';
17
14
  export type { EntryEdit } from './models/EntryEdit';
18
15
  export type { EntryInsert } from './models/EntryInsert';
19
- export type { Group } from './models/Group';
20
- export type { GroupEdit } from './models/GroupEdit';
21
- export type { GroupInsert } from './models/GroupInsert';
22
- export type { GroupWallet } from './models/GroupWallet';
23
- export type { GroupWalletEdit } from './models/GroupWalletEdit';
24
- export type { GroupWalletInsert } from './models/GroupWalletInsert';
25
- export type { Individual } from './models/Individual';
26
- export type { IndividualEdit } from './models/IndividualEdit';
27
- export type { IndividualInsert } from './models/IndividualInsert';
28
16
  export type { InputFieldDefinition } from './models/InputFieldDefinition';
29
17
  export type { Member } from './models/Member';
30
18
  export type { MemberBalanceReport } from './models/MemberBalanceReport';
@@ -35,6 +23,12 @@ export type { MoneyExpression } from './models/MoneyExpression';
35
23
  export type { Operation } from './models/Operation';
36
24
  export type { OperationEdit } from './models/OperationEdit';
37
25
  export type { OperationInsert } from './models/OperationInsert';
26
+ export type { Project } from './models/Project';
27
+ export type { ProjectEdit } from './models/ProjectEdit';
28
+ export type { ProjectInsert } from './models/ProjectInsert';
29
+ export type { ProjectWallet } from './models/ProjectWallet';
30
+ export type { ProjectWalletEdit } from './models/ProjectWalletEdit';
31
+ export type { ProjectWalletInsert } from './models/ProjectWalletInsert';
38
32
  export type { Settlement } from './models/Settlement';
39
33
  export type { SettlementEdit } from './models/SettlementEdit';
40
34
  export type { SettlementInsert } from './models/SettlementInsert';
@@ -50,14 +44,9 @@ export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
50
44
  export type { TemplateInsert } from './models/TemplateInsert';
51
45
  export type { TemplateOperationDefinition } from './models/TemplateOperationDefinition';
52
46
  export type { TemplateSettlementDefinition } from './models/TemplateSettlementDefinition';
53
- export type { Wallet } from './models/Wallet';
54
47
  export type { WalletBalance } from './models/WalletBalance';
55
- export type { WalletEdit } from './models/WalletEdit';
56
- export type { WalletInsert } from './models/WalletInsert';
57
48
  export { BucketsService } from './services/BucketsService';
58
- export { CompaniesService } from './services/CompaniesService';
59
49
  export { EntriesService } from './services/EntriesService';
60
- export { GroupsService } from './services/GroupsService';
61
- export { GroupWalletsService } from './services/GroupWalletsService';
62
- export { IndividualsService } from './services/IndividualsService';
50
+ export { ProjectsService } from './services/ProjectsService';
51
+ export { ProjectWalletsService } from './services/ProjectWalletsService';
63
52
  export { TemplatesService } from './services/TemplatesService';
@@ -6,9 +6,7 @@ export { ApiError } from './core/ApiError';
6
6
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
7
7
  export { OpenAPI } from './core/OpenAPI';
8
8
  export { BucketsService } from './services/BucketsService';
9
- export { CompaniesService } from './services/CompaniesService';
10
9
  export { EntriesService } from './services/EntriesService';
11
- export { GroupsService } from './services/GroupsService';
12
- export { GroupWalletsService } from './services/GroupWalletsService';
13
- export { IndividualsService } from './services/IndividualsService';
10
+ export { ProjectsService } from './services/ProjectsService';
11
+ export { ProjectWalletsService } from './services/ProjectWalletsService';
14
12
  export { TemplatesService } from './services/TemplatesService';
@@ -1,6 +1,6 @@
1
1
  export type InputFieldDefinition = {
2
2
  id: string;
3
3
  name: string;
4
- type: 'string' | 'number' | 'boolean';
4
+ type: 'string' | 'number' | 'boolean' | 'member' | 'bucket' | 'wallet' | 'currency';
5
5
  defaultValue?: string | null;
6
6
  };
@@ -1,4 +1,4 @@
1
- export type Company = {
1
+ export type Project = {
2
2
  id: string;
3
3
  name: string;
4
4
  };
@@ -1,3 +1,3 @@
1
- export type GroupEdit = {
1
+ export type ProjectEdit = {
2
2
  name?: string | null;
3
3
  };
@@ -0,0 +1,3 @@
1
+ export type ProjectInsert = {
2
+ name: string;
3
+ };
@@ -1,4 +1,4 @@
1
- export type GroupWallet = {
1
+ export type ProjectWallet = {
2
2
  id: string;
3
3
  name: string;
4
4
  ownerId?: string | null;
@@ -1,4 +1,4 @@
1
- export type GroupWalletEdit = {
1
+ export type ProjectWalletEdit = {
2
2
  name?: string | null;
3
3
  /**
4
4
  * Pass empty string in order to clear the owner.
@@ -1,4 +1,4 @@
1
- export type GroupWalletInsert = {
1
+ export type ProjectWalletInsert = {
2
2
  name: string;
3
3
  ownerId?: string | null;
4
4
  };
@@ -4,38 +4,38 @@ import type { BucketInsert } from '../models/BucketInsert';
4
4
  import type { CancelablePromise } from '../core/CancelablePromise';
5
5
  export declare class BucketsService {
6
6
  /**
7
- * @param groupId
7
+ * @param projectId
8
8
  * @returns Bucket OK
9
9
  * @throws ApiError
10
10
  */
11
- static getGroupsBuckets(groupId: string): CancelablePromise<Array<Bucket>>;
11
+ static getProjectsBuckets(projectId: string): CancelablePromise<Array<Bucket>>;
12
12
  /**
13
- * @param groupId
13
+ * @param projectId
14
14
  * @param requestBody
15
15
  * @returns Bucket OK
16
16
  * @throws ApiError
17
17
  */
18
- static postGroupsBuckets(groupId: string, requestBody?: BucketInsert): CancelablePromise<Bucket>;
18
+ static postProjectsBuckets(projectId: string, requestBody?: BucketInsert): CancelablePromise<Bucket>;
19
19
  /**
20
- * @param groupId
20
+ * @param projectId
21
21
  * @param bucketId
22
22
  * @returns Bucket OK
23
23
  * @throws ApiError
24
24
  */
25
- static getGroupsBuckets1(groupId: string, bucketId: string): CancelablePromise<Bucket>;
25
+ static getProjectsBuckets1(projectId: string, bucketId: string): CancelablePromise<Bucket>;
26
26
  /**
27
- * @param groupId
27
+ * @param projectId
28
28
  * @param bucketId
29
29
  * @param requestBody
30
30
  * @returns Bucket OK
31
31
  * @throws ApiError
32
32
  */
33
- static patchGroupsBuckets(groupId: string, bucketId: string, requestBody?: BucketEdit): CancelablePromise<Bucket>;
33
+ static patchProjectsBuckets(projectId: string, bucketId: string, requestBody?: BucketEdit): CancelablePromise<Bucket>;
34
34
  /**
35
- * @param groupId
35
+ * @param projectId
36
36
  * @param bucketId
37
37
  * @returns any OK
38
38
  * @throws ApiError
39
39
  */
40
- static deleteGroupsBuckets(groupId: string, bucketId: string): CancelablePromise<any>;
40
+ static deleteProjectsBuckets(projectId: string, bucketId: string): CancelablePromise<any>;
41
41
  }
@@ -2,65 +2,65 @@ import { OpenAPI } from '../core/OpenAPI';
2
2
  import { request as __request } from '../core/request';
3
3
  export class BucketsService {
4
4
  /**
5
- * @param groupId
5
+ * @param projectId
6
6
  * @returns Bucket OK
7
7
  * @throws ApiError
8
8
  */
9
- static getGroupsBuckets(groupId) {
9
+ static getProjectsBuckets(projectId) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'GET',
12
- url: '/groups/{groupId}/buckets',
12
+ url: '/projects/{projectId}/buckets',
13
13
  path: {
14
- 'groupId': groupId,
14
+ 'projectId': projectId,
15
15
  },
16
16
  });
17
17
  }
18
18
  /**
19
- * @param groupId
19
+ * @param projectId
20
20
  * @param requestBody
21
21
  * @returns Bucket OK
22
22
  * @throws ApiError
23
23
  */
24
- static postGroupsBuckets(groupId, requestBody) {
24
+ static postProjectsBuckets(projectId, requestBody) {
25
25
  return __request(OpenAPI, {
26
26
  method: 'POST',
27
- url: '/groups/{groupId}/buckets',
27
+ url: '/projects/{projectId}/buckets',
28
28
  path: {
29
- 'groupId': groupId,
29
+ 'projectId': projectId,
30
30
  },
31
31
  body: requestBody,
32
32
  mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
33
33
  });
34
34
  }
35
35
  /**
36
- * @param groupId
36
+ * @param projectId
37
37
  * @param bucketId
38
38
  * @returns Bucket OK
39
39
  * @throws ApiError
40
40
  */
41
- static getGroupsBuckets1(groupId, bucketId) {
41
+ static getProjectsBuckets1(projectId, bucketId) {
42
42
  return __request(OpenAPI, {
43
43
  method: 'GET',
44
- url: '/groups/{groupId}/buckets/{bucketId}',
44
+ url: '/projects/{projectId}/buckets/{bucketId}',
45
45
  path: {
46
- 'groupId': groupId,
46
+ 'projectId': projectId,
47
47
  'bucketId': bucketId,
48
48
  },
49
49
  });
50
50
  }
51
51
  /**
52
- * @param groupId
52
+ * @param projectId
53
53
  * @param bucketId
54
54
  * @param requestBody
55
55
  * @returns Bucket OK
56
56
  * @throws ApiError
57
57
  */
58
- static patchGroupsBuckets(groupId, bucketId, requestBody) {
58
+ static patchProjectsBuckets(projectId, bucketId, requestBody) {
59
59
  return __request(OpenAPI, {
60
60
  method: 'PATCH',
61
- url: '/groups/{groupId}/buckets/{bucketId}',
61
+ url: '/projects/{projectId}/buckets/{bucketId}',
62
62
  path: {
63
- 'groupId': groupId,
63
+ 'projectId': projectId,
64
64
  'bucketId': bucketId,
65
65
  },
66
66
  body: requestBody,
@@ -68,17 +68,17 @@ export class BucketsService {
68
68
  });
69
69
  }
70
70
  /**
71
- * @param groupId
71
+ * @param projectId
72
72
  * @param bucketId
73
73
  * @returns any OK
74
74
  * @throws ApiError
75
75
  */
76
- static deleteGroupsBuckets(groupId, bucketId) {
76
+ static deleteProjectsBuckets(projectId, bucketId) {
77
77
  return __request(OpenAPI, {
78
78
  method: 'DELETE',
79
- url: '/groups/{groupId}/buckets/{bucketId}',
79
+ url: '/projects/{projectId}/buckets/{bucketId}',
80
80
  path: {
81
- 'groupId': groupId,
81
+ 'projectId': projectId,
82
82
  'bucketId': bucketId,
83
83
  },
84
84
  });
@@ -4,41 +4,41 @@ import type { EntryInsert } from '../models/EntryInsert';
4
4
  import type { CancelablePromise } from '../core/CancelablePromise';
5
5
  export declare class EntriesService {
6
6
  /**
7
- * @param groupId
7
+ * @param projectId
8
8
  * @param templateId
9
9
  * @param includeBalance
10
10
  * @returns Entry OK
11
11
  * @throws ApiError
12
12
  */
13
- static getGroupsEntries(groupId: string, templateId?: string, includeBalance?: boolean): CancelablePromise<Array<Entry>>;
13
+ static getProjectsEntries(projectId: string, templateId?: string, includeBalance?: boolean): CancelablePromise<Array<Entry>>;
14
14
  /**
15
- * @param groupId
15
+ * @param projectId
16
16
  * @param requestBody
17
17
  * @returns Entry OK
18
18
  * @throws ApiError
19
19
  */
20
- static postGroupsEntries(groupId: string, requestBody?: EntryInsert): CancelablePromise<Entry>;
20
+ static postProjectsEntries(projectId: string, requestBody?: EntryInsert): CancelablePromise<Entry>;
21
21
  /**
22
- * @param groupId
22
+ * @param projectId
23
23
  * @param entryId
24
24
  * @param includeBalance
25
25
  * @returns Entry OK
26
26
  * @throws ApiError
27
27
  */
28
- static getGroupsEntries1(groupId: string, entryId: string, includeBalance?: boolean): CancelablePromise<Entry>;
28
+ static getProjectsEntries1(projectId: string, entryId: string, includeBalance?: boolean): CancelablePromise<Entry>;
29
29
  /**
30
- * @param groupId
30
+ * @param projectId
31
31
  * @param entryId
32
32
  * @param requestBody
33
33
  * @returns Entry OK
34
34
  * @throws ApiError
35
35
  */
36
- static patchGroupsEntries(groupId: string, entryId: string, requestBody?: EntryEdit): CancelablePromise<Entry>;
36
+ static patchProjectsEntries(projectId: string, entryId: string, requestBody?: EntryEdit): CancelablePromise<Entry>;
37
37
  /**
38
- * @param groupId
38
+ * @param projectId
39
39
  * @param entryId
40
40
  * @returns any OK
41
41
  * @throws ApiError
42
42
  */
43
- static deleteGroupsEntries(groupId: string, entryId: string): CancelablePromise<any>;
43
+ static deleteProjectsEntries(projectId: string, entryId: string): CancelablePromise<any>;
44
44
  }
@@ -2,18 +2,18 @@ import { OpenAPI } from '../core/OpenAPI';
2
2
  import { request as __request } from '../core/request';
3
3
  export class EntriesService {
4
4
  /**
5
- * @param groupId
5
+ * @param projectId
6
6
  * @param templateId
7
7
  * @param includeBalance
8
8
  * @returns Entry OK
9
9
  * @throws ApiError
10
10
  */
11
- static getGroupsEntries(groupId, templateId, includeBalance = false) {
11
+ static getProjectsEntries(projectId, templateId, includeBalance = false) {
12
12
  return __request(OpenAPI, {
13
13
  method: 'GET',
14
- url: '/groups/{groupId}/entries',
14
+ url: '/projects/{projectId}/entries',
15
15
  path: {
16
- 'groupId': groupId,
16
+ 'projectId': projectId,
17
17
  },
18
18
  query: {
19
19
  'templateId': templateId,
@@ -22,35 +22,35 @@ export class EntriesService {
22
22
  });
23
23
  }
24
24
  /**
25
- * @param groupId
25
+ * @param projectId
26
26
  * @param requestBody
27
27
  * @returns Entry OK
28
28
  * @throws ApiError
29
29
  */
30
- static postGroupsEntries(groupId, requestBody) {
30
+ static postProjectsEntries(projectId, requestBody) {
31
31
  return __request(OpenAPI, {
32
32
  method: 'POST',
33
- url: '/groups/{groupId}/entries',
33
+ url: '/projects/{projectId}/entries',
34
34
  path: {
35
- 'groupId': groupId,
35
+ 'projectId': projectId,
36
36
  },
37
37
  body: requestBody,
38
38
  mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
39
39
  });
40
40
  }
41
41
  /**
42
- * @param groupId
42
+ * @param projectId
43
43
  * @param entryId
44
44
  * @param includeBalance
45
45
  * @returns Entry OK
46
46
  * @throws ApiError
47
47
  */
48
- static getGroupsEntries1(groupId, entryId, includeBalance = false) {
48
+ static getProjectsEntries1(projectId, entryId, includeBalance = false) {
49
49
  return __request(OpenAPI, {
50
50
  method: 'GET',
51
- url: '/groups/{groupId}/entries/{entryId}',
51
+ url: '/projects/{projectId}/entries/{entryId}',
52
52
  path: {
53
- 'groupId': groupId,
53
+ 'projectId': projectId,
54
54
  'entryId': entryId,
55
55
  },
56
56
  query: {
@@ -59,18 +59,18 @@ export class EntriesService {
59
59
  });
60
60
  }
61
61
  /**
62
- * @param groupId
62
+ * @param projectId
63
63
  * @param entryId
64
64
  * @param requestBody
65
65
  * @returns Entry OK
66
66
  * @throws ApiError
67
67
  */
68
- static patchGroupsEntries(groupId, entryId, requestBody) {
68
+ static patchProjectsEntries(projectId, entryId, requestBody) {
69
69
  return __request(OpenAPI, {
70
70
  method: 'PATCH',
71
- url: '/groups/{groupId}/entries/{entryId}',
71
+ url: '/projects/{projectId}/entries/{entryId}',
72
72
  path: {
73
- 'groupId': groupId,
73
+ 'projectId': projectId,
74
74
  'entryId': entryId,
75
75
  },
76
76
  body: requestBody,
@@ -78,17 +78,17 @@ export class EntriesService {
78
78
  });
79
79
  }
80
80
  /**
81
- * @param groupId
81
+ * @param projectId
82
82
  * @param entryId
83
83
  * @returns any OK
84
84
  * @throws ApiError
85
85
  */
86
- static deleteGroupsEntries(groupId, entryId) {
86
+ static deleteProjectsEntries(projectId, entryId) {
87
87
  return __request(OpenAPI, {
88
88
  method: 'DELETE',
89
- url: '/groups/{groupId}/entries/{entryId}',
89
+ url: '/projects/{projectId}/entries/{entryId}',
90
90
  path: {
91
- 'groupId': groupId,
91
+ 'projectId': projectId,
92
92
  'entryId': entryId,
93
93
  },
94
94
  });
@@ -0,0 +1,49 @@
1
+ import type { Balance } from '../models/Balance';
2
+ import type { ProjectWallet } from '../models/ProjectWallet';
3
+ import type { ProjectWalletEdit } from '../models/ProjectWalletEdit';
4
+ import type { ProjectWalletInsert } from '../models/ProjectWalletInsert';
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ export declare class ProjectWalletsService {
7
+ /**
8
+ * @param projectId
9
+ * @returns ProjectWallet OK
10
+ * @throws ApiError
11
+ */
12
+ static getProjectsWallets(projectId: string): CancelablePromise<Array<ProjectWallet>>;
13
+ /**
14
+ * @param projectId
15
+ * @param requestBody
16
+ * @returns ProjectWallet OK
17
+ * @throws ApiError
18
+ */
19
+ static postProjectsWallets(projectId: string, requestBody?: ProjectWalletInsert): CancelablePromise<ProjectWallet>;
20
+ /**
21
+ * @param projectId
22
+ * @param walletId
23
+ * @returns ProjectWallet OK
24
+ * @throws ApiError
25
+ */
26
+ static getProjectsWallets1(projectId: string, walletId: string): CancelablePromise<ProjectWallet>;
27
+ /**
28
+ * @param projectId
29
+ * @param walletId
30
+ * @param requestBody
31
+ * @returns ProjectWallet OK
32
+ * @throws ApiError
33
+ */
34
+ static patchProjectsWallets(projectId: string, walletId: string, requestBody?: ProjectWalletEdit): CancelablePromise<ProjectWallet>;
35
+ /**
36
+ * @param projectId
37
+ * @param walletId
38
+ * @returns any OK
39
+ * @throws ApiError
40
+ */
41
+ static deleteProjectsWallets(projectId: string, walletId: string): CancelablePromise<any>;
42
+ /**
43
+ * @param projectId
44
+ * @param walletId
45
+ * @returns Balance OK
46
+ * @throws ApiError
47
+ */
48
+ static getProjectsWalletsBalance(projectId: string, walletId: string): CancelablePromise<Balance>;
49
+ }
@@ -1,66 +1,66 @@
1
1
  import { OpenAPI } from '../core/OpenAPI';
2
2
  import { request as __request } from '../core/request';
3
- export class GroupWalletsService {
3
+ export class ProjectWalletsService {
4
4
  /**
5
- * @param groupId
6
- * @returns GroupWallet OK
5
+ * @param projectId
6
+ * @returns ProjectWallet OK
7
7
  * @throws ApiError
8
8
  */
9
- static getGroupsWallets(groupId) {
9
+ static getProjectsWallets(projectId) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'GET',
12
- url: '/groups/{groupId}/wallets',
12
+ url: '/projects/{projectId}/wallets',
13
13
  path: {
14
- 'groupId': groupId,
14
+ 'projectId': projectId,
15
15
  },
16
16
  });
17
17
  }
18
18
  /**
19
- * @param groupId
19
+ * @param projectId
20
20
  * @param requestBody
21
- * @returns GroupWallet OK
21
+ * @returns ProjectWallet OK
22
22
  * @throws ApiError
23
23
  */
24
- static postGroupsWallets(groupId, requestBody) {
24
+ static postProjectsWallets(projectId, requestBody) {
25
25
  return __request(OpenAPI, {
26
26
  method: 'POST',
27
- url: '/groups/{groupId}/wallets',
27
+ url: '/projects/{projectId}/wallets',
28
28
  path: {
29
- 'groupId': groupId,
29
+ 'projectId': projectId,
30
30
  },
31
31
  body: requestBody,
32
32
  mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
33
33
  });
34
34
  }
35
35
  /**
36
- * @param groupId
36
+ * @param projectId
37
37
  * @param walletId
38
- * @returns GroupWallet OK
38
+ * @returns ProjectWallet OK
39
39
  * @throws ApiError
40
40
  */
41
- static getGroupsWallets1(groupId, walletId) {
41
+ static getProjectsWallets1(projectId, walletId) {
42
42
  return __request(OpenAPI, {
43
43
  method: 'GET',
44
- url: '/groups/{groupId}/wallets/{walletId}',
44
+ url: '/projects/{projectId}/wallets/{walletId}',
45
45
  path: {
46
- 'groupId': groupId,
46
+ 'projectId': projectId,
47
47
  'walletId': walletId,
48
48
  },
49
49
  });
50
50
  }
51
51
  /**
52
- * @param groupId
52
+ * @param projectId
53
53
  * @param walletId
54
54
  * @param requestBody
55
- * @returns GroupWallet OK
55
+ * @returns ProjectWallet OK
56
56
  * @throws ApiError
57
57
  */
58
- static patchGroupsWallets(groupId, walletId, requestBody) {
58
+ static patchProjectsWallets(projectId, walletId, requestBody) {
59
59
  return __request(OpenAPI, {
60
60
  method: 'PATCH',
61
- url: '/groups/{groupId}/wallets/{walletId}',
61
+ url: '/projects/{projectId}/wallets/{walletId}',
62
62
  path: {
63
- 'groupId': groupId,
63
+ 'projectId': projectId,
64
64
  'walletId': walletId,
65
65
  },
66
66
  body: requestBody,
@@ -68,33 +68,33 @@ export class GroupWalletsService {
68
68
  });
69
69
  }
70
70
  /**
71
- * @param groupId
71
+ * @param projectId
72
72
  * @param walletId
73
73
  * @returns any OK
74
74
  * @throws ApiError
75
75
  */
76
- static deleteGroupsWallets(groupId, walletId) {
76
+ static deleteProjectsWallets(projectId, walletId) {
77
77
  return __request(OpenAPI, {
78
78
  method: 'DELETE',
79
- url: '/groups/{groupId}/wallets/{walletId}',
79
+ url: '/projects/{projectId}/wallets/{walletId}',
80
80
  path: {
81
- 'groupId': groupId,
81
+ 'projectId': projectId,
82
82
  'walletId': walletId,
83
83
  },
84
84
  });
85
85
  }
86
86
  /**
87
- * @param groupId
87
+ * @param projectId
88
88
  * @param walletId
89
89
  * @returns Balance OK
90
90
  * @throws ApiError
91
91
  */
92
- static getGroupsWalletsBalance(groupId, walletId) {
92
+ static getProjectsWalletsBalance(projectId, walletId) {
93
93
  return __request(OpenAPI, {
94
94
  method: 'GET',
95
- url: '/groups/{groupId}/wallets/{walletId}/balance',
95
+ url: '/projects/{projectId}/wallets/{walletId}/balance',
96
96
  path: {
97
- 'groupId': groupId,
97
+ 'projectId': projectId,
98
98
  'walletId': walletId,
99
99
  },
100
100
  });