Table of contents
Methods
constructor
• new SmartLicensesQueryModule(queryClient): SmartLicensesQueryModule
Parameters
| Name | Type |
|---|---|
queryClient | QueryClient |
Returns
SmartLicensesQueryModule
Methods
getSmartLicenses
▸ getSmartLicenses(params?, smartLicenseId?): Promise<SmartLicensesResponse>
Get a list of smart licenses based on filtering and pagination parameters
Parameters
| Name | Type | Description |
|---|---|---|
params | PaginationParams | Pagination parameters |
smartLicenseId? | string | Optional filter by specific smart license ID |
Returns
Promise<SmartLicensesResponse>
List of smart licenses with pagination info
getSmartLicenseById
▸ getSmartLicenseById(id): Promise<null | SmartLicenseObject>
Get a single smart license by its ID
Parameters
| Name | Type | Description |
|---|---|---|
id | string | The smart license ID |
Returns
Promise<null | SmartLicenseObject>
The smart license or null if not found
getSmartLicenseByHash
▸ getSmartLicenseByHash(licenseHash): Promise<null | SmartLicenseObject>
Get a smart license by its hash
Parameters
| Name | Type | Description |
|---|---|---|
licenseHash | string | Smart license hash |
Returns
Promise<null | SmartLicenseObject>
The smart license or null if not found
