Repository navigation
Aakash - Add Accept account request to SDK + support JWT for existing request methods #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f1bb0ac
implemented accept account request, changed existing account request …
aakashg00 bcc7122
added try catch to auth methods
aakashg00 ac706d8
implemented accept account request, changed existing account request …
aakashg00 c4a925a
added try catch to auth methods
aakashg00 39d724b
fixed i think
aakashg00 f31f6f5
Merge branch 'aakash/req-acc-jwt' of https://github.com/GTBitsOfGood/…
aakashg00 a65cc57
Merge branch 'main' of https://github.com/GTBitsOfGood/juno-sdk into …
aakashg00 276dfb7
updated to work with sdk changes
aakashg00 8cd7457
fix: merge internal folder from main
llam36 86efd4f
Merge branch 'main' into aakash/req-acc-jwt
llam36 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| /** | ||
| * Juno | ||
| * Juno Public API Docs | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
|
|
||
| import { RequestFile } from './models'; | ||
| import { AcceptAccountRequestResponseProject } from './acceptAccountRequestResponseProject'; | ||
| import { AcceptAccountRequestResponseUser } from './acceptAccountRequestResponseUser'; | ||
|
|
||
| export class AcceptAccountRequestResponseModel { | ||
| /** | ||
| * The created user | ||
| */ | ||
| 'user': AcceptAccountRequestResponseUser; | ||
| /** | ||
| * The created or linked project (if applicable) | ||
| */ | ||
| 'project'?: AcceptAccountRequestResponseProject; | ||
|
|
||
| static discriminator: string | undefined = undefined; | ||
|
|
||
| static attributeTypeMap: Array<{ | ||
| name: string; | ||
| baseName: string; | ||
| type: string; | ||
| }> = [ | ||
| { | ||
| name: 'user', | ||
| baseName: 'user', | ||
| type: 'AcceptAccountRequestResponseUser', | ||
| }, | ||
| { | ||
| name: 'project', | ||
| baseName: 'project', | ||
| type: 'AcceptAccountRequestResponseProject', | ||
| }, | ||
| ]; | ||
|
|
||
| static getAttributeTypeMap() { | ||
| return AcceptAccountRequestResponseModel.attributeTypeMap; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| /** | ||
| * Juno | ||
| * Juno Public API Docs | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
|
|
||
| import { RequestFile } from './models'; | ||
|
|
||
| export class AcceptAccountRequestResponseProject { | ||
| /** | ||
| * Project ID | ||
| */ | ||
| 'id': number; | ||
| /** | ||
| * Project name | ||
| */ | ||
| 'name': string; | ||
|
|
||
| static discriminator: string | undefined = undefined; | ||
|
|
||
| static attributeTypeMap: Array<{ | ||
| name: string; | ||
| baseName: string; | ||
| type: string; | ||
| }> = [ | ||
| { | ||
| name: 'id', | ||
| baseName: 'id', | ||
| type: 'number', | ||
| }, | ||
| { | ||
| name: 'name', | ||
| baseName: 'name', | ||
| type: 'string', | ||
| }, | ||
| ]; | ||
|
|
||
| static getAttributeTypeMap() { | ||
| return AcceptAccountRequestResponseProject.attributeTypeMap; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| /** | ||
| * Juno | ||
| * Juno Public API Docs | ||
| * | ||
| * The version of the OpenAPI document: 1.0 | ||
| * | ||
| * | ||
| * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
| * https://openapi-generator.tech | ||
| * Do not edit the class manually. | ||
| */ | ||
|
|
||
| import { RequestFile } from './models'; | ||
|
|
||
| export class AcceptAccountRequestResponseUser { | ||
| /** | ||
| * User ID | ||
| */ | ||
| 'id': number; | ||
| /** | ||
| */ | ||
| 'email': string; | ||
| /** | ||
| * Name | ||
| */ | ||
| 'name': string; | ||
| /** | ||
| * User type | ||
| */ | ||
| 'type': AcceptAccountRequestResponseUser.TypeEnum; | ||
| /** | ||
| * Project IDs the user is linked to | ||
| */ | ||
| 'projectIds'?: Array<number>; | ||
|
|
||
| static discriminator: string | undefined = undefined; | ||
|
|
||
| static attributeTypeMap: Array<{ | ||
| name: string; | ||
| baseName: string; | ||
| type: string; | ||
| }> = [ | ||
| { | ||
| name: 'id', | ||
| baseName: 'id', | ||
| type: 'number', | ||
| }, | ||
| { | ||
| name: 'email', | ||
| baseName: 'email', | ||
| type: 'string', | ||
| }, | ||
| { | ||
| name: 'name', | ||
| baseName: 'name', | ||
| type: 'string', | ||
| }, | ||
| { | ||
| name: 'type', | ||
| baseName: 'type', | ||
| type: 'AcceptAccountRequestResponseUser.TypeEnum', | ||
| }, | ||
| { | ||
| name: 'projectIds', | ||
| baseName: 'projectIds', | ||
| type: 'Array<number>', | ||
| }, | ||
| ]; | ||
|
|
||
| static getAttributeTypeMap() { | ||
| return AcceptAccountRequestResponseUser.attributeTypeMap; | ||
| } | ||
| } | ||
|
|
||
| export namespace AcceptAccountRequestResponseUser { | ||
| export enum TypeEnum { | ||
| Superadmin = <any>'SUPERADMIN', | ||
| Admin = <any>'ADMIN', | ||
| User = <any>'USER', | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.