-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
209 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -165,7 +165,19 @@ func TestFlows_CreateJoinOrganization(t *testing.T) { | |
"updateTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true, | ||
"archived": true, | ||
"createTime": "2024-02-05T23:07:46.483Z", | ||
"updateTime": "2024-02-05T23:07:46.483Z" | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -305,7 +317,19 @@ func TestFlows_CreateSignup(t *testing.T) { | |
"updateTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true, | ||
"archived": true, | ||
"createTime": "2024-02-05T23:07:46.483Z", | ||
"updateTime": "2024-02-05T23:07:46.483Z" | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -445,7 +469,19 @@ func TestFlows_Get(t *testing.T) { | |
"updateTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true, | ||
"archived": true, | ||
"createTime": "2024-02-05T23:07:46.483Z", | ||
"updateTime": "2024-02-05T23:07:46.483Z" | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -585,7 +621,19 @@ func TestFlows_Cancel(t *testing.T) { | |
"updateTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true, | ||
"archived": true, | ||
"createTime": "2024-02-05T23:07:46.483Z", | ||
"updateTime": "2024-02-05T23:07:46.483Z" | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
This file contains 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 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 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 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 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 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,19 @@ | ||
// Code generated. DO NOT EDIT. | ||
|
||
package adminv1 | ||
|
||
import ( | ||
"github.com/userhubdev/go-sdk/commonv1" | ||
) | ||
|
||
// Payment method input parameters. | ||
type PaymentMethodInput struct { | ||
// The full name of the owner of the payment method (e.g. `Jane Doe`). | ||
FullName *string `json:"fullName"` | ||
// The address for the payment method. | ||
Address *commonv1.Address `json:"address"` | ||
// The card expiration year (e.g. `2030`). | ||
ExpYear *int32 `json:"expYear"` | ||
// The card expiration month (e.g. `12`). | ||
ExpMonth *int32 `json:"expMonth"` | ||
} |
This file contains 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 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 |
---|---|---|
|
@@ -83,7 +83,16 @@ func TestFlows_CreateJoinOrganization(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -145,7 +154,16 @@ func TestFlows_CreateSignup(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -207,7 +225,16 @@ func TestFlows_Get(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -269,7 +296,16 @@ func TestFlows_Approve(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -331,7 +367,16 @@ func TestFlows_Consume(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
@@ -393,7 +438,16 @@ func TestFlows_Cancel(t *testing.T) { | |
"createTime": "2024-02-05T23:07:46.483Z", | ||
"joinOrganization": { | ||
"displayName": "Test", | ||
"email": "[email protected]" | ||
"email": "[email protected]", | ||
"role": { | ||
"id": "string", | ||
"uniqueId": "test", | ||
"displayName": "Test", | ||
"type": "OWNER", | ||
"description": "string", | ||
"permissionSets": [], | ||
"default": true | ||
} | ||
}, | ||
"signup": { | ||
"email": "[email protected]", | ||
|
This file contains 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 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 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 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,16 @@ | ||
// Code generated. DO NOT EDIT. | ||
|
||
package userv1 | ||
|
||
// Response message for ListRoles. | ||
type ListRolesResponse struct { | ||
// The list of roles. | ||
Roles []*Role `json:"roles"` | ||
// A token, which can be sent as `pageToken` to retrieve the next page. | ||
// If this field is omitted, there are no subsequent pages. | ||
NextPageToken string `json:"nextPageToken"` | ||
// A token, which can be sent as `pageToken` to retrieve the previous page. | ||
// If this field is absent, there are no preceding pages. If this field is | ||
// an empty string then the previous page is the first result. | ||
PreviousPageToken string `json:"previousPageToken"` | ||
} |
This file contains 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
Oops, something went wrong.