83 Commits

Author SHA1 Message Date
Vivian Plasencia
c8c2f9181f docs: update api sdk docs with the latest bandada changes 2024-04-11 17:56:15 +02:00
Vivian Plasencia
23e1f65843 chore: v2.2.6 2024-04-09 20:37:22 +02:00
Vivian Plasencia
d2cd8d4619 Merge pull request #484 from bandada-infra/fix/api-sdk
Avoid wrong `return` in removeGroup(s) API SDK methods
2024-04-09 20:33:37 +02:00
Jeeiii
61df1cd82a fix: remove wrong return to avoid bad response error 2024-04-09 20:12:15 +02:00
Vivian Plasencia
8f577a6ece chore: v2.2.5 2024-04-09 19:20:38 +02:00
Vivian Plasencia
a1a8bc124a Merge pull request #483 from bandada-infra/fix/api-sdk
Missing `return` statements for removeGroup(s) API SDK methods
2024-04-09 19:04:43 +02:00
Jeeiii
79498512e9 fix: missing return statement for removeGroup(s) API SDK method 2024-04-09 18:55:35 +02:00
Vivian Plasencia
44662c4f4f chore: v2.2.4 2024-04-09 17:51:19 +02:00
Jeeiii
24ec186c05 fix: minor issues on api sdk 2024-04-09 17:38:45 +02:00
Vivian Plasencia
917732b421 chore: v2.2.3 2024-04-08 13:23:08 +02:00
Jeeiii
89c0cfc414 refactor: update return type for invite endpoints 2024-04-08 11:37:44 +02:00
Jeeiii
3ebd4de898 feat: add missing createInvite api endpoint 2024-04-04 23:34:01 +02:00
Vivian Plasencia
2920f64e0d chore: v2.2.2 2024-04-02 00:04:58 +02:00
Vivian Plasencia
a38eca0372 fix(api-sdk): use the correct data object in the request
fix #469
2024-04-01 23:53:12 +02:00
Vivian Plasencia
2c5d0cdcda chore: v2.2.1 2024-04-01 22:20:46 +02:00
Vivian Plasencia
6049942435 docs(api-sdk): update Readme file and type name
Now the Readme file contains all the functions supported by the API SDK. InviteResponse renamed to
Invite.

BREAKING CHANGE: InviteResponse renamed to Invite
2024-04-01 21:43:12 +02:00
Vivian Plasencia
bc43bd5e3f refactor(api-sdk): update variable names
groupData was updated according to the function that was using it because this variable did not
contain the same information for all the functions that were using it. Because the data required to
create a group is not the same as that required to update a group.
2024-04-01 20:58:11 +02:00
Vivian Plasencia
4ad2e81d31 docs(api-sdk): add more info about creating an instance of the api sdk 2024-04-01 20:36:59 +02:00
Vivian Plasencia
8facbe1abb refactor(api-sdk): update type names
Add clearer type names.

BREAKING CHANGE: Some type names changed. GroupResponse -> Group, GroupRequest ->
GroupCreationDetails, GroupUpdateRequest -> GroupUpdateDetails and Group -> GroupSummary.
2024-04-01 20:05:37 +02:00
Vivian Plasencia
16c13e5771 fix(api-sdk): remove properties that are no longer part of the group
apiEnabled and apiKey were removed from the Group type because they are no longer part of it.
2024-04-01 19:10:46 +02:00
Vivian Plasencia
2adf60a4d6 fix(api-sdk): fix data object in createGroups request
Now the right data object is sent in the createGroups request in the API SDK. If the credentials
parameter is undefined, it will be set to null in the server. The group id is no longer part of the
parameters to create a group, the group ids will be managed on the server.

BREAKING CHANGE: The group id is no longer part of the parameters to create a group when using the
API SDK.

fix #466
2024-04-01 18:46:13 +02:00
Vivian Plasencia
0c997399f7 chore: v2.2.0 2024-04-01 10:24:45 +02:00
Vivian Plasencia
0d72962015 fix(api-sdk): fix api requests 2024-03-30 15:05:42 +01:00
Vivian Plasencia
48a1d4de95 refactor(api-sdk): use create groups function inside create group funtion 2024-03-30 14:34:37 +01:00
Vivian Plasencia
627c9f4e81 refactor: update some variable names and api sdk function docs 2024-03-30 13:07:08 +01:00
Vivian Plasencia
e286bbaa0c feat(api-sdk): add createGroup function to the api sdk library
Now createGroup function can be used with the api sdk.
2024-03-30 12:22:57 +01:00
Vivian Plasencia
49ee657740 refactor(api): update api docs
Now it is easier to understand the new API endpoints when reading the API docs.
2024-03-29 23:24:11 +01:00
Vivian Plasencia
ada9610d22 fix: prevent access to admin info from outside the dashboard
Add @UseGuards to prevent access to admin info from outside the dashboard, exclude the admin
controller endpoints from the api docs and remove all the api requests related to the admins in the
api sdk.

re #460
2024-03-29 20:35:23 +01:00
Jeeiii
57fabe0de8 feat: add missing APIs endpoints on ApiSdk 2024-03-28 23:03:15 +01:00
Neel
cc404c2033 refactor: update repo link of assets 2024-03-28 17:19:17 +05:30
Neel
3bc6e2175f refactor: update repo link 2024-03-28 13:26:52 +05:30
Vivian Plasencia
69426fd99b chore: v2.1.1 2024-03-18 12:40:53 +01:00
Vivian Plasencia
275d4a1ab8 chore: v2.1.0 2024-03-08 20:20:02 +01:00
Vivian Plasencia
59aea9cf0f chore: v2.0.0 2024-03-05 17:48:03 +01:00
Vivian Plasencia
0cd1124eb1 Merge branch 'main' into chore/merge-main-dev 2024-03-05 17:21:18 +01:00
Vivian Plasencia
8d2a80be49 Merge pull request #420 from Ayoseun/main
Removed axios config example
2024-03-05 13:18:06 +01:00
Ayo Solomon
228abfa19f Corrected text casing 2024-03-05 13:14:17 +01:00
omahs
dc667e89d1 fix broken links 2024-03-05 10:08:58 +01:00
Ayo Solomon
76076147f9 Removed axios config comment example 2024-03-04 17:45:16 +01:00
Ayo Solomon
f4095e19db Updated the ApiSdk constructor documentation
Updated the ApiSdk constructor documentation comment to provide clearer guidance on the config parameter, specifying it as an Axios request config. Included an example demonstrating how the config object can be structured for various request options such as HTTP method, URL, query parameters, request body data, and headers. This enhancement improves the readability and usability of the codebase, making it easier for developers to understand and utilize the ApiSdk class.
2024-03-04 16:32:40 +01:00
jennyg0
1202751822 feat(api-sdk): add staging api url to supportedurl enum
376
2024-02-07 17:51:38 -05:00
vplasencia
ae30a07561 chore: v1.1.0 2024-01-26 18:55:00 +01:00
Andy
47ef8c8c68 feat: returning treeRoot in response 2024-01-25 11:06:26 -06:00
vplasencia
d9477be2af chore: v1.0.1 2024-01-17 20:51:55 +01:00
vplasencia
a78ab976f3 chore: v1.0.0 2024-01-11 16:25:20 +01:00
vplasencia
c990ac36cb chore: v1.0.0-beta.1 2023-11-16 01:44:58 +03:00
vplasencia
f09e416585 chore: v1.0.0-beta 2023-10-16 15:15:20 +02:00
Vivian Plasencia
b955da88de Merge pull request #316 from privacy-scaling-explorations/ref/change-variable-type
Change the type of the config parameter to any in the constructor in the api-sdk
2023-10-16 13:13:00 +02:00
Andy
9850ca81f6 style: small typos 2023-10-02 15:08:48 -06:00
aguzmant103
79579413b7 Apply suggestions from code review
Managing small typos with pluras

Co-authored-by: Vivian Plasencia <v.pcalana@gmail.com>
2023-10-02 15:05:20 -06:00