@daocloud-proto/ghippo 0.35.1-rc1 → 0.35.1-rc2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.35.1-rc1",
3
+ "version":"0.35.1-rc2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -50,10 +50,10 @@ export type GetGProductLicensesESNResponse = {
50
50
  esn?: string
51
51
  }
52
52
 
53
- export type GetGProductLicensesOverQuotaRequest = {
53
+ export type GetGProductLicensesExpiredRequest = {
54
54
  }
55
55
 
56
- export type GetGProductLicensesOverQuotaResponse = {
56
+ export type GetGProductLicensesExpiredResponse = {
57
57
  expireSoonLicenses?: GProductLicense[]
58
58
  expiredLicenses?: GProductLicense[]
59
59
  }
@@ -103,7 +103,7 @@ export class GProductLicenses {
103
103
  static GetGProductLicensesESN(req: GetGProductLicensesESNRequest, initReq?: fm.InitReq): Promise<GetGProductLicensesESNResponse> {
104
104
  return fm.fetchReq<GetGProductLicensesESNRequest, GetGProductLicensesESNResponse>(`/apis/ghippo.io/v1alpha1/gproduct-licenses/esn?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
105
105
  }
106
- static GetGProductLicensesOverQuota(req: GetGProductLicensesOverQuotaRequest, initReq?: fm.InitReq): Promise<GetGProductLicensesOverQuotaResponse> {
107
- return fm.fetchReq<GetGProductLicensesOverQuotaRequest, GetGProductLicensesOverQuotaResponse>(`/apis/ghippo.io/v1alpha1/gproduct-licenses/over-quota?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
106
+ static GetGProductLicensesExpired(req: GetGProductLicensesExpiredRequest, initReq?: fm.InitReq): Promise<GetGProductLicensesExpiredResponse> {
107
+ return fm.fetchReq<GetGProductLicensesExpiredRequest, GetGProductLicensesExpiredResponse>(`/apis/ghippo.io/v1alpha1/gproduct-licenses/expired?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
108
108
  }
109
109
  }