@daocloud-proto/ghippo 0.44.0-dev3 → 0.44.0-dev4
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.
- package/package.json +1 -1
- package/v1alpha1/account.pb.ts +15 -0
package/package.json
CHANGED
package/v1alpha1/account.pb.ts
CHANGED
|
@@ -227,6 +227,18 @@ export type ListConciseSubAccountsResponse = {
|
|
|
227
227
|
pagination?: Pagination
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
+
export type ListConciseSubAccountsWithoutTokenRequest = {
|
|
231
|
+
accountId?: string
|
|
232
|
+
search?: string
|
|
233
|
+
pageSize?: number
|
|
234
|
+
page?: number
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type ListConciseSubAccountsWithoutTokenResponse = {
|
|
238
|
+
items?: ConciseSubAccount[]
|
|
239
|
+
pagination?: Pagination
|
|
240
|
+
}
|
|
241
|
+
|
|
230
242
|
export class Accounts {
|
|
231
243
|
static TransferToMainAccount(req: TransferToMainAccountRequest, initReq?: fm.InitReq): Promise<TransferToMainAccountResponse> {
|
|
232
244
|
return fm.fetchReq<TransferToMainAccountRequest, TransferToMainAccountResponse>(`/apis/ghippo.io/v1alpha1/accounts/transfer-main`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
@@ -237,6 +249,9 @@ export class Accounts {
|
|
|
237
249
|
static ListConciseSubAccounts(req: ListConciseSubAccountsRequest, initReq?: fm.InitReq): Promise<ListConciseSubAccountsResponse> {
|
|
238
250
|
return fm.fetchReq<ListConciseSubAccountsRequest, ListConciseSubAccountsResponse>(`/apis/ghippo.io/v1alpha1/concise-sub-accounts?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
239
251
|
}
|
|
252
|
+
static ListConciseSubAccountsWithoutToken(req: ListConciseSubAccountsWithoutTokenRequest, initReq?: fm.InitReq): Promise<ListConciseSubAccountsWithoutTokenResponse> {
|
|
253
|
+
return fm.fetchReq<ListConciseSubAccountsWithoutTokenRequest, ListConciseSubAccountsWithoutTokenResponse>(`/v1alpha1.account.Accounts/ListConciseSubAccountsWithoutToken`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
254
|
+
}
|
|
240
255
|
static CheckSubAccount(req: CheckSubAccountRequest, initReq?: fm.InitReq): Promise<CheckSubAccountResponse> {
|
|
241
256
|
return fm.fetchReq<CheckSubAccountRequest, CheckSubAccountResponse>(`/v1alpha1.account.Accounts/CheckSubAccount`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
242
257
|
}
|