@rasadov/lumoar-sdk 1.0.11 → 1.0.13
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/api.ts +56 -56
- package/dist/api.d.ts +36 -36
- package/dist/api.js +43 -43
- package/docs/RolesApi.md +20 -20
- package/docs/SchedulerRequest.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
- package/publish.sh +4 -0
package/api.ts
CHANGED
|
@@ -1609,18 +1609,6 @@ export interface SchedulerRequest {
|
|
|
1609
1609
|
* @memberof SchedulerRequest
|
|
1610
1610
|
*/
|
|
1611
1611
|
'company_id': string;
|
|
1612
|
-
/**
|
|
1613
|
-
*
|
|
1614
|
-
* @type {Array<string>}
|
|
1615
|
-
* @memberof SchedulerRequest
|
|
1616
|
-
*/
|
|
1617
|
-
'control_ids': Array<string>;
|
|
1618
|
-
/**
|
|
1619
|
-
*
|
|
1620
|
-
* @type {Array<string>}
|
|
1621
|
-
* @memberof SchedulerRequest
|
|
1622
|
-
*/
|
|
1623
|
-
'user_ids': Array<string>;
|
|
1624
1612
|
/**
|
|
1625
1613
|
*
|
|
1626
1614
|
* @type {number}
|
|
@@ -1645,6 +1633,18 @@ export interface SchedulerRequest {
|
|
|
1645
1633
|
* @memberof SchedulerRequest
|
|
1646
1634
|
*/
|
|
1647
1635
|
'reminder_offset_days'?: number;
|
|
1636
|
+
/**
|
|
1637
|
+
*
|
|
1638
|
+
* @type {Array<PermissionType>}
|
|
1639
|
+
* @memberof SchedulerRequest
|
|
1640
|
+
*/
|
|
1641
|
+
'user_roles_to_assign'?: Array<PermissionType>;
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @type {Array<string>}
|
|
1645
|
+
* @memberof SchedulerRequest
|
|
1646
|
+
*/
|
|
1647
|
+
'user_ids_to_assign'?: Array<string>;
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
1650
1650
|
|
|
@@ -5604,17 +5604,18 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5604
5604
|
return {
|
|
5605
5605
|
/**
|
|
5606
5606
|
*
|
|
5607
|
-
* @summary
|
|
5608
|
-
* @param {
|
|
5607
|
+
* @summary Get User Permissions
|
|
5608
|
+
* @param {string} companyId
|
|
5609
5609
|
* @param {string} [authorization]
|
|
5610
5610
|
* @param {string} [sessionId]
|
|
5611
5611
|
* @param {*} [options] Override http request option.
|
|
5612
5612
|
* @throws {RequiredError}
|
|
5613
5613
|
*/
|
|
5614
|
-
|
|
5615
|
-
// verify required parameter '
|
|
5616
|
-
assertParamExists('
|
|
5617
|
-
const localVarPath = `/v1/roles/
|
|
5614
|
+
getUserPermissionsV1RolesCompanyIdMeGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5615
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
5616
|
+
assertParamExists('getUserPermissionsV1RolesCompanyIdMeGet', 'companyId', companyId)
|
|
5617
|
+
const localVarPath = `/v1/roles/{company_id}/me`
|
|
5618
|
+
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
5618
5619
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5619
5620
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5620
5621
|
let baseOptions;
|
|
@@ -5622,21 +5623,18 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5622
5623
|
baseOptions = configuration.baseOptions;
|
|
5623
5624
|
}
|
|
5624
5625
|
|
|
5625
|
-
const localVarRequestOptions = { method: '
|
|
5626
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5626
5627
|
const localVarHeaderParameter = {} as any;
|
|
5627
5628
|
const localVarQueryParameter = {} as any;
|
|
5628
5629
|
|
|
5629
5630
|
|
|
5630
5631
|
|
|
5631
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5632
|
-
|
|
5633
5632
|
if (authorization != null) {
|
|
5634
5633
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5635
5634
|
}
|
|
5636
5635
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5637
5636
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5638
5637
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5639
|
-
localVarRequestOptions.data = serializeDataIfNeeded(inviteToCompany, localVarRequestOptions, configuration)
|
|
5640
5638
|
|
|
5641
5639
|
return {
|
|
5642
5640
|
url: toPathString(localVarUrlObj),
|
|
@@ -5645,18 +5643,17 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5645
5643
|
},
|
|
5646
5644
|
/**
|
|
5647
5645
|
*
|
|
5648
|
-
* @summary
|
|
5649
|
-
* @param {
|
|
5646
|
+
* @summary Invite
|
|
5647
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5650
5648
|
* @param {string} [authorization]
|
|
5651
5649
|
* @param {string} [sessionId]
|
|
5652
5650
|
* @param {*} [options] Override http request option.
|
|
5653
5651
|
* @throws {RequiredError}
|
|
5654
5652
|
*/
|
|
5655
|
-
|
|
5656
|
-
// verify required parameter '
|
|
5657
|
-
assertParamExists('
|
|
5658
|
-
const localVarPath = `/v1/roles/
|
|
5659
|
-
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
5653
|
+
inviteV1RolesInvitesPost: async (inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5654
|
+
// verify required parameter 'inviteToCompany' is not null or undefined
|
|
5655
|
+
assertParamExists('inviteV1RolesInvitesPost', 'inviteToCompany', inviteToCompany)
|
|
5656
|
+
const localVarPath = `/v1/roles/invites`;
|
|
5660
5657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5661
5658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5662
5659
|
let baseOptions;
|
|
@@ -5664,18 +5661,21 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5664
5661
|
baseOptions = configuration.baseOptions;
|
|
5665
5662
|
}
|
|
5666
5663
|
|
|
5667
|
-
const localVarRequestOptions = { method: '
|
|
5664
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5668
5665
|
const localVarHeaderParameter = {} as any;
|
|
5669
5666
|
const localVarQueryParameter = {} as any;
|
|
5670
5667
|
|
|
5671
5668
|
|
|
5672
5669
|
|
|
5670
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5671
|
+
|
|
5673
5672
|
if (authorization != null) {
|
|
5674
5673
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5675
5674
|
}
|
|
5676
5675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5677
5676
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5678
5677
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5678
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteToCompany, localVarRequestOptions, configuration)
|
|
5679
5679
|
|
|
5680
5680
|
return {
|
|
5681
5681
|
url: toPathString(localVarUrlObj),
|
|
@@ -5735,32 +5735,32 @@ export const RolesApiFp = function(configuration?: Configuration) {
|
|
|
5735
5735
|
return {
|
|
5736
5736
|
/**
|
|
5737
5737
|
*
|
|
5738
|
-
* @summary
|
|
5739
|
-
* @param {
|
|
5738
|
+
* @summary Get User Permissions
|
|
5739
|
+
* @param {string} companyId
|
|
5740
5740
|
* @param {string} [authorization]
|
|
5741
5741
|
* @param {string} [sessionId]
|
|
5742
5742
|
* @param {*} [options] Override http request option.
|
|
5743
5743
|
* @throws {RequiredError}
|
|
5744
5744
|
*/
|
|
5745
|
-
async
|
|
5746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5745
|
+
async getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionResponse>> {
|
|
5746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options);
|
|
5747
5747
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5748
|
-
const localVarOperationServerBasePath = operationServerMap['RolesApi.
|
|
5748
|
+
const localVarOperationServerBasePath = operationServerMap['RolesApi.getUserPermissionsV1RolesCompanyIdMeGet']?.[localVarOperationServerIndex]?.url;
|
|
5749
5749
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5750
5750
|
},
|
|
5751
5751
|
/**
|
|
5752
5752
|
*
|
|
5753
|
-
* @summary
|
|
5754
|
-
* @param {
|
|
5753
|
+
* @summary Invite
|
|
5754
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5755
5755
|
* @param {string} [authorization]
|
|
5756
5756
|
* @param {string} [sessionId]
|
|
5757
5757
|
* @param {*} [options] Override http request option.
|
|
5758
5758
|
* @throws {RequiredError}
|
|
5759
5759
|
*/
|
|
5760
|
-
async
|
|
5761
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5760
|
+
async inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
5761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options);
|
|
5762
5762
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5763
|
-
const localVarOperationServerBasePath = operationServerMap['RolesApi.
|
|
5763
|
+
const localVarOperationServerBasePath = operationServerMap['RolesApi.inviteV1RolesInvitesPost']?.[localVarOperationServerIndex]?.url;
|
|
5764
5764
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5765
5765
|
},
|
|
5766
5766
|
/**
|
|
@@ -5790,27 +5790,27 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
|
|
|
5790
5790
|
return {
|
|
5791
5791
|
/**
|
|
5792
5792
|
*
|
|
5793
|
-
* @summary
|
|
5794
|
-
* @param {
|
|
5793
|
+
* @summary Get User Permissions
|
|
5794
|
+
* @param {string} companyId
|
|
5795
5795
|
* @param {string} [authorization]
|
|
5796
5796
|
* @param {string} [sessionId]
|
|
5797
5797
|
* @param {*} [options] Override http request option.
|
|
5798
5798
|
* @throws {RequiredError}
|
|
5799
5799
|
*/
|
|
5800
|
-
|
|
5801
|
-
return localVarFp.
|
|
5800
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionResponse> {
|
|
5801
|
+
return localVarFp.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5802
5802
|
},
|
|
5803
5803
|
/**
|
|
5804
5804
|
*
|
|
5805
|
-
* @summary
|
|
5806
|
-
* @param {
|
|
5805
|
+
* @summary Invite
|
|
5806
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5807
5807
|
* @param {string} [authorization]
|
|
5808
5808
|
* @param {string} [sessionId]
|
|
5809
5809
|
* @param {*} [options] Override http request option.
|
|
5810
5810
|
* @throws {RequiredError}
|
|
5811
5811
|
*/
|
|
5812
|
-
|
|
5813
|
-
return localVarFp.
|
|
5812
|
+
inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
5813
|
+
return localVarFp.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5814
5814
|
},
|
|
5815
5815
|
/**
|
|
5816
5816
|
*
|
|
@@ -5836,30 +5836,30 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
|
|
|
5836
5836
|
export class RolesApi extends BaseAPI {
|
|
5837
5837
|
/**
|
|
5838
5838
|
*
|
|
5839
|
-
* @summary
|
|
5840
|
-
* @param {
|
|
5839
|
+
* @summary Get User Permissions
|
|
5840
|
+
* @param {string} companyId
|
|
5841
5841
|
* @param {string} [authorization]
|
|
5842
5842
|
* @param {string} [sessionId]
|
|
5843
5843
|
* @param {*} [options] Override http request option.
|
|
5844
5844
|
* @throws {RequiredError}
|
|
5845
5845
|
* @memberof RolesApi
|
|
5846
5846
|
*/
|
|
5847
|
-
public
|
|
5848
|
-
return RolesApiFp(this.configuration).
|
|
5847
|
+
public getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5848
|
+
return RolesApiFp(this.configuration).getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5849
5849
|
}
|
|
5850
5850
|
|
|
5851
5851
|
/**
|
|
5852
5852
|
*
|
|
5853
|
-
* @summary
|
|
5854
|
-
* @param {
|
|
5853
|
+
* @summary Invite
|
|
5854
|
+
* @param {InviteToCompany} inviteToCompany
|
|
5855
5855
|
* @param {string} [authorization]
|
|
5856
5856
|
* @param {string} [sessionId]
|
|
5857
5857
|
* @param {*} [options] Override http request option.
|
|
5858
5858
|
* @throws {RequiredError}
|
|
5859
5859
|
* @memberof RolesApi
|
|
5860
5860
|
*/
|
|
5861
|
-
public
|
|
5862
|
-
return RolesApiFp(this.configuration).
|
|
5861
|
+
public inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5862
|
+
return RolesApiFp(this.configuration).inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5863
5863
|
}
|
|
5864
5864
|
|
|
5865
5865
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1573,18 +1573,6 @@ export interface SchedulerRequest {
|
|
|
1573
1573
|
* @memberof SchedulerRequest
|
|
1574
1574
|
*/
|
|
1575
1575
|
'company_id': string;
|
|
1576
|
-
/**
|
|
1577
|
-
*
|
|
1578
|
-
* @type {Array<string>}
|
|
1579
|
-
* @memberof SchedulerRequest
|
|
1580
|
-
*/
|
|
1581
|
-
'control_ids': Array<string>;
|
|
1582
|
-
/**
|
|
1583
|
-
*
|
|
1584
|
-
* @type {Array<string>}
|
|
1585
|
-
* @memberof SchedulerRequest
|
|
1586
|
-
*/
|
|
1587
|
-
'user_ids': Array<string>;
|
|
1588
1576
|
/**
|
|
1589
1577
|
*
|
|
1590
1578
|
* @type {number}
|
|
@@ -1609,6 +1597,18 @@ export interface SchedulerRequest {
|
|
|
1609
1597
|
* @memberof SchedulerRequest
|
|
1610
1598
|
*/
|
|
1611
1599
|
'reminder_offset_days'?: number;
|
|
1600
|
+
/**
|
|
1601
|
+
*
|
|
1602
|
+
* @type {Array<PermissionType>}
|
|
1603
|
+
* @memberof SchedulerRequest
|
|
1604
|
+
*/
|
|
1605
|
+
'user_roles_to_assign'?: Array<PermissionType>;
|
|
1606
|
+
/**
|
|
1607
|
+
*
|
|
1608
|
+
* @type {Array<string>}
|
|
1609
|
+
* @memberof SchedulerRequest
|
|
1610
|
+
*/
|
|
1611
|
+
'user_ids_to_assign'?: Array<string>;
|
|
1612
1612
|
}
|
|
1613
1613
|
/**
|
|
1614
1614
|
*
|
|
@@ -3807,24 +3807,24 @@ export declare class ReportsApi extends BaseAPI {
|
|
|
3807
3807
|
export declare const RolesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3808
3808
|
/**
|
|
3809
3809
|
*
|
|
3810
|
-
* @summary
|
|
3811
|
-
* @param {
|
|
3810
|
+
* @summary Get User Permissions
|
|
3811
|
+
* @param {string} companyId
|
|
3812
3812
|
* @param {string} [authorization]
|
|
3813
3813
|
* @param {string} [sessionId]
|
|
3814
3814
|
* @param {*} [options] Override http request option.
|
|
3815
3815
|
* @throws {RequiredError}
|
|
3816
3816
|
*/
|
|
3817
|
-
|
|
3817
|
+
getUserPermissionsV1RolesCompanyIdMeGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3818
3818
|
/**
|
|
3819
3819
|
*
|
|
3820
|
-
* @summary
|
|
3821
|
-
* @param {
|
|
3820
|
+
* @summary Invite
|
|
3821
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3822
3822
|
* @param {string} [authorization]
|
|
3823
3823
|
* @param {string} [sessionId]
|
|
3824
3824
|
* @param {*} [options] Override http request option.
|
|
3825
3825
|
* @throws {RequiredError}
|
|
3826
3826
|
*/
|
|
3827
|
-
|
|
3827
|
+
inviteV1RolesInvitesPost: (inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3828
3828
|
/**
|
|
3829
3829
|
*
|
|
3830
3830
|
* @summary Remove People
|
|
@@ -3843,24 +3843,24 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3843
3843
|
export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
3844
3844
|
/**
|
|
3845
3845
|
*
|
|
3846
|
-
* @summary
|
|
3847
|
-
* @param {
|
|
3846
|
+
* @summary Get User Permissions
|
|
3847
|
+
* @param {string} companyId
|
|
3848
3848
|
* @param {string} [authorization]
|
|
3849
3849
|
* @param {string} [sessionId]
|
|
3850
3850
|
* @param {*} [options] Override http request option.
|
|
3851
3851
|
* @throws {RequiredError}
|
|
3852
3852
|
*/
|
|
3853
|
-
|
|
3853
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionResponse>>;
|
|
3854
3854
|
/**
|
|
3855
3855
|
*
|
|
3856
|
-
* @summary
|
|
3857
|
-
* @param {
|
|
3856
|
+
* @summary Invite
|
|
3857
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3858
3858
|
* @param {string} [authorization]
|
|
3859
3859
|
* @param {string} [sessionId]
|
|
3860
3860
|
* @param {*} [options] Override http request option.
|
|
3861
3861
|
* @throws {RequiredError}
|
|
3862
3862
|
*/
|
|
3863
|
-
|
|
3863
|
+
inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
|
|
3864
3864
|
/**
|
|
3865
3865
|
*
|
|
3866
3866
|
* @summary Remove People
|
|
@@ -3879,24 +3879,24 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
3879
3879
|
export declare const RolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3880
3880
|
/**
|
|
3881
3881
|
*
|
|
3882
|
-
* @summary
|
|
3883
|
-
* @param {
|
|
3882
|
+
* @summary Get User Permissions
|
|
3883
|
+
* @param {string} companyId
|
|
3884
3884
|
* @param {string} [authorization]
|
|
3885
3885
|
* @param {string} [sessionId]
|
|
3886
3886
|
* @param {*} [options] Override http request option.
|
|
3887
3887
|
* @throws {RequiredError}
|
|
3888
3888
|
*/
|
|
3889
|
-
|
|
3889
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionResponse>;
|
|
3890
3890
|
/**
|
|
3891
3891
|
*
|
|
3892
|
-
* @summary
|
|
3893
|
-
* @param {
|
|
3892
|
+
* @summary Invite
|
|
3893
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3894
3894
|
* @param {string} [authorization]
|
|
3895
3895
|
* @param {string} [sessionId]
|
|
3896
3896
|
* @param {*} [options] Override http request option.
|
|
3897
3897
|
* @throws {RequiredError}
|
|
3898
3898
|
*/
|
|
3899
|
-
|
|
3899
|
+
inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
|
|
3900
3900
|
/**
|
|
3901
3901
|
*
|
|
3902
3902
|
* @summary Remove People
|
|
@@ -3917,26 +3917,26 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3917
3917
|
export declare class RolesApi extends BaseAPI {
|
|
3918
3918
|
/**
|
|
3919
3919
|
*
|
|
3920
|
-
* @summary
|
|
3921
|
-
* @param {
|
|
3920
|
+
* @summary Get User Permissions
|
|
3921
|
+
* @param {string} companyId
|
|
3922
3922
|
* @param {string} [authorization]
|
|
3923
3923
|
* @param {string} [sessionId]
|
|
3924
3924
|
* @param {*} [options] Override http request option.
|
|
3925
3925
|
* @throws {RequiredError}
|
|
3926
3926
|
* @memberof RolesApi
|
|
3927
3927
|
*/
|
|
3928
|
-
|
|
3928
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionResponse, any, {}>>;
|
|
3929
3929
|
/**
|
|
3930
3930
|
*
|
|
3931
|
-
* @summary
|
|
3932
|
-
* @param {
|
|
3931
|
+
* @summary Invite
|
|
3932
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3933
3933
|
* @param {string} [authorization]
|
|
3934
3934
|
* @param {string} [sessionId]
|
|
3935
3935
|
* @param {*} [options] Override http request option.
|
|
3936
3936
|
* @throws {RequiredError}
|
|
3937
3937
|
* @memberof RolesApi
|
|
3938
3938
|
*/
|
|
3939
|
-
|
|
3939
|
+
inviteV1RolesInvitesPost(inviteToCompany: InviteToCompany, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
|
|
3940
3940
|
/**
|
|
3941
3941
|
*
|
|
3942
3942
|
* @summary Remove People
|
package/dist/api.js
CHANGED
|
@@ -3510,34 +3510,33 @@ export const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
3510
3510
|
return {
|
|
3511
3511
|
/**
|
|
3512
3512
|
*
|
|
3513
|
-
* @summary
|
|
3514
|
-
* @param {
|
|
3513
|
+
* @summary Get User Permissions
|
|
3514
|
+
* @param {string} companyId
|
|
3515
3515
|
* @param {string} [authorization]
|
|
3516
3516
|
* @param {string} [sessionId]
|
|
3517
3517
|
* @param {*} [options] Override http request option.
|
|
3518
3518
|
* @throws {RequiredError}
|
|
3519
3519
|
*/
|
|
3520
|
-
|
|
3521
|
-
// verify required parameter '
|
|
3522
|
-
assertParamExists('
|
|
3523
|
-
const localVarPath = `/v1/roles/
|
|
3520
|
+
getUserPermissionsV1RolesCompanyIdMeGet: (companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, authorization, sessionId, options = {}) {
|
|
3521
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3522
|
+
assertParamExists('getUserPermissionsV1RolesCompanyIdMeGet', 'companyId', companyId);
|
|
3523
|
+
const localVarPath = `/v1/roles/{company_id}/me`
|
|
3524
|
+
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
3524
3525
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3525
3526
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3526
3527
|
let baseOptions;
|
|
3527
3528
|
if (configuration) {
|
|
3528
3529
|
baseOptions = configuration.baseOptions;
|
|
3529
3530
|
}
|
|
3530
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
3531
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3531
3532
|
const localVarHeaderParameter = {};
|
|
3532
3533
|
const localVarQueryParameter = {};
|
|
3533
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3534
3534
|
if (authorization != null) {
|
|
3535
3535
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3536
3536
|
}
|
|
3537
3537
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3538
3538
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3539
3539
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3540
|
-
localVarRequestOptions.data = serializeDataIfNeeded(inviteToCompany, localVarRequestOptions, configuration);
|
|
3541
3540
|
return {
|
|
3542
3541
|
url: toPathString(localVarUrlObj),
|
|
3543
3542
|
options: localVarRequestOptions,
|
|
@@ -3545,33 +3544,34 @@ export const RolesApiAxiosParamCreator = function (configuration) {
|
|
|
3545
3544
|
}),
|
|
3546
3545
|
/**
|
|
3547
3546
|
*
|
|
3548
|
-
* @summary
|
|
3549
|
-
* @param {
|
|
3547
|
+
* @summary Invite
|
|
3548
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3550
3549
|
* @param {string} [authorization]
|
|
3551
3550
|
* @param {string} [sessionId]
|
|
3552
3551
|
* @param {*} [options] Override http request option.
|
|
3553
3552
|
* @throws {RequiredError}
|
|
3554
3553
|
*/
|
|
3555
|
-
|
|
3556
|
-
// verify required parameter '
|
|
3557
|
-
assertParamExists('
|
|
3558
|
-
const localVarPath = `/v1/roles/
|
|
3559
|
-
.replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
|
|
3554
|
+
inviteV1RolesInvitesPost: (inviteToCompany_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [inviteToCompany_1, authorization_1, sessionId_1, ...args_1], void 0, function* (inviteToCompany, authorization, sessionId, options = {}) {
|
|
3555
|
+
// verify required parameter 'inviteToCompany' is not null or undefined
|
|
3556
|
+
assertParamExists('inviteV1RolesInvitesPost', 'inviteToCompany', inviteToCompany);
|
|
3557
|
+
const localVarPath = `/v1/roles/invites`;
|
|
3560
3558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3561
3559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3562
3560
|
let baseOptions;
|
|
3563
3561
|
if (configuration) {
|
|
3564
3562
|
baseOptions = configuration.baseOptions;
|
|
3565
3563
|
}
|
|
3566
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
3564
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3567
3565
|
const localVarHeaderParameter = {};
|
|
3568
3566
|
const localVarQueryParameter = {};
|
|
3567
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3569
3568
|
if (authorization != null) {
|
|
3570
3569
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3571
3570
|
}
|
|
3572
3571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3573
3572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3574
3573
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteToCompany, localVarRequestOptions, configuration);
|
|
3575
3575
|
return {
|
|
3576
3576
|
url: toPathString(localVarUrlObj),
|
|
3577
3577
|
options: localVarRequestOptions,
|
|
@@ -3623,37 +3623,37 @@ export const RolesApiFp = function (configuration) {
|
|
|
3623
3623
|
return {
|
|
3624
3624
|
/**
|
|
3625
3625
|
*
|
|
3626
|
-
* @summary
|
|
3627
|
-
* @param {
|
|
3626
|
+
* @summary Get User Permissions
|
|
3627
|
+
* @param {string} companyId
|
|
3628
3628
|
* @param {string} [authorization]
|
|
3629
3629
|
* @param {string} [sessionId]
|
|
3630
3630
|
* @param {*} [options] Override http request option.
|
|
3631
3631
|
* @throws {RequiredError}
|
|
3632
3632
|
*/
|
|
3633
|
-
|
|
3633
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options) {
|
|
3634
3634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3635
3635
|
var _a, _b, _c;
|
|
3636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
3636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options);
|
|
3637
3637
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3638
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.
|
|
3638
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.getUserPermissionsV1RolesCompanyIdMeGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3639
3639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3640
3640
|
});
|
|
3641
3641
|
},
|
|
3642
3642
|
/**
|
|
3643
3643
|
*
|
|
3644
|
-
* @summary
|
|
3645
|
-
* @param {
|
|
3644
|
+
* @summary Invite
|
|
3645
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3646
3646
|
* @param {string} [authorization]
|
|
3647
3647
|
* @param {string} [sessionId]
|
|
3648
3648
|
* @param {*} [options] Override http request option.
|
|
3649
3649
|
* @throws {RequiredError}
|
|
3650
3650
|
*/
|
|
3651
|
-
|
|
3651
|
+
inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
|
|
3652
3652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3653
3653
|
var _a, _b, _c;
|
|
3654
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
3654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options);
|
|
3655
3655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3656
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.
|
|
3656
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.inviteV1RolesInvitesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3657
3657
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3658
3658
|
});
|
|
3659
3659
|
},
|
|
@@ -3686,27 +3686,27 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
3686
3686
|
return {
|
|
3687
3687
|
/**
|
|
3688
3688
|
*
|
|
3689
|
-
* @summary
|
|
3690
|
-
* @param {
|
|
3689
|
+
* @summary Get User Permissions
|
|
3690
|
+
* @param {string} companyId
|
|
3691
3691
|
* @param {string} [authorization]
|
|
3692
3692
|
* @param {string} [sessionId]
|
|
3693
3693
|
* @param {*} [options] Override http request option.
|
|
3694
3694
|
* @throws {RequiredError}
|
|
3695
3695
|
*/
|
|
3696
|
-
|
|
3697
|
-
return localVarFp.
|
|
3696
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options) {
|
|
3697
|
+
return localVarFp.getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3698
3698
|
},
|
|
3699
3699
|
/**
|
|
3700
3700
|
*
|
|
3701
|
-
* @summary
|
|
3702
|
-
* @param {
|
|
3701
|
+
* @summary Invite
|
|
3702
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3703
3703
|
* @param {string} [authorization]
|
|
3704
3704
|
* @param {string} [sessionId]
|
|
3705
3705
|
* @param {*} [options] Override http request option.
|
|
3706
3706
|
* @throws {RequiredError}
|
|
3707
3707
|
*/
|
|
3708
|
-
|
|
3709
|
-
return localVarFp.
|
|
3708
|
+
inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
|
|
3709
|
+
return localVarFp.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3710
3710
|
},
|
|
3711
3711
|
/**
|
|
3712
3712
|
*
|
|
@@ -3731,29 +3731,29 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
|
|
|
3731
3731
|
export class RolesApi extends BaseAPI {
|
|
3732
3732
|
/**
|
|
3733
3733
|
*
|
|
3734
|
-
* @summary
|
|
3735
|
-
* @param {
|
|
3734
|
+
* @summary Get User Permissions
|
|
3735
|
+
* @param {string} companyId
|
|
3736
3736
|
* @param {string} [authorization]
|
|
3737
3737
|
* @param {string} [sessionId]
|
|
3738
3738
|
* @param {*} [options] Override http request option.
|
|
3739
3739
|
* @throws {RequiredError}
|
|
3740
3740
|
* @memberof RolesApi
|
|
3741
3741
|
*/
|
|
3742
|
-
|
|
3743
|
-
return RolesApiFp(this.configuration).
|
|
3742
|
+
getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options) {
|
|
3743
|
+
return RolesApiFp(this.configuration).getUserPermissionsV1RolesCompanyIdMeGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3744
3744
|
}
|
|
3745
3745
|
/**
|
|
3746
3746
|
*
|
|
3747
|
-
* @summary
|
|
3748
|
-
* @param {
|
|
3747
|
+
* @summary Invite
|
|
3748
|
+
* @param {InviteToCompany} inviteToCompany
|
|
3749
3749
|
* @param {string} [authorization]
|
|
3750
3750
|
* @param {string} [sessionId]
|
|
3751
3751
|
* @param {*} [options] Override http request option.
|
|
3752
3752
|
* @throws {RequiredError}
|
|
3753
3753
|
* @memberof RolesApi
|
|
3754
3754
|
*/
|
|
3755
|
-
|
|
3756
|
-
return RolesApiFp(this.configuration).
|
|
3755
|
+
inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
|
|
3756
|
+
return RolesApiFp(this.configuration).inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3757
3757
|
}
|
|
3758
3758
|
/**
|
|
3759
3759
|
*
|
package/docs/RolesApi.md
CHANGED
|
@@ -4,12 +4,12 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getUserPermissionsV1RolesCompanyIdMeGet**](#getuserpermissionsv1rolescompanyidmeget) | **GET** /v1/roles/{company_id}/me | Get User Permissions|
|
|
7
8
|
|[**inviteV1RolesInvitesPost**](#invitev1rolesinvitespost) | **POST** /v1/roles/invites | Invite|
|
|
8
|
-
|[**listInvitesV1RolesCompanyIdMeGet**](#listinvitesv1rolescompanyidmeget) | **GET** /v1/roles/{company_id}/me | List Invites|
|
|
9
9
|
|[**removePeopleV1RolesInvitesDelete**](#removepeoplev1rolesinvitesdelete) | **DELETE** /v1/roles/invites | Remove People|
|
|
10
10
|
|
|
11
|
-
# **
|
|
12
|
-
>
|
|
11
|
+
# **getUserPermissionsV1RolesCompanyIdMeGet**
|
|
12
|
+
> PermissionResponse getUserPermissionsV1RolesCompanyIdMeGet()
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
### Example
|
|
@@ -17,19 +17,18 @@ All URIs are relative to *http://localhost*
|
|
|
17
17
|
```typescript
|
|
18
18
|
import {
|
|
19
19
|
RolesApi,
|
|
20
|
-
Configuration
|
|
21
|
-
InviteToCompany
|
|
20
|
+
Configuration
|
|
22
21
|
} from './api';
|
|
23
22
|
|
|
24
23
|
const configuration = new Configuration();
|
|
25
24
|
const apiInstance = new RolesApi(configuration);
|
|
26
25
|
|
|
27
|
-
let
|
|
26
|
+
let companyId: string; // (default to undefined)
|
|
28
27
|
let authorization: string; // (optional) (default to undefined)
|
|
29
28
|
let sessionId: string; // (optional) (default to undefined)
|
|
30
29
|
|
|
31
|
-
const { status, data } = await apiInstance.
|
|
32
|
-
|
|
30
|
+
const { status, data } = await apiInstance.getUserPermissionsV1RolesCompanyIdMeGet(
|
|
31
|
+
companyId,
|
|
33
32
|
authorization,
|
|
34
33
|
sessionId
|
|
35
34
|
);
|
|
@@ -39,14 +38,14 @@ const { status, data } = await apiInstance.inviteV1RolesInvitesPost(
|
|
|
39
38
|
|
|
40
39
|
|Name | Type | Description | Notes|
|
|
41
40
|
|------------- | ------------- | ------------- | -------------|
|
|
42
|
-
| **
|
|
41
|
+
| **companyId** | [**string**] | | defaults to undefined|
|
|
43
42
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
44
43
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
45
44
|
|
|
46
45
|
|
|
47
46
|
### Return type
|
|
48
47
|
|
|
49
|
-
**
|
|
48
|
+
**PermissionResponse**
|
|
50
49
|
|
|
51
50
|
### Authorization
|
|
52
51
|
|
|
@@ -54,7 +53,7 @@ No authorization required
|
|
|
54
53
|
|
|
55
54
|
### HTTP request headers
|
|
56
55
|
|
|
57
|
-
- **Content-Type**:
|
|
56
|
+
- **Content-Type**: Not defined
|
|
58
57
|
- **Accept**: application/json
|
|
59
58
|
|
|
60
59
|
|
|
@@ -66,8 +65,8 @@ No authorization required
|
|
|
66
65
|
|
|
67
66
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
68
67
|
|
|
69
|
-
# **
|
|
70
|
-
>
|
|
68
|
+
# **inviteV1RolesInvitesPost**
|
|
69
|
+
> Details inviteV1RolesInvitesPost(inviteToCompany)
|
|
71
70
|
|
|
72
71
|
|
|
73
72
|
### Example
|
|
@@ -75,18 +74,19 @@ No authorization required
|
|
|
75
74
|
```typescript
|
|
76
75
|
import {
|
|
77
76
|
RolesApi,
|
|
78
|
-
Configuration
|
|
77
|
+
Configuration,
|
|
78
|
+
InviteToCompany
|
|
79
79
|
} from './api';
|
|
80
80
|
|
|
81
81
|
const configuration = new Configuration();
|
|
82
82
|
const apiInstance = new RolesApi(configuration);
|
|
83
83
|
|
|
84
|
-
let
|
|
84
|
+
let inviteToCompany: InviteToCompany; //
|
|
85
85
|
let authorization: string; // (optional) (default to undefined)
|
|
86
86
|
let sessionId: string; // (optional) (default to undefined)
|
|
87
87
|
|
|
88
|
-
const { status, data } = await apiInstance.
|
|
89
|
-
|
|
88
|
+
const { status, data } = await apiInstance.inviteV1RolesInvitesPost(
|
|
89
|
+
inviteToCompany,
|
|
90
90
|
authorization,
|
|
91
91
|
sessionId
|
|
92
92
|
);
|
|
@@ -96,14 +96,14 @@ const { status, data } = await apiInstance.listInvitesV1RolesCompanyIdMeGet(
|
|
|
96
96
|
|
|
97
97
|
|Name | Type | Description | Notes|
|
|
98
98
|
|------------- | ------------- | ------------- | -------------|
|
|
99
|
-
| **
|
|
99
|
+
| **inviteToCompany** | **InviteToCompany**| | |
|
|
100
100
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
101
101
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
### Return type
|
|
105
105
|
|
|
106
|
-
**
|
|
106
|
+
**Details**
|
|
107
107
|
|
|
108
108
|
### Authorization
|
|
109
109
|
|
|
@@ -111,7 +111,7 @@ No authorization required
|
|
|
111
111
|
|
|
112
112
|
### HTTP request headers
|
|
113
113
|
|
|
114
|
-
- **Content-Type**:
|
|
114
|
+
- **Content-Type**: application/json
|
|
115
115
|
- **Accept**: application/json
|
|
116
116
|
|
|
117
117
|
|
package/docs/SchedulerRequest.md
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**company_id** | **string** | | [default to undefined]
|
|
9
|
-
**control_ids** | **Array<string>** | | [default to undefined]
|
|
10
|
-
**user_ids** | **Array<string>** | | [default to undefined]
|
|
11
9
|
**expected_finish_days** | **number** | | [default to undefined]
|
|
12
10
|
**frequency** | [**ReminderFrequency**](ReminderFrequency.md) | | [optional] [default to undefined]
|
|
13
11
|
**delivery_method** | [**DeliveryMethod**](DeliveryMethod.md) | | [optional] [default to undefined]
|
|
14
12
|
**reminder_offset_days** | **number** | | [optional] [default to 1]
|
|
13
|
+
**user_roles_to_assign** | [**Array<PermissionType>**](PermissionType.md) | | [optional] [default to undefined]
|
|
14
|
+
**user_ids_to_assign** | **Array<string>** | | [optional] [default to undefined]
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
@@ -20,12 +20,12 @@ import { SchedulerRequest } from './api';
|
|
|
20
20
|
|
|
21
21
|
const instance: SchedulerRequest = {
|
|
22
22
|
company_id,
|
|
23
|
-
control_ids,
|
|
24
|
-
user_ids,
|
|
25
23
|
expected_finish_days,
|
|
26
24
|
frequency,
|
|
27
25
|
delivery_method,
|
|
28
26
|
reminder_offset_days,
|
|
27
|
+
user_roles_to_assign,
|
|
28
|
+
user_ids_to_assign,
|
|
29
29
|
};
|
|
30
30
|
```
|
|
31
31
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
package/publish.sh
ADDED