@reposit/api-client 6.46.0 → 6.48.0

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/dist/api.d.ts CHANGED
@@ -1870,13 +1870,16 @@ export declare enum QueueMessageDTOTypeEnum {
1870
1870
  CHARGEPAYMENTPLANINSTALMENT = "CHARGE_PAYMENT_PLAN_INSTALMENT",
1871
1871
  PAYMENTPLANINSTALMENTREMINDER = "PAYMENT_PLAN_INSTALMENT_REMINDER",
1872
1872
  PAYMENTPLANINSTALMENTEXPIRED = "PAYMENT_PLAN_INSTALMENT_EXPIRED",
1873
+ PROCESSSENDGRIDWEBHOOK = "PROCESS_SENDGRID_WEBHOOK",
1873
1874
  PAYMENTPLANACTIVATIONREMINDER = "PAYMENT_PLAN_ACTIVATION_REMINDER",
1874
1875
  PAYMENTPLANCANCELLATION = "PAYMENT_PLAN_CANCELLATION",
1875
1876
  TENANCYINVENTORYNOTIFICATION = "TENANCY_INVENTORY_NOTIFICATION",
1876
1877
  REPOSITOFFERREMINDER = "REPOSIT_OFFER_REMINDER",
1877
1878
  EVIDENCECHASERREMINDER = "EVIDENCE_CHASER_REMINDER",
1878
1879
  EVIDENCECHASEREXPIREDNOTIFICATION = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1879
- ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION"
1880
+ ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION",
1881
+ IVRCALLPROCESSING = "IVR_CALL_PROCESSING",
1882
+ PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK"
1880
1883
  }
1881
1884
  export declare enum QueueMessageDTOCronNameEnum {
1882
1885
  DAILYKPIS = "DAILY_KPIS",
@@ -1917,7 +1920,8 @@ export declare enum QueueMessageDTOCronNameEnum {
1917
1920
  DAILYREPOSITOFFERREMINDER = "DAILY_REPOSIT_OFFER_REMINDER",
1918
1921
  DAILYEVIDENCECHASERREMINDER = "DAILY_EVIDENCE_CHASER_REMINDER",
1919
1922
  DAILYEVIDENCECHASEREXPIREDNOTIFICATION = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
1920
- DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION"
1923
+ DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
1924
+ DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING"
1921
1925
  }
1922
1926
  export interface ReconciliationDocumentDTO {
1923
1927
  document: DocumentDTO;
@@ -2737,7 +2741,8 @@ export declare enum UserDTOInternalRolesEnum {
2737
2741
  FINANCEINDIVIDUAL = "FINANCE_INDIVIDUAL",
2738
2742
  PAYMENTPLANCREATE = "PAYMENT_PLAN_CREATE",
2739
2743
  PAYMENTPLANDELETE = "PAYMENT_PLAN_DELETE",
2740
- INTERNALREPORTSALES = "INTERNAL_REPORT_SALES"
2744
+ INTERNALREPORTSALES = "INTERNAL_REPORT_SALES",
2745
+ MANAGEORGANIZATIONUSERROLES = "MANAGE_ORGANIZATION_USER_ROLES"
2741
2746
  }
2742
2747
  export interface UserFeatureFlagsDTO {
2743
2748
  betaAllowed?: boolean;
@@ -3496,22 +3501,27 @@ export declare class HealthApi extends BaseAPI implements HealthApiInterface {
3496
3501
  export declare const IncomingWebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
3497
3502
  processSendGridWebhooks(requestBody: string[], options?: any): RequestArgs;
3498
3503
  processStripeWebhooks(options?: any): RequestArgs;
3504
+ processTwilioIvrWebhooks(ivrCallId: string, options?: any): RequestArgs;
3499
3505
  };
3500
3506
  export declare const IncomingWebhooksApiFp: (configuration?: Configuration) => {
3501
3507
  processSendGridWebhooks(requestBody: string[], options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3502
3508
  processStripeWebhooks(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3509
+ processTwilioIvrWebhooks(ivrCallId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3503
3510
  };
3504
3511
  export declare const IncomingWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3505
3512
  processSendGridWebhooks(requestBody: string[], options?: any): AxiosPromise<object>;
3506
3513
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3514
+ processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3507
3515
  };
3508
3516
  export interface IncomingWebhooksApiInterface {
3509
3517
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3510
3518
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3519
+ processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3511
3520
  }
3512
3521
  export declare class IncomingWebhooksApi extends BaseAPI implements IncomingWebhooksApiInterface {
3513
3522
  processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
3514
3523
  processStripeWebhooks(options?: any): AxiosPromise<object>;
3524
+ processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
3515
3525
  }
3516
3526
  export declare const InsuranceClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
3517
3527
  createInsuranceClaim(policyId: string, createInsuranceClaimDTO: CreateInsuranceClaimDTO, options?: any): RequestArgs;
@@ -3854,19 +3864,29 @@ export declare class OrganizationRecipientsApi extends BaseAPI implements Organi
3854
3864
  deleteOrganizationRecipient(id: string, organizationId: string, options?: any): AxiosPromise<object>;
3855
3865
  }
3856
3866
  export declare const OrganizationUsersApiAxiosParamCreator: (configuration?: Configuration) => {
3867
+ grantRoles(userId: string, organizationId: string, options?: any): RequestArgs;
3857
3868
  notifyIntegrator(userId: string, organizationId: string, notifyIntegratorDTO: NotifyIntegratorDTO, options?: any): RequestArgs;
3869
+ revokeRoles(userId: string, organizationId: string, options?: any): RequestArgs;
3858
3870
  };
3859
3871
  export declare const OrganizationUsersApiFp: (configuration?: Configuration) => {
3872
+ grantRoles(userId: string, organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3860
3873
  notifyIntegrator(userId: string, organizationId: string, notifyIntegratorDTO: NotifyIntegratorDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
3874
+ revokeRoles(userId: string, organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationUserDTO>;
3861
3875
  };
3862
3876
  export declare const OrganizationUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3877
+ grantRoles(userId: string, organizationId: string, options?: any): AxiosPromise<object>;
3863
3878
  notifyIntegrator(userId: string, organizationId: string, notifyIntegratorDTO: NotifyIntegratorDTO, options?: any): AxiosPromise<object>;
3879
+ revokeRoles(userId: string, organizationId: string, options?: any): AxiosPromise<OrganizationUserDTO>;
3864
3880
  };
3865
3881
  export interface OrganizationUsersApiInterface {
3882
+ grantRoles(userId: string, organizationId: string, options?: any): AxiosPromise<object>;
3866
3883
  notifyIntegrator(userId: string, organizationId: string, notifyIntegratorDTO: NotifyIntegratorDTO, options?: any): AxiosPromise<object>;
3884
+ revokeRoles(userId: string, organizationId: string, options?: any): AxiosPromise<OrganizationUserDTO>;
3867
3885
  }
3868
3886
  export declare class OrganizationUsersApi extends BaseAPI implements OrganizationUsersApiInterface {
3887
+ grantRoles(userId: string, organizationId: string, options?: any): AxiosPromise<object>;
3869
3888
  notifyIntegrator(userId: string, organizationId: string, notifyIntegratorDTO: NotifyIntegratorDTO, options?: any): AxiosPromise<object>;
3889
+ revokeRoles(userId: string, organizationId: string, options?: any): AxiosPromise<OrganizationUserDTO>;
3870
3890
  }
3871
3891
  export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configuration) => {
3872
3892
  confirmBankAccounts(id: string, options?: any): RequestArgs;
@@ -3876,6 +3896,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
3876
3896
  enableProductCreation(id: string, options?: any): RequestArgs;
3877
3897
  fetchAddressesByOrganizationId(id: string, options?: any): RequestArgs;
3878
3898
  fetchLandlordsByOrganizationId(id: string, options?: any): RequestArgs;
3899
+ fetchOrganizationUsersByOrganizationId(id: string, options?: any): RequestArgs;
3879
3900
  fetchPropertiesByOrganizationId(id: string, options?: any): RequestArgs;
3880
3901
  fetchTenanciesByOrganizationId(id: string, options?: any): RequestArgs;
3881
3902
  fetchUsersByOrganizationId(id: string, options?: any): RequestArgs;
@@ -3902,6 +3923,7 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
3902
3923
  enableProductCreation(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO>;
3903
3924
  fetchAddressesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressDTO[]>;
3904
3925
  fetchLandlordsByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandlordDTO[]>;
3926
+ fetchOrganizationUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationUserDTO[]>;
3905
3927
  fetchPropertiesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<PropertyDTO[]>;
3906
3928
  fetchTenanciesByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyDTO[]>;
3907
3929
  fetchUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDTO[]>;
@@ -3928,6 +3950,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
3928
3950
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
3929
3951
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<AddressDTO[]>;
3930
3952
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<LandlordDTO[]>;
3953
+ fetchOrganizationUsersByOrganizationId(id: string, options?: any): AxiosPromise<OrganizationUserDTO[]>;
3931
3954
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
3932
3955
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
3933
3956
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
@@ -3954,6 +3977,7 @@ export interface OrganizationsApiInterface {
3954
3977
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
3955
3978
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<Array<AddressDTO>>;
3956
3979
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<Array<LandlordDTO>>;
3980
+ fetchOrganizationUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<OrganizationUserDTO>>;
3957
3981
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<Array<PropertyDTO>>;
3958
3982
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<Array<TenancyDTO>>;
3959
3983
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<UserDTO>>;
@@ -3980,6 +4004,7 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
3980
4004
  enableProductCreation(id: string, options?: any): AxiosPromise<OrganizationDTO>;
3981
4005
  fetchAddressesByOrganizationId(id: string, options?: any): AxiosPromise<AddressDTO[]>;
3982
4006
  fetchLandlordsByOrganizationId(id: string, options?: any): AxiosPromise<LandlordDTO[]>;
4007
+ fetchOrganizationUsersByOrganizationId(id: string, options?: any): AxiosPromise<OrganizationUserDTO[]>;
3983
4008
  fetchPropertiesByOrganizationId(id: string, options?: any): AxiosPromise<PropertyDTO[]>;
3984
4009
  fetchTenanciesByOrganizationId(id: string, options?: any): AxiosPromise<TenancyDTO[]>;
3985
4010
  fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
package/dist/api.js CHANGED
@@ -755,6 +755,7 @@ var QueueMessageDTOTypeEnum;
755
755
  QueueMessageDTOTypeEnum["CHARGEPAYMENTPLANINSTALMENT"] = "CHARGE_PAYMENT_PLAN_INSTALMENT";
756
756
  QueueMessageDTOTypeEnum["PAYMENTPLANINSTALMENTREMINDER"] = "PAYMENT_PLAN_INSTALMENT_REMINDER";
757
757
  QueueMessageDTOTypeEnum["PAYMENTPLANINSTALMENTEXPIRED"] = "PAYMENT_PLAN_INSTALMENT_EXPIRED";
758
+ QueueMessageDTOTypeEnum["PROCESSSENDGRIDWEBHOOK"] = "PROCESS_SENDGRID_WEBHOOK";
758
759
  QueueMessageDTOTypeEnum["PAYMENTPLANACTIVATIONREMINDER"] = "PAYMENT_PLAN_ACTIVATION_REMINDER";
759
760
  QueueMessageDTOTypeEnum["PAYMENTPLANCANCELLATION"] = "PAYMENT_PLAN_CANCELLATION";
760
761
  QueueMessageDTOTypeEnum["TENANCYINVENTORYNOTIFICATION"] = "TENANCY_INVENTORY_NOTIFICATION";
@@ -762,6 +763,8 @@ var QueueMessageDTOTypeEnum;
762
763
  QueueMessageDTOTypeEnum["EVIDENCECHASERREMINDER"] = "EVIDENCE_CHASER_REMINDER";
763
764
  QueueMessageDTOTypeEnum["EVIDENCECHASEREXPIREDNOTIFICATION"] = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION";
764
765
  QueueMessageDTOTypeEnum["ARBITRATIONSENTNOTIFICATION"] = "ARBITRATION_SENT_NOTIFICATION";
766
+ QueueMessageDTOTypeEnum["IVRCALLPROCESSING"] = "IVR_CALL_PROCESSING";
767
+ QueueMessageDTOTypeEnum["PROCESSTWILIOIVRWEBHOOK"] = "PROCESS_TWILIO_IVR_WEBHOOK";
765
768
  })(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
766
769
  var QueueMessageDTOCronNameEnum;
767
770
  (function (QueueMessageDTOCronNameEnum) {
@@ -804,6 +807,7 @@ var QueueMessageDTOCronNameEnum;
804
807
  QueueMessageDTOCronNameEnum["DAILYEVIDENCECHASERREMINDER"] = "DAILY_EVIDENCE_CHASER_REMINDER";
805
808
  QueueMessageDTOCronNameEnum["DAILYEVIDENCECHASEREXPIREDNOTIFICATION"] = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION";
806
809
  QueueMessageDTOCronNameEnum["DAILYARBITRATIONSENTNOTIFICATION"] = "DAILY_ARBITRATION_SENT_NOTIFICATION";
810
+ QueueMessageDTOCronNameEnum["DAILYIVRCALLPROCESSING"] = "DAILY_IVR_CALL_PROCESSING";
807
811
  })(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
808
812
  var ReferenceDTOStatusEnum;
809
813
  (function (ReferenceDTOStatusEnum) {
@@ -958,6 +962,7 @@ var UserDTOInternalRolesEnum;
958
962
  UserDTOInternalRolesEnum["PAYMENTPLANCREATE"] = "PAYMENT_PLAN_CREATE";
959
963
  UserDTOInternalRolesEnum["PAYMENTPLANDELETE"] = "PAYMENT_PLAN_DELETE";
960
964
  UserDTOInternalRolesEnum["INTERNALREPORTSALES"] = "INTERNAL_REPORT_SALES";
965
+ UserDTOInternalRolesEnum["MANAGEORGANIZATIONUSERROLES"] = "MANAGE_ORGANIZATION_USER_ROLES";
961
966
  })(UserDTOInternalRolesEnum = exports.UserDTOInternalRolesEnum || (exports.UserDTOInternalRolesEnum = {}));
962
967
  exports.AddressesApiAxiosParamCreator = function (configuration) {
963
968
  return {
@@ -5754,6 +5759,29 @@ exports.IncomingWebhooksApiAxiosParamCreator = function (configuration) {
5754
5759
  options: localVarRequestOptions,
5755
5760
  };
5756
5761
  },
5762
+ processTwilioIvrWebhooks: function (ivrCallId, options) {
5763
+ if (options === void 0) { options = {}; }
5764
+ if (ivrCallId === null || ivrCallId === undefined) {
5765
+ throw new base_1.RequiredError('ivrCallId', 'Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooks.');
5766
+ }
5767
+ var localVarPath = "/v2/webhooks/twilio-ivr/{ivrCallId}"
5768
+ .replace("{" + "ivrCallId" + "}", encodeURIComponent(String(ivrCallId)));
5769
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
5770
+ var baseOptions;
5771
+ if (configuration) {
5772
+ baseOptions = configuration.baseOptions;
5773
+ }
5774
+ var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
5775
+ var localVarHeaderParameter = {};
5776
+ var localVarQueryParameter = {};
5777
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
5778
+ delete localVarUrlObj.search;
5779
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
5780
+ return {
5781
+ url: globalImportUrl.format(localVarUrlObj),
5782
+ options: localVarRequestOptions,
5783
+ };
5784
+ },
5757
5785
  };
5758
5786
  };
5759
5787
  exports.IncomingWebhooksApiFp = function (configuration) {
@@ -5776,6 +5804,15 @@ exports.IncomingWebhooksApiFp = function (configuration) {
5776
5804
  return axios.request(axiosRequestArgs);
5777
5805
  };
5778
5806
  },
5807
+ processTwilioIvrWebhooks: function (ivrCallId, options) {
5808
+ var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioIvrWebhooks(ivrCallId, options);
5809
+ return function (axios, basePath) {
5810
+ if (axios === void 0) { axios = axios_1.default; }
5811
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
5812
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
5813
+ return axios.request(axiosRequestArgs);
5814
+ };
5815
+ },
5779
5816
  };
5780
5817
  };
5781
5818
  exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
@@ -5786,6 +5823,9 @@ exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
5786
5823
  processStripeWebhooks: function (options) {
5787
5824
  return exports.IncomingWebhooksApiFp(configuration).processStripeWebhooks(options)(axios, basePath);
5788
5825
  },
5826
+ processTwilioIvrWebhooks: function (ivrCallId, options) {
5827
+ return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooks(ivrCallId, options)(axios, basePath);
5828
+ },
5789
5829
  };
5790
5830
  };
5791
5831
  var IncomingWebhooksApi = (function (_super) {
@@ -5799,6 +5839,9 @@ var IncomingWebhooksApi = (function (_super) {
5799
5839
  IncomingWebhooksApi.prototype.processStripeWebhooks = function (options) {
5800
5840
  return exports.IncomingWebhooksApiFp(this.configuration).processStripeWebhooks(options)(this.axios, this.basePath);
5801
5841
  };
5842
+ IncomingWebhooksApi.prototype.processTwilioIvrWebhooks = function (ivrCallId, options) {
5843
+ return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooks(ivrCallId, options)(this.axios, this.basePath);
5844
+ };
5802
5845
  return IncomingWebhooksApi;
5803
5846
  }(base_1.BaseAPI));
5804
5847
  exports.IncomingWebhooksApi = IncomingWebhooksApi;
@@ -7634,6 +7677,33 @@ var OrganizationRecipientsApi = (function (_super) {
7634
7677
  exports.OrganizationRecipientsApi = OrganizationRecipientsApi;
7635
7678
  exports.OrganizationUsersApiAxiosParamCreator = function (configuration) {
7636
7679
  return {
7680
+ grantRoles: function (userId, organizationId, options) {
7681
+ if (options === void 0) { options = {}; }
7682
+ if (userId === null || userId === undefined) {
7683
+ throw new base_1.RequiredError('userId', 'Required parameter userId was null or undefined when calling grantRoles.');
7684
+ }
7685
+ if (organizationId === null || organizationId === undefined) {
7686
+ throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling grantRoles.');
7687
+ }
7688
+ var localVarPath = "/v2/organizations/{organizationId}/users/{userId}/grant-roles"
7689
+ .replace("{" + "userId" + "}", encodeURIComponent(String(userId)))
7690
+ .replace("{" + "organizationId" + "}", encodeURIComponent(String(organizationId)));
7691
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
7692
+ var baseOptions;
7693
+ if (configuration) {
7694
+ baseOptions = configuration.baseOptions;
7695
+ }
7696
+ var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
7697
+ var localVarHeaderParameter = {};
7698
+ var localVarQueryParameter = {};
7699
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
7700
+ delete localVarUrlObj.search;
7701
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
7702
+ return {
7703
+ url: globalImportUrl.format(localVarUrlObj),
7704
+ options: localVarRequestOptions,
7705
+ };
7706
+ },
7637
7707
  notifyIntegrator: function (userId, organizationId, notifyIntegratorDTO, options) {
7638
7708
  if (options === void 0) { options = {}; }
7639
7709
  if (userId === null || userId === undefined) {
@@ -7667,10 +7737,46 @@ exports.OrganizationUsersApiAxiosParamCreator = function (configuration) {
7667
7737
  options: localVarRequestOptions,
7668
7738
  };
7669
7739
  },
7740
+ revokeRoles: function (userId, organizationId, options) {
7741
+ if (options === void 0) { options = {}; }
7742
+ if (userId === null || userId === undefined) {
7743
+ throw new base_1.RequiredError('userId', 'Required parameter userId was null or undefined when calling revokeRoles.');
7744
+ }
7745
+ if (organizationId === null || organizationId === undefined) {
7746
+ throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling revokeRoles.');
7747
+ }
7748
+ var localVarPath = "/v2/organizations/{organizationId}/users/{userId}/revoke-roles"
7749
+ .replace("{" + "userId" + "}", encodeURIComponent(String(userId)))
7750
+ .replace("{" + "organizationId" + "}", encodeURIComponent(String(organizationId)));
7751
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
7752
+ var baseOptions;
7753
+ if (configuration) {
7754
+ baseOptions = configuration.baseOptions;
7755
+ }
7756
+ var localVarRequestOptions = __assign({ method: 'DELETE' }, baseOptions, options);
7757
+ var localVarHeaderParameter = {};
7758
+ var localVarQueryParameter = {};
7759
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
7760
+ delete localVarUrlObj.search;
7761
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
7762
+ return {
7763
+ url: globalImportUrl.format(localVarUrlObj),
7764
+ options: localVarRequestOptions,
7765
+ };
7766
+ },
7670
7767
  };
7671
7768
  };
7672
7769
  exports.OrganizationUsersApiFp = function (configuration) {
7673
7770
  return {
7771
+ grantRoles: function (userId, organizationId, options) {
7772
+ var localVarAxiosArgs = exports.OrganizationUsersApiAxiosParamCreator(configuration).grantRoles(userId, organizationId, options);
7773
+ return function (axios, basePath) {
7774
+ if (axios === void 0) { axios = axios_1.default; }
7775
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
7776
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
7777
+ return axios.request(axiosRequestArgs);
7778
+ };
7779
+ },
7674
7780
  notifyIntegrator: function (userId, organizationId, notifyIntegratorDTO, options) {
7675
7781
  var localVarAxiosArgs = exports.OrganizationUsersApiAxiosParamCreator(configuration).notifyIntegrator(userId, organizationId, notifyIntegratorDTO, options);
7676
7782
  return function (axios, basePath) {
@@ -7680,13 +7786,28 @@ exports.OrganizationUsersApiFp = function (configuration) {
7680
7786
  return axios.request(axiosRequestArgs);
7681
7787
  };
7682
7788
  },
7789
+ revokeRoles: function (userId, organizationId, options) {
7790
+ var localVarAxiosArgs = exports.OrganizationUsersApiAxiosParamCreator(configuration).revokeRoles(userId, organizationId, options);
7791
+ return function (axios, basePath) {
7792
+ if (axios === void 0) { axios = axios_1.default; }
7793
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
7794
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
7795
+ return axios.request(axiosRequestArgs);
7796
+ };
7797
+ },
7683
7798
  };
7684
7799
  };
7685
7800
  exports.OrganizationUsersApiFactory = function (configuration, basePath, axios) {
7686
7801
  return {
7802
+ grantRoles: function (userId, organizationId, options) {
7803
+ return exports.OrganizationUsersApiFp(configuration).grantRoles(userId, organizationId, options)(axios, basePath);
7804
+ },
7687
7805
  notifyIntegrator: function (userId, organizationId, notifyIntegratorDTO, options) {
7688
7806
  return exports.OrganizationUsersApiFp(configuration).notifyIntegrator(userId, organizationId, notifyIntegratorDTO, options)(axios, basePath);
7689
7807
  },
7808
+ revokeRoles: function (userId, organizationId, options) {
7809
+ return exports.OrganizationUsersApiFp(configuration).revokeRoles(userId, organizationId, options)(axios, basePath);
7810
+ },
7690
7811
  };
7691
7812
  };
7692
7813
  var OrganizationUsersApi = (function (_super) {
@@ -7694,9 +7815,15 @@ var OrganizationUsersApi = (function (_super) {
7694
7815
  function OrganizationUsersApi() {
7695
7816
  return _super !== null && _super.apply(this, arguments) || this;
7696
7817
  }
7818
+ OrganizationUsersApi.prototype.grantRoles = function (userId, organizationId, options) {
7819
+ return exports.OrganizationUsersApiFp(this.configuration).grantRoles(userId, organizationId, options)(this.axios, this.basePath);
7820
+ };
7697
7821
  OrganizationUsersApi.prototype.notifyIntegrator = function (userId, organizationId, notifyIntegratorDTO, options) {
7698
7822
  return exports.OrganizationUsersApiFp(this.configuration).notifyIntegrator(userId, organizationId, notifyIntegratorDTO, options)(this.axios, this.basePath);
7699
7823
  };
7824
+ OrganizationUsersApi.prototype.revokeRoles = function (userId, organizationId, options) {
7825
+ return exports.OrganizationUsersApiFp(this.configuration).revokeRoles(userId, organizationId, options)(this.axios, this.basePath);
7826
+ };
7700
7827
  return OrganizationUsersApi;
7701
7828
  }(base_1.BaseAPI));
7702
7829
  exports.OrganizationUsersApi = OrganizationUsersApi;
@@ -7869,6 +7996,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
7869
7996
  options: localVarRequestOptions,
7870
7997
  };
7871
7998
  },
7999
+ fetchOrganizationUsersByOrganizationId: function (id, options) {
8000
+ if (options === void 0) { options = {}; }
8001
+ if (id === null || id === undefined) {
8002
+ throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling fetchOrganizationUsersByOrganizationId.');
8003
+ }
8004
+ var localVarPath = "/v2/organizations/{id}/organization-users"
8005
+ .replace("{" + "id" + "}", encodeURIComponent(String(id)));
8006
+ var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
8007
+ var baseOptions;
8008
+ if (configuration) {
8009
+ baseOptions = configuration.baseOptions;
8010
+ }
8011
+ var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
8012
+ var localVarHeaderParameter = {};
8013
+ var localVarQueryParameter = {};
8014
+ localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
8015
+ delete localVarUrlObj.search;
8016
+ localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
8017
+ return {
8018
+ url: globalImportUrl.format(localVarUrlObj),
8019
+ options: localVarRequestOptions,
8020
+ };
8021
+ },
7872
8022
  fetchPropertiesByOrganizationId: function (id, options) {
7873
8023
  if (options === void 0) { options = {}; }
7874
8024
  if (id === null || id === undefined) {
@@ -8369,6 +8519,15 @@ exports.OrganizationsApiFp = function (configuration) {
8369
8519
  return axios.request(axiosRequestArgs);
8370
8520
  };
8371
8521
  },
8522
+ fetchOrganizationUsersByOrganizationId: function (id, options) {
8523
+ var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).fetchOrganizationUsersByOrganizationId(id, options);
8524
+ return function (axios, basePath) {
8525
+ if (axios === void 0) { axios = axios_1.default; }
8526
+ if (basePath === void 0) { basePath = base_1.BASE_PATH; }
8527
+ var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
8528
+ return axios.request(axiosRequestArgs);
8529
+ };
8530
+ },
8372
8531
  fetchPropertiesByOrganizationId: function (id, options) {
8373
8532
  var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).fetchPropertiesByOrganizationId(id, options);
8374
8533
  return function (axios, basePath) {
@@ -8547,6 +8706,9 @@ exports.OrganizationsApiFactory = function (configuration, basePath, axios) {
8547
8706
  fetchLandlordsByOrganizationId: function (id, options) {
8548
8707
  return exports.OrganizationsApiFp(configuration).fetchLandlordsByOrganizationId(id, options)(axios, basePath);
8549
8708
  },
8709
+ fetchOrganizationUsersByOrganizationId: function (id, options) {
8710
+ return exports.OrganizationsApiFp(configuration).fetchOrganizationUsersByOrganizationId(id, options)(axios, basePath);
8711
+ },
8550
8712
  fetchPropertiesByOrganizationId: function (id, options) {
8551
8713
  return exports.OrganizationsApiFp(configuration).fetchPropertiesByOrganizationId(id, options)(axios, basePath);
8552
8714
  },
@@ -8626,6 +8788,9 @@ var OrganizationsApi = (function (_super) {
8626
8788
  OrganizationsApi.prototype.fetchLandlordsByOrganizationId = function (id, options) {
8627
8789
  return exports.OrganizationsApiFp(this.configuration).fetchLandlordsByOrganizationId(id, options)(this.axios, this.basePath);
8628
8790
  };
8791
+ OrganizationsApi.prototype.fetchOrganizationUsersByOrganizationId = function (id, options) {
8792
+ return exports.OrganizationsApiFp(this.configuration).fetchOrganizationUsersByOrganizationId(id, options)(this.axios, this.basePath);
8793
+ };
8629
8794
  OrganizationsApi.prototype.fetchPropertiesByOrganizationId = function (id, options) {
8630
8795
  return exports.OrganizationsApiFp(this.configuration).fetchPropertiesByOrganizationId(id, options)(this.axios, this.basePath);
8631
8796
  };