@reposit/api-client 6.49.0 → 6.50.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 +27 -12
- package/dist/api.js +123 -152
- package/dist/api.js.map +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1518,6 +1518,12 @@ export interface OrganizationMessages {
|
|
|
1518
1518
|
featureBankAccounts?: boolean;
|
|
1519
1519
|
warningBankAccounts?: boolean;
|
|
1520
1520
|
}
|
|
1521
|
+
export interface OrganizationMetricsDTO {
|
|
1522
|
+
pendingRepositCount: number;
|
|
1523
|
+
overdueRepositCount: number;
|
|
1524
|
+
awaitingSupplierResponseCount: number;
|
|
1525
|
+
awaitingSubstantiationCount: number;
|
|
1526
|
+
}
|
|
1521
1527
|
export interface OrganizationRecipientDTO {
|
|
1522
1528
|
id: string;
|
|
1523
1529
|
group: OrganizationRecipientDTOGroupEnum;
|
|
@@ -1540,6 +1546,7 @@ export interface OrganizationSettingsDTO {
|
|
|
1540
1546
|
maximumPolicyCover?: OrganizationSettingsDTOMaximumPolicyCoverEnum;
|
|
1541
1547
|
offerRepositEnabled?: boolean;
|
|
1542
1548
|
inventoryChaserDisabled?: boolean;
|
|
1549
|
+
minimumFeeDisabled?: boolean;
|
|
1543
1550
|
}
|
|
1544
1551
|
export declare enum OrganizationSettingsDTOPricingRuleEnum {
|
|
1545
1552
|
STANDARD = "STANDARD",
|
|
@@ -1896,7 +1903,9 @@ export declare enum QueueMessageDTOTypeEnum {
|
|
|
1896
1903
|
EVIDENCECHASEREXPIREDNOTIFICATION = "EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
|
|
1897
1904
|
ARBITRATIONSENTNOTIFICATION = "ARBITRATION_SENT_NOTIFICATION",
|
|
1898
1905
|
IVRCALLPROCESSING = "IVR_CALL_PROCESSING",
|
|
1899
|
-
PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK"
|
|
1906
|
+
PROCESSTWILIOIVRWEBHOOK = "PROCESS_TWILIO_IVR_WEBHOOK",
|
|
1907
|
+
PROCESSTWILIOVOICEMAILWEBHOOK = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK",
|
|
1908
|
+
PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER"
|
|
1900
1909
|
}
|
|
1901
1910
|
export declare enum QueueMessageDTOCronNameEnum {
|
|
1902
1911
|
DAILYKPIS = "DAILY_KPIS",
|
|
@@ -1937,7 +1946,8 @@ export declare enum QueueMessageDTOCronNameEnum {
|
|
|
1937
1946
|
DAILYEVIDENCECHASERREMINDER = "DAILY_EVIDENCE_CHASER_REMINDER",
|
|
1938
1947
|
DAILYEVIDENCECHASEREXPIREDNOTIFICATION = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",
|
|
1939
1948
|
DAILYARBITRATIONSENTNOTIFICATION = "DAILY_ARBITRATION_SENT_NOTIFICATION",
|
|
1940
|
-
DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING"
|
|
1949
|
+
DAILYIVRCALLPROCESSING = "DAILY_IVR_CALL_PROCESSING",
|
|
1950
|
+
WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER"
|
|
1941
1951
|
}
|
|
1942
1952
|
export interface ReconciliationDocumentDTO {
|
|
1943
1953
|
document: DocumentDTO;
|
|
@@ -3166,7 +3176,6 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3166
3176
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): RequestArgs;
|
|
3167
3177
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): RequestArgs;
|
|
3168
3178
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): RequestArgs;
|
|
3169
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): RequestArgs;
|
|
3170
3179
|
skipEvidenceChaser(claimId: string, options?: any): RequestArgs;
|
|
3171
3180
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): RequestArgs;
|
|
3172
3181
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): RequestArgs;
|
|
@@ -3193,7 +3202,6 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
3193
3202
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3194
3203
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3195
3204
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3196
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchClaimResultsDTO>;
|
|
3197
3205
|
skipEvidenceChaser(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3198
3206
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3199
3207
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
@@ -3220,7 +3228,6 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3220
3228
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3221
3229
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3222
3230
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3223
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3224
3231
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3225
3232
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3226
3233
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3247,7 +3254,6 @@ export interface ClaimsApiInterface {
|
|
|
3247
3254
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3248
3255
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3249
3256
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3250
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3251
3257
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3252
3258
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3253
3259
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3274,7 +3280,6 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
|
|
|
3274
3280
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3275
3281
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3276
3282
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3277
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3278
3283
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3279
3284
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3280
3285
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3523,26 +3528,36 @@ export declare const IncomingWebhooksApiAxiosParamCreator: (configuration?: Conf
|
|
|
3523
3528
|
processSendGridWebhooks(requestBody: string[], options?: any): RequestArgs;
|
|
3524
3529
|
processStripeWebhooks(options?: any): RequestArgs;
|
|
3525
3530
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): RequestArgs;
|
|
3531
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): RequestArgs;
|
|
3532
|
+
processTwilioVoicemailWebhook(from: string, options?: any): RequestArgs;
|
|
3526
3533
|
};
|
|
3527
3534
|
export declare const IncomingWebhooksApiFp: (configuration?: Configuration) => {
|
|
3528
3535
|
processSendGridWebhooks(requestBody: string[], options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3529
3536
|
processStripeWebhooks(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3530
3537
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3538
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
|
|
3539
|
+
processTwilioVoicemailWebhook(from: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3531
3540
|
};
|
|
3532
3541
|
export declare const IncomingWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3533
3542
|
processSendGridWebhooks(requestBody: string[], options?: any): AxiosPromise<object>;
|
|
3534
3543
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3535
3544
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3545
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
|
|
3546
|
+
processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
|
|
3536
3547
|
};
|
|
3537
3548
|
export interface IncomingWebhooksApiInterface {
|
|
3538
3549
|
processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
|
|
3539
3550
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3540
3551
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3552
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<{}>;
|
|
3553
|
+
processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
|
|
3541
3554
|
}
|
|
3542
3555
|
export declare class IncomingWebhooksApi extends BaseAPI implements IncomingWebhooksApiInterface {
|
|
3543
3556
|
processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
|
|
3544
3557
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3545
3558
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3559
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
|
|
3560
|
+
processTwilioVoicemailWebhook(from: string, options?: any): AxiosPromise<object>;
|
|
3546
3561
|
}
|
|
3547
3562
|
export declare const InsuranceClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3548
3563
|
createInsuranceClaim(policyId: string, createInsuranceClaimDTO: CreateInsuranceClaimDTO, options?: any): RequestArgs;
|
|
@@ -3923,6 +3938,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
3923
3938
|
fetchUsersByOrganizationId(id: string, options?: any): RequestArgs;
|
|
3924
3939
|
findOrganizationById(id: string, options?: any): RequestArgs;
|
|
3925
3940
|
getChildren(id: string, options?: any): RequestArgs;
|
|
3941
|
+
getOrganizationMetrics(organizationId: string, options?: any): RequestArgs;
|
|
3926
3942
|
getOrganizationVerticals(id: string, options?: any): RequestArgs;
|
|
3927
3943
|
getRecipients(id: string, options?: any): RequestArgs;
|
|
3928
3944
|
removeUser(id: string, userId: string, options?: any): RequestArgs;
|
|
@@ -3950,6 +3966,7 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
3950
3966
|
fetchUsersByOrganizationId(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDTO[]>;
|
|
3951
3967
|
findOrganizationById(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO>;
|
|
3952
3968
|
getChildren(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDTO[]>;
|
|
3969
|
+
getOrganizationMetrics(organizationId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationMetricsDTO>;
|
|
3953
3970
|
getOrganizationVerticals(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationVerticalDTO[]>;
|
|
3954
3971
|
getRecipients(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationRecipientDTO[]>;
|
|
3955
3972
|
removeUser(id: string, userId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
@@ -3977,6 +3994,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
3977
3994
|
fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
|
|
3978
3995
|
findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
|
|
3979
3996
|
getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
|
|
3997
|
+
getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
|
|
3980
3998
|
getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
|
|
3981
3999
|
getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
|
|
3982
4000
|
removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
|
|
@@ -4004,6 +4022,7 @@ export interface OrganizationsApiInterface {
|
|
|
4004
4022
|
fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<Array<UserDTO>>;
|
|
4005
4023
|
findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
|
|
4006
4024
|
getChildren(id: string, options?: any): AxiosPromise<Array<OrganizationDTO>>;
|
|
4025
|
+
getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
|
|
4007
4026
|
getOrganizationVerticals(id: string, options?: any): AxiosPromise<Array<OrganizationVerticalDTO>>;
|
|
4008
4027
|
getRecipients(id: string, options?: any): AxiosPromise<Array<OrganizationRecipientDTO>>;
|
|
4009
4028
|
removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
|
|
@@ -4031,6 +4050,7 @@ export declare class OrganizationsApi extends BaseAPI implements OrganizationsAp
|
|
|
4031
4050
|
fetchUsersByOrganizationId(id: string, options?: any): AxiosPromise<UserDTO[]>;
|
|
4032
4051
|
findOrganizationById(id: string, options?: any): AxiosPromise<OrganizationDTO>;
|
|
4033
4052
|
getChildren(id: string, options?: any): AxiosPromise<OrganizationDTO[]>;
|
|
4053
|
+
getOrganizationMetrics(organizationId: string, options?: any): AxiosPromise<OrganizationMetricsDTO>;
|
|
4034
4054
|
getOrganizationVerticals(id: string, options?: any): AxiosPromise<OrganizationVerticalDTO[]>;
|
|
4035
4055
|
getRecipients(id: string, options?: any): AxiosPromise<OrganizationRecipientDTO[]>;
|
|
4036
4056
|
removeUser(id: string, userId: string, options?: any): AxiosPromise<object>;
|
|
@@ -4704,7 +4724,6 @@ export declare const TenancyOrdersApiAxiosParamCreator: (configuration?: Configu
|
|
|
4704
4724
|
optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): RequestArgs;
|
|
4705
4725
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): RequestArgs;
|
|
4706
4726
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): RequestArgs;
|
|
4707
|
-
search(productId: string, organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): RequestArgs;
|
|
4708
4727
|
sendOverdueChasers(id: string, options?: any): RequestArgs;
|
|
4709
4728
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): RequestArgs;
|
|
4710
4729
|
};
|
|
@@ -4713,7 +4732,6 @@ export declare const TenancyOrdersApiFp: (configuration?: Configuration) => {
|
|
|
4713
4732
|
optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4714
4733
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4715
4734
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4716
|
-
search(productId: string, organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4717
4735
|
sendOverdueChasers(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
|
|
4718
4736
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4719
4737
|
};
|
|
@@ -4722,7 +4740,6 @@ export declare const TenancyOrdersApiFactory: (configuration?: Configuration, ba
|
|
|
4722
4740
|
optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4723
4741
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4724
4742
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4725
|
-
search(productId: string, organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: "PENDING" | "DRAFT" | "COMPLETE" | "CANCELLED" | "REFUNDED", tenancyStatus?: "ACTIVE" | "CHECKED_OUT" | "OVERDUE" | "ENDING_SOON" | "CLOSING_SOON", sortBy?: "CREATED_AT" | "START_DATE" | "END_DATE", sortDirection?: "ASC" | "DESC", letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4726
4743
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
|
|
4727
4744
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4728
4745
|
};
|
|
@@ -4731,7 +4748,6 @@ export interface TenancyOrdersApiInterface {
|
|
|
4731
4748
|
optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4732
4749
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4733
4750
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4734
|
-
search(productId: string, organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4735
4751
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<{}>;
|
|
4736
4752
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4737
4753
|
}
|
|
@@ -4740,7 +4756,6 @@ export declare class TenancyOrdersApi extends BaseAPI implements TenancyOrdersAp
|
|
|
4740
4756
|
optimisedSearch(organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4741
4757
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4742
4758
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4743
|
-
search(productId: string, organizationId: string, page: number, size: number, includeDeleted: boolean, onlyDeleted: boolean, query?: string, orderStatus?: 'DRAFT' | 'PENDING' | 'COMPLETE' | 'CANCELLED' | 'REFUNDED', tenancyStatus?: 'ACTIVE' | 'CHECKED_OUT' | 'OVERDUE' | 'ENDING_SOON' | 'CLOSING_SOON', sortBy?: 'CREATED_AT' | 'START_DATE' | 'END_DATE', sortDirection?: 'ASC' | 'DESC', letOnly?: boolean, options?: any): AxiosPromise<SearchTenancyOrderResultsDTO>;
|
|
4744
4759
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
|
|
4745
4760
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4746
4761
|
}
|
package/dist/api.js
CHANGED
|
@@ -776,6 +776,8 @@ var QueueMessageDTOTypeEnum;
|
|
|
776
776
|
QueueMessageDTOTypeEnum["ARBITRATIONSENTNOTIFICATION"] = "ARBITRATION_SENT_NOTIFICATION";
|
|
777
777
|
QueueMessageDTOTypeEnum["IVRCALLPROCESSING"] = "IVR_CALL_PROCESSING";
|
|
778
778
|
QueueMessageDTOTypeEnum["PROCESSTWILIOIVRWEBHOOK"] = "PROCESS_TWILIO_IVR_WEBHOOK";
|
|
779
|
+
QueueMessageDTOTypeEnum["PROCESSTWILIOVOICEMAILWEBHOOK"] = "PROCESS_TWILIO_VOICEMAIL_WEBHOOK";
|
|
780
|
+
QueueMessageDTOTypeEnum["PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER"] = "PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER";
|
|
779
781
|
})(QueueMessageDTOTypeEnum = exports.QueueMessageDTOTypeEnum || (exports.QueueMessageDTOTypeEnum = {}));
|
|
780
782
|
var QueueMessageDTOCronNameEnum;
|
|
781
783
|
(function (QueueMessageDTOCronNameEnum) {
|
|
@@ -818,6 +820,7 @@ var QueueMessageDTOCronNameEnum;
|
|
|
818
820
|
QueueMessageDTOCronNameEnum["DAILYEVIDENCECHASEREXPIREDNOTIFICATION"] = "DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION";
|
|
819
821
|
QueueMessageDTOCronNameEnum["DAILYARBITRATIONSENTNOTIFICATION"] = "DAILY_ARBITRATION_SENT_NOTIFICATION";
|
|
820
822
|
QueueMessageDTOCronNameEnum["DAILYIVRCALLPROCESSING"] = "DAILY_IVR_CALL_PROCESSING";
|
|
823
|
+
QueueMessageDTOCronNameEnum["WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER"] = "WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER";
|
|
821
824
|
})(QueueMessageDTOCronNameEnum = exports.QueueMessageDTOCronNameEnum || (exports.QueueMessageDTOCronNameEnum = {}));
|
|
822
825
|
var ReferenceDTOStatusEnum;
|
|
823
826
|
(function (ReferenceDTOStatusEnum) {
|
|
@@ -3814,55 +3817,6 @@ exports.ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
3814
3817
|
options: localVarRequestOptions,
|
|
3815
3818
|
};
|
|
3816
3819
|
},
|
|
3817
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
3818
|
-
if (options === void 0) { options = {}; }
|
|
3819
|
-
if (organizationId === null || organizationId === undefined) {
|
|
3820
|
-
throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling searchClaim.');
|
|
3821
|
-
}
|
|
3822
|
-
if (page === null || page === undefined) {
|
|
3823
|
-
throw new base_1.RequiredError('page', 'Required parameter page was null or undefined when calling searchClaim.');
|
|
3824
|
-
}
|
|
3825
|
-
if (size === null || size === undefined) {
|
|
3826
|
-
throw new base_1.RequiredError('size', 'Required parameter size was null or undefined when calling searchClaim.');
|
|
3827
|
-
}
|
|
3828
|
-
var localVarPath = "/v2/claims";
|
|
3829
|
-
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
3830
|
-
var baseOptions;
|
|
3831
|
-
if (configuration) {
|
|
3832
|
-
baseOptions = configuration.baseOptions;
|
|
3833
|
-
}
|
|
3834
|
-
var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
|
|
3835
|
-
var localVarHeaderParameter = {};
|
|
3836
|
-
var localVarQueryParameter = {};
|
|
3837
|
-
if (query !== undefined) {
|
|
3838
|
-
localVarQueryParameter['query'] = query;
|
|
3839
|
-
}
|
|
3840
|
-
if (organizationId !== undefined) {
|
|
3841
|
-
localVarQueryParameter['organizationId'] = organizationId;
|
|
3842
|
-
}
|
|
3843
|
-
if (claimStatus !== undefined) {
|
|
3844
|
-
localVarQueryParameter['claimStatus'] = claimStatus;
|
|
3845
|
-
}
|
|
3846
|
-
if (sortBy !== undefined) {
|
|
3847
|
-
localVarQueryParameter['sortBy'] = sortBy;
|
|
3848
|
-
}
|
|
3849
|
-
if (page !== undefined) {
|
|
3850
|
-
localVarQueryParameter['page'] = page;
|
|
3851
|
-
}
|
|
3852
|
-
if (size !== undefined) {
|
|
3853
|
-
localVarQueryParameter['size'] = size;
|
|
3854
|
-
}
|
|
3855
|
-
if (includeDeleted !== undefined) {
|
|
3856
|
-
localVarQueryParameter['includeDeleted'] = includeDeleted;
|
|
3857
|
-
}
|
|
3858
|
-
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
3859
|
-
delete localVarUrlObj.search;
|
|
3860
|
-
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
3861
|
-
return {
|
|
3862
|
-
url: globalImportUrl.format(localVarUrlObj),
|
|
3863
|
-
options: localVarRequestOptions,
|
|
3864
|
-
};
|
|
3865
|
-
},
|
|
3866
3820
|
skipEvidenceChaser: function (claimId, options) {
|
|
3867
3821
|
if (options === void 0) { options = {}; }
|
|
3868
3822
|
if (claimId === null || claimId === undefined) {
|
|
@@ -4225,15 +4179,6 @@ exports.ClaimsApiFp = function (configuration) {
|
|
|
4225
4179
|
return axios.request(axiosRequestArgs);
|
|
4226
4180
|
};
|
|
4227
4181
|
},
|
|
4228
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4229
|
-
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options);
|
|
4230
|
-
return function (axios, basePath) {
|
|
4231
|
-
if (axios === void 0) { axios = axios_1.default; }
|
|
4232
|
-
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
4233
|
-
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
4234
|
-
return axios.request(axiosRequestArgs);
|
|
4235
|
-
};
|
|
4236
|
-
},
|
|
4237
4182
|
skipEvidenceChaser: function (claimId, options) {
|
|
4238
4183
|
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).skipEvidenceChaser(claimId, options);
|
|
4239
4184
|
return function (axios, basePath) {
|
|
@@ -4358,9 +4303,6 @@ exports.ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
4358
4303
|
resolveClaim: function (claimId, resolveClaimDTO, options) {
|
|
4359
4304
|
return exports.ClaimsApiFp(configuration).resolveClaim(claimId, resolveClaimDTO, options)(axios, basePath);
|
|
4360
4305
|
},
|
|
4361
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4362
|
-
return exports.ClaimsApiFp(configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options)(axios, basePath);
|
|
4363
|
-
},
|
|
4364
4306
|
skipEvidenceChaser: function (claimId, options) {
|
|
4365
4307
|
return exports.ClaimsApiFp(configuration).skipEvidenceChaser(claimId, options)(axios, basePath);
|
|
4366
4308
|
},
|
|
@@ -4440,9 +4382,6 @@ var ClaimsApi = (function (_super) {
|
|
|
4440
4382
|
ClaimsApi.prototype.resolveClaim = function (claimId, resolveClaimDTO, options) {
|
|
4441
4383
|
return exports.ClaimsApiFp(this.configuration).resolveClaim(claimId, resolveClaimDTO, options)(this.axios, this.basePath);
|
|
4442
4384
|
};
|
|
4443
|
-
ClaimsApi.prototype.searchClaim = function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4444
|
-
return exports.ClaimsApiFp(this.configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options)(this.axios, this.basePath);
|
|
4445
|
-
};
|
|
4446
4385
|
ClaimsApi.prototype.skipEvidenceChaser = function (claimId, options) {
|
|
4447
4386
|
return exports.ClaimsApiFp(this.configuration).skipEvidenceChaser(claimId, options)(this.axios, this.basePath);
|
|
4448
4387
|
};
|
|
@@ -5836,6 +5775,58 @@ exports.IncomingWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
5836
5775
|
options: localVarRequestOptions,
|
|
5837
5776
|
};
|
|
5838
5777
|
},
|
|
5778
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5779
|
+
if (options === void 0) { options = {}; }
|
|
5780
|
+
if (ivrCallId === null || ivrCallId === undefined) {
|
|
5781
|
+
throw new base_1.RequiredError('ivrCallId', 'Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.');
|
|
5782
|
+
}
|
|
5783
|
+
if (gatherAction === null || gatherAction === undefined) {
|
|
5784
|
+
throw new base_1.RequiredError('gatherAction', 'Required parameter gatherAction was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.');
|
|
5785
|
+
}
|
|
5786
|
+
var localVarPath = "/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}"
|
|
5787
|
+
.replace("{" + "ivrCallId" + "}", encodeURIComponent(String(ivrCallId)))
|
|
5788
|
+
.replace("{" + "gatherAction" + "}", encodeURIComponent(String(gatherAction)));
|
|
5789
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
5790
|
+
var baseOptions;
|
|
5791
|
+
if (configuration) {
|
|
5792
|
+
baseOptions = configuration.baseOptions;
|
|
5793
|
+
}
|
|
5794
|
+
var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
|
|
5795
|
+
var localVarHeaderParameter = {};
|
|
5796
|
+
var localVarQueryParameter = {};
|
|
5797
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5798
|
+
delete localVarUrlObj.search;
|
|
5799
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
5800
|
+
return {
|
|
5801
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
5802
|
+
options: localVarRequestOptions,
|
|
5803
|
+
};
|
|
5804
|
+
},
|
|
5805
|
+
processTwilioVoicemailWebhook: function (from, options) {
|
|
5806
|
+
if (options === void 0) { options = {}; }
|
|
5807
|
+
if (from === null || from === undefined) {
|
|
5808
|
+
throw new base_1.RequiredError('from', 'Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.');
|
|
5809
|
+
}
|
|
5810
|
+
var localVarPath = "/v2/webhooks/twilio-voicemail";
|
|
5811
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
5812
|
+
var baseOptions;
|
|
5813
|
+
if (configuration) {
|
|
5814
|
+
baseOptions = configuration.baseOptions;
|
|
5815
|
+
}
|
|
5816
|
+
var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
|
|
5817
|
+
var localVarHeaderParameter = {};
|
|
5818
|
+
var localVarQueryParameter = {};
|
|
5819
|
+
if (from !== undefined) {
|
|
5820
|
+
localVarQueryParameter['From'] = from;
|
|
5821
|
+
}
|
|
5822
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5823
|
+
delete localVarUrlObj.search;
|
|
5824
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
5825
|
+
return {
|
|
5826
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
5827
|
+
options: localVarRequestOptions,
|
|
5828
|
+
};
|
|
5829
|
+
},
|
|
5839
5830
|
};
|
|
5840
5831
|
};
|
|
5841
5832
|
exports.IncomingWebhooksApiFp = function (configuration) {
|
|
@@ -5867,6 +5858,24 @@ exports.IncomingWebhooksApiFp = function (configuration) {
|
|
|
5867
5858
|
return axios.request(axiosRequestArgs);
|
|
5868
5859
|
};
|
|
5869
5860
|
},
|
|
5861
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5862
|
+
var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options);
|
|
5863
|
+
return function (axios, basePath) {
|
|
5864
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
5865
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
5866
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
5867
|
+
return axios.request(axiosRequestArgs);
|
|
5868
|
+
};
|
|
5869
|
+
},
|
|
5870
|
+
processTwilioVoicemailWebhook: function (from, options) {
|
|
5871
|
+
var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioVoicemailWebhook(from, options);
|
|
5872
|
+
return function (axios, basePath) {
|
|
5873
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
5874
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
5875
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
5876
|
+
return axios.request(axiosRequestArgs);
|
|
5877
|
+
};
|
|
5878
|
+
},
|
|
5870
5879
|
};
|
|
5871
5880
|
};
|
|
5872
5881
|
exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
@@ -5880,6 +5889,12 @@ exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
5880
5889
|
processTwilioIvrWebhooks: function (ivrCallId, options) {
|
|
5881
5890
|
return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooks(ivrCallId, options)(axios, basePath);
|
|
5882
5891
|
},
|
|
5892
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5893
|
+
return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(axios, basePath);
|
|
5894
|
+
},
|
|
5895
|
+
processTwilioVoicemailWebhook: function (from, options) {
|
|
5896
|
+
return exports.IncomingWebhooksApiFp(configuration).processTwilioVoicemailWebhook(from, options)(axios, basePath);
|
|
5897
|
+
},
|
|
5883
5898
|
};
|
|
5884
5899
|
};
|
|
5885
5900
|
var IncomingWebhooksApi = (function (_super) {
|
|
@@ -5896,6 +5911,12 @@ var IncomingWebhooksApi = (function (_super) {
|
|
|
5896
5911
|
IncomingWebhooksApi.prototype.processTwilioIvrWebhooks = function (ivrCallId, options) {
|
|
5897
5912
|
return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooks(ivrCallId, options)(this.axios, this.basePath);
|
|
5898
5913
|
};
|
|
5914
|
+
IncomingWebhooksApi.prototype.processTwilioIvrWebhooksWithGatherAction = function (ivrCallId, gatherAction, options) {
|
|
5915
|
+
return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(this.axios, this.basePath);
|
|
5916
|
+
};
|
|
5917
|
+
IncomingWebhooksApi.prototype.processTwilioVoicemailWebhook = function (from, options) {
|
|
5918
|
+
return exports.IncomingWebhooksApiFp(this.configuration).processTwilioVoicemailWebhook(from, options)(this.axios, this.basePath);
|
|
5919
|
+
};
|
|
5899
5920
|
return IncomingWebhooksApi;
|
|
5900
5921
|
}(base_1.BaseAPI));
|
|
5901
5922
|
exports.IncomingWebhooksApi = IncomingWebhooksApi;
|
|
@@ -8188,6 +8209,29 @@ exports.OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
8188
8209
|
options: localVarRequestOptions,
|
|
8189
8210
|
};
|
|
8190
8211
|
},
|
|
8212
|
+
getOrganizationMetrics: function (organizationId, options) {
|
|
8213
|
+
if (options === void 0) { options = {}; }
|
|
8214
|
+
if (organizationId === null || organizationId === undefined) {
|
|
8215
|
+
throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling getOrganizationMetrics.');
|
|
8216
|
+
}
|
|
8217
|
+
var localVarPath = "/v2/organizations/{organizationId}/metrics"
|
|
8218
|
+
.replace("{" + "organizationId" + "}", encodeURIComponent(String(organizationId)));
|
|
8219
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
8220
|
+
var baseOptions;
|
|
8221
|
+
if (configuration) {
|
|
8222
|
+
baseOptions = configuration.baseOptions;
|
|
8223
|
+
}
|
|
8224
|
+
var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
|
|
8225
|
+
var localVarHeaderParameter = {};
|
|
8226
|
+
var localVarQueryParameter = {};
|
|
8227
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
8228
|
+
delete localVarUrlObj.search;
|
|
8229
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
8230
|
+
return {
|
|
8231
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
8232
|
+
options: localVarRequestOptions,
|
|
8233
|
+
};
|
|
8234
|
+
},
|
|
8191
8235
|
getOrganizationVerticals: function (id, options) {
|
|
8192
8236
|
if (options === void 0) { options = {}; }
|
|
8193
8237
|
if (id === null || id === undefined) {
|
|
@@ -8627,6 +8671,15 @@ exports.OrganizationsApiFp = function (configuration) {
|
|
|
8627
8671
|
return axios.request(axiosRequestArgs);
|
|
8628
8672
|
};
|
|
8629
8673
|
},
|
|
8674
|
+
getOrganizationMetrics: function (organizationId, options) {
|
|
8675
|
+
var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationMetrics(organizationId, options);
|
|
8676
|
+
return function (axios, basePath) {
|
|
8677
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
8678
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
8679
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
8680
|
+
return axios.request(axiosRequestArgs);
|
|
8681
|
+
};
|
|
8682
|
+
},
|
|
8630
8683
|
getOrganizationVerticals: function (id, options) {
|
|
8631
8684
|
var localVarAxiosArgs = exports.OrganizationsApiAxiosParamCreator(configuration).getOrganizationVerticals(id, options);
|
|
8632
8685
|
return function (axios, basePath) {
|
|
@@ -8778,6 +8831,9 @@ exports.OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
8778
8831
|
getChildren: function (id, options) {
|
|
8779
8832
|
return exports.OrganizationsApiFp(configuration).getChildren(id, options)(axios, basePath);
|
|
8780
8833
|
},
|
|
8834
|
+
getOrganizationMetrics: function (organizationId, options) {
|
|
8835
|
+
return exports.OrganizationsApiFp(configuration).getOrganizationMetrics(organizationId, options)(axios, basePath);
|
|
8836
|
+
},
|
|
8781
8837
|
getOrganizationVerticals: function (id, options) {
|
|
8782
8838
|
return exports.OrganizationsApiFp(configuration).getOrganizationVerticals(id, options)(axios, basePath);
|
|
8783
8839
|
},
|
|
@@ -8860,6 +8916,9 @@ var OrganizationsApi = (function (_super) {
|
|
|
8860
8916
|
OrganizationsApi.prototype.getChildren = function (id, options) {
|
|
8861
8917
|
return exports.OrganizationsApiFp(this.configuration).getChildren(id, options)(this.axios, this.basePath);
|
|
8862
8918
|
};
|
|
8919
|
+
OrganizationsApi.prototype.getOrganizationMetrics = function (organizationId, options) {
|
|
8920
|
+
return exports.OrganizationsApiFp(this.configuration).getOrganizationMetrics(organizationId, options)(this.axios, this.basePath);
|
|
8921
|
+
};
|
|
8863
8922
|
OrganizationsApi.prototype.getOrganizationVerticals = function (id, options) {
|
|
8864
8923
|
return exports.OrganizationsApiFp(this.configuration).getOrganizationVerticals(id, options)(this.axios, this.basePath);
|
|
8865
8924
|
};
|
|
@@ -13166,79 +13225,6 @@ exports.TenancyOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13166
13225
|
options: localVarRequestOptions,
|
|
13167
13226
|
};
|
|
13168
13227
|
},
|
|
13169
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13170
|
-
if (options === void 0) { options = {}; }
|
|
13171
|
-
if (productId === null || productId === undefined) {
|
|
13172
|
-
throw new base_1.RequiredError('productId', 'Required parameter productId was null or undefined when calling search.');
|
|
13173
|
-
}
|
|
13174
|
-
if (organizationId === null || organizationId === undefined) {
|
|
13175
|
-
throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling search.');
|
|
13176
|
-
}
|
|
13177
|
-
if (page === null || page === undefined) {
|
|
13178
|
-
throw new base_1.RequiredError('page', 'Required parameter page was null or undefined when calling search.');
|
|
13179
|
-
}
|
|
13180
|
-
if (size === null || size === undefined) {
|
|
13181
|
-
throw new base_1.RequiredError('size', 'Required parameter size was null or undefined when calling search.');
|
|
13182
|
-
}
|
|
13183
|
-
if (includeDeleted === null || includeDeleted === undefined) {
|
|
13184
|
-
throw new base_1.RequiredError('includeDeleted', 'Required parameter includeDeleted was null or undefined when calling search.');
|
|
13185
|
-
}
|
|
13186
|
-
if (onlyDeleted === null || onlyDeleted === undefined) {
|
|
13187
|
-
throw new base_1.RequiredError('onlyDeleted', 'Required parameter onlyDeleted was null or undefined when calling search.');
|
|
13188
|
-
}
|
|
13189
|
-
var localVarPath = "/v2/tenancy-orders";
|
|
13190
|
-
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
13191
|
-
var baseOptions;
|
|
13192
|
-
if (configuration) {
|
|
13193
|
-
baseOptions = configuration.baseOptions;
|
|
13194
|
-
}
|
|
13195
|
-
var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
|
|
13196
|
-
var localVarHeaderParameter = {};
|
|
13197
|
-
var localVarQueryParameter = {};
|
|
13198
|
-
if (query !== undefined) {
|
|
13199
|
-
localVarQueryParameter['query'] = query;
|
|
13200
|
-
}
|
|
13201
|
-
if (productId !== undefined) {
|
|
13202
|
-
localVarQueryParameter['productId'] = productId;
|
|
13203
|
-
}
|
|
13204
|
-
if (organizationId !== undefined) {
|
|
13205
|
-
localVarQueryParameter['organizationId'] = organizationId;
|
|
13206
|
-
}
|
|
13207
|
-
if (orderStatus !== undefined) {
|
|
13208
|
-
localVarQueryParameter['orderStatus'] = orderStatus;
|
|
13209
|
-
}
|
|
13210
|
-
if (tenancyStatus !== undefined) {
|
|
13211
|
-
localVarQueryParameter['tenancyStatus'] = tenancyStatus;
|
|
13212
|
-
}
|
|
13213
|
-
if (sortBy !== undefined) {
|
|
13214
|
-
localVarQueryParameter['sortBy'] = sortBy;
|
|
13215
|
-
}
|
|
13216
|
-
if (sortDirection !== undefined) {
|
|
13217
|
-
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
13218
|
-
}
|
|
13219
|
-
if (page !== undefined) {
|
|
13220
|
-
localVarQueryParameter['page'] = page;
|
|
13221
|
-
}
|
|
13222
|
-
if (size !== undefined) {
|
|
13223
|
-
localVarQueryParameter['size'] = size;
|
|
13224
|
-
}
|
|
13225
|
-
if (includeDeleted !== undefined) {
|
|
13226
|
-
localVarQueryParameter['includeDeleted'] = includeDeleted;
|
|
13227
|
-
}
|
|
13228
|
-
if (onlyDeleted !== undefined) {
|
|
13229
|
-
localVarQueryParameter['onlyDeleted'] = onlyDeleted;
|
|
13230
|
-
}
|
|
13231
|
-
if (letOnly !== undefined) {
|
|
13232
|
-
localVarQueryParameter['letOnly'] = letOnly;
|
|
13233
|
-
}
|
|
13234
|
-
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
13235
|
-
delete localVarUrlObj.search;
|
|
13236
|
-
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
13237
|
-
return {
|
|
13238
|
-
url: globalImportUrl.format(localVarUrlObj),
|
|
13239
|
-
options: localVarRequestOptions,
|
|
13240
|
-
};
|
|
13241
|
-
},
|
|
13242
13228
|
sendOverdueChasers: function (id, options) {
|
|
13243
13229
|
if (options === void 0) { options = {}; }
|
|
13244
13230
|
if (id === null || id === undefined) {
|
|
@@ -13331,15 +13317,6 @@ exports.TenancyOrdersApiFp = function (configuration) {
|
|
|
13331
13317
|
return axios.request(axiosRequestArgs);
|
|
13332
13318
|
};
|
|
13333
13319
|
},
|
|
13334
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13335
|
-
var localVarAxiosArgs = exports.TenancyOrdersApiAxiosParamCreator(configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options);
|
|
13336
|
-
return function (axios, basePath) {
|
|
13337
|
-
if (axios === void 0) { axios = axios_1.default; }
|
|
13338
|
-
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
13339
|
-
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
13340
|
-
return axios.request(axiosRequestArgs);
|
|
13341
|
-
};
|
|
13342
|
-
},
|
|
13343
13320
|
sendOverdueChasers: function (id, options) {
|
|
13344
13321
|
var localVarAxiosArgs = exports.TenancyOrdersApiAxiosParamCreator(configuration).sendOverdueChasers(id, options);
|
|
13345
13322
|
return function (axios, basePath) {
|
|
@@ -13374,9 +13351,6 @@ exports.TenancyOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13374
13351
|
reopenTenancyOrder: function (id, reopenRepositDTO, options) {
|
|
13375
13352
|
return exports.TenancyOrdersApiFp(configuration).reopenTenancyOrder(id, reopenRepositDTO, options)(axios, basePath);
|
|
13376
13353
|
},
|
|
13377
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13378
|
-
return exports.TenancyOrdersApiFp(configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options)(axios, basePath);
|
|
13379
|
-
},
|
|
13380
13354
|
sendOverdueChasers: function (id, options) {
|
|
13381
13355
|
return exports.TenancyOrdersApiFp(configuration).sendOverdueChasers(id, options)(axios, basePath);
|
|
13382
13356
|
},
|
|
@@ -13402,9 +13376,6 @@ var TenancyOrdersApi = (function (_super) {
|
|
|
13402
13376
|
TenancyOrdersApi.prototype.reopenTenancyOrder = function (id, reopenRepositDTO, options) {
|
|
13403
13377
|
return exports.TenancyOrdersApiFp(this.configuration).reopenTenancyOrder(id, reopenRepositDTO, options)(this.axios, this.basePath);
|
|
13404
13378
|
};
|
|
13405
|
-
TenancyOrdersApi.prototype.search = function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13406
|
-
return exports.TenancyOrdersApiFp(this.configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options)(this.axios, this.basePath);
|
|
13407
|
-
};
|
|
13408
13379
|
TenancyOrdersApi.prototype.sendOverdueChasers = function (id, options) {
|
|
13409
13380
|
return exports.TenancyOrdersApiFp(this.configuration).sendOverdueChasers(id, options)(this.axios, this.basePath);
|
|
13410
13381
|
};
|