feat(partners): add utility functions for partner business activity allocation limits and remaining licenses
- Implemented `getPartnerBusinessActivityAllocationLimits` to retrieve allocation limits for a partner's business activity. - Added `ensurePartnerBusinessActivityHasRemainingAllocation` to validate remaining allocation credits. - Created `getPartnerRemainingLicenses` to count remaining licenses for a partner. - Developed `getPartnerFirstRemainingLicense` to fetch the first unused license for a partner. - Introduced `ensurePartnerHasRemainingLicense` to ensure a partner has at least one unused license.
This commit is contained in:
@@ -18,13 +18,14 @@ export type * from './models/Complex.js'
|
||||
export type * from './models/Pos.js'
|
||||
export type * from './models/DeviceBrand.js'
|
||||
export type * from './models/Device.js'
|
||||
export type * from './models/LicenseChargeTransaction.js'
|
||||
export type * from './models/License.js'
|
||||
export type * from './models/LicenseActivation.js'
|
||||
export type * from './models/LicenseChargeTransaction.js'
|
||||
export type * from './models/LicenseRenew.js'
|
||||
export type * from './models/LicenseRenewChargeTransaction.js'
|
||||
export type * from './models/LicenseRenew.js'
|
||||
export type * from './models/PartnerAccountQuotaChargeTransaction.js'
|
||||
export type * from './models/PartnerAccountQuotaAllocation.js'
|
||||
export type * from './models/PartnerAccountQuotaCredit.js'
|
||||
export type * from './models/LicenseAccountAllocation.js'
|
||||
export type * from './models/PartnerAccount.js'
|
||||
export type * from './models/Partner.js'
|
||||
export type * from './models/PermissionConsumer.js'
|
||||
|
||||
Reference in New Issue
Block a user