Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-08-24 21:00:51.452360",
"regenerated": "2026-05-30 15:56:13.118526",
"spec_repo_commit": null
}
}
Expand Down
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ models/plugin-package-list.ts
models/plugin-package.ts
models/plugin.ts
models/policy-subject.ts
models/product.ts
models/project-access-policy-list.ts
models/project-access-policy.ts
models/project-create.ts
Expand Down Expand Up @@ -345,6 +346,7 @@ models/template-function.ts
models/transaction-item-totals.ts
models/transaction-payment.ts
models/transaction-totals.ts
models/trial-status-response.ts
models/update-accepted.ts
models/usage.ts
models/user-create.ts
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @pollination-solutions/pollination-sdk@1.9.0 --save
npm install @pollination-solutions/pollination-sdk@1.11.1 --save
```

_unPublished (not recommended):_
Expand Down
2 changes: 1 addition & 1 deletion api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/accounts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/apitokens-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/applications-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/artifacts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/billing-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/jobs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
114 changes: 113 additions & 1 deletion api/licenses-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -37,6 +37,10 @@ import type { LicensePoolPublic } from '../models';
import type { LicensePoolUpdate } from '../models';
// @ts-ignore
import type { LicensePublic } from '../models';
// @ts-ignore
import type { Product } from '../models';
// @ts-ignore
import type { TrialStatusResponse } from '../models';
/**
* LicensesApi - axios parameter creator
* @export
Expand Down Expand Up @@ -203,6 +207,57 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Check whether a Pollination account has previously activated a trial license for a given product (Rhino or Revit plugin).
* @summary Check if an account has activated a trial for a specific product
* @param {string} account The username of the account to check
* @param {Product} product The product to check (rhino_plugin or revit_plugin)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getTrialStatus: async (account: string, product: Product, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'account' is not null or undefined
assertParamExists('getTrialStatus', 'account', account)
// verify required parameter 'product' is not null or undefined
assertParamExists('getTrialStatus', 'product', product)
const localVarPath = `/licenses/trial-status`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}

const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication JWTAuth required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)

// authentication APIKeyAuth required
await setApiKeyToObject(localVarHeaderParameter, "x-pollination-token", configuration)

if (account !== undefined) {
localVarQueryParameter['account'] = account;
}

if (product !== undefined) {
localVarQueryParameter['product'] = product;
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -457,6 +512,20 @@ export const LicensesApiFp = function(configuration?: Configuration) {
const localVarOperationServerBasePath = operationServerMap['LicensesApi.getPoolLicense']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
* Check whether a Pollination account has previously activated a trial license for a given product (Rhino or Revit plugin).
* @summary Check if an account has activated a trial for a specific product
* @param {string} account The username of the account to check
* @param {Product} product The product to check (rhino_plugin or revit_plugin)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getTrialStatus(account: string, product: Product, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TrialStatusResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrialStatus(account, product, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['LicensesApi.getTrialStatus']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @summary Grant access to the license pool
Expand Down Expand Up @@ -562,6 +631,16 @@ export const LicensesApiFactory = function (configuration?: Configuration, baseP
getPoolLicense(requestParameters: LicensesApiGetPoolLicenseRequest, options?: RawAxiosRequestConfig): AxiosPromise<LicensePublic> {
return localVarFp.getPoolLicense(requestParameters.poolId, options).then((request) => request(axios, basePath));
},
/**
* Check whether a Pollination account has previously activated a trial license for a given product (Rhino or Revit plugin).
* @summary Check if an account has activated a trial for a specific product
* @param {LicensesApiGetTrialStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getTrialStatus(requestParameters: LicensesApiGetTrialStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<TrialStatusResponse> {
return localVarFp.getTrialStatus(requestParameters.account, requestParameters.product, options).then((request) => request(axios, basePath));
},
/**
*
* @summary Grant access to the license pool
Expand Down Expand Up @@ -668,6 +747,27 @@ export interface LicensesApiGetPoolLicenseRequest {
readonly poolId: string
}

/**
* Request parameters for getTrialStatus operation in LicensesApi.
* @export
* @interface LicensesApiGetTrialStatusRequest
*/
export interface LicensesApiGetTrialStatusRequest {
/**
* The username of the account to check
* @type {string}
* @memberof LicensesApiGetTrialStatus
*/
readonly account: string

/**
* The product to check (rhino_plugin or revit_plugin)
* @type {Product}
* @memberof LicensesApiGetTrialStatus
*/
readonly product: Product
}

/**
* Request parameters for grantAccessToPool operation in LicensesApi.
* @export
Expand Down Expand Up @@ -800,6 +900,18 @@ export class LicensesApi extends BaseAPI {
return LicensesApiFp(this.configuration).getPoolLicense(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
}

/**
* Check whether a Pollination account has previously activated a trial license for a given product (Rhino or Revit plugin).
* @summary Check if an account has activated a trial for a specific product
* @param {LicensesApiGetTrialStatusRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof LicensesApi
*/
public getTrialStatus(requestParameters: LicensesApiGetTrialStatusRequest, options?: RawAxiosRequestConfig) {
return LicensesApiFp(this.configuration).getTrialStatus(requestParameters.account, requestParameters.product, options).then((request) => request(this.axios, this.basePath));
}

/**
*
* @summary Grant access to the license pool
Expand Down
2 changes: 1 addition & 1 deletion api/orgs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/plugins-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/projects-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/recipes-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/registries-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/reports-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/runs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/subscription-plans-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/subscriptions-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/teams-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/user-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/users-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* pollination-server
* Pollination Server OpenAPI Definition
*
* The version of the OpenAPI document: 1.9.0
* The version of the OpenAPI document: 1.11.1
* Contact: info@pollination.solutions
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading
Loading