@reposit/api-client 6.48.0 → 6.49.1-beta.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 +28 -11
- package/dist/api.js +97 -153
- package/dist/api.js.map +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -163,6 +163,16 @@ export interface CheckoutWithTenancyDTO {
|
|
|
163
163
|
updatedAt: string;
|
|
164
164
|
tenancy: TenancyDTO;
|
|
165
165
|
}
|
|
166
|
+
export declare enum ClaimActivityType {
|
|
167
|
+
WELCOMEPAGE = "TENANT_VIEWED_WELCOME_PAGE",
|
|
168
|
+
INITIALCHARGES = "TENANT_VIEWED_INITIAL_CHARGES",
|
|
169
|
+
REVIEWCHARGES = "TENANT_VIEWED_REVIEW_CHARGES",
|
|
170
|
+
SUBMITPROPOSALMODAL = "TENANT_VIEWED_SUBMIT_PROPOSAL_MODAL",
|
|
171
|
+
PROPOSALPAYMENTPAGE = "TENANT_VIEWED_PROPOSAL_PAYMENT_PAGE",
|
|
172
|
+
ACCEPTCHARGESMODAL = "TENANT_VIEWED_ACCEPT_CHARGES_MODAL",
|
|
173
|
+
ACCEPTCHARGESPAYMENTPAGE = "TENANT_VIEWED_ACCEPT_CHARGES_PAYMENT_PAGE",
|
|
174
|
+
CHECKOUTINVENTORYREPORT = "TENANT_VIEWED_CHECKOUT_INVENTORY_REPORT"
|
|
175
|
+
}
|
|
166
176
|
export interface ClaimDTO {
|
|
167
177
|
id: string;
|
|
168
178
|
organization: OrganizationDTO;
|
|
@@ -507,6 +517,13 @@ export interface CreateBeneficiaryDTO {
|
|
|
507
517
|
email?: string;
|
|
508
518
|
companyName?: string;
|
|
509
519
|
}
|
|
520
|
+
export interface CreateClaimActivityDTO {
|
|
521
|
+
activityType: ClaimActivityType;
|
|
522
|
+
details?: CreateClaimActivityDetailsDTO;
|
|
523
|
+
}
|
|
524
|
+
export interface CreateClaimActivityDetailsDTO {
|
|
525
|
+
counterProposalAmount: number;
|
|
526
|
+
}
|
|
510
527
|
export interface CreateClaimDTO {
|
|
511
528
|
tenancyId: string;
|
|
512
529
|
}
|
|
@@ -1523,6 +1540,7 @@ export interface OrganizationSettingsDTO {
|
|
|
1523
1540
|
maximumPolicyCover?: OrganizationSettingsDTOMaximumPolicyCoverEnum;
|
|
1524
1541
|
offerRepositEnabled?: boolean;
|
|
1525
1542
|
inventoryChaserDisabled?: boolean;
|
|
1543
|
+
minimumFeeDisabled?: boolean;
|
|
1526
1544
|
}
|
|
1527
1545
|
export declare enum OrganizationSettingsDTOPricingRuleEnum {
|
|
1528
1546
|
STANDARD = "STANDARD",
|
|
@@ -1894,7 +1912,6 @@ export declare enum QueueMessageDTOCronNameEnum {
|
|
|
1894
1912
|
DAILYFINALSCHEDULEDAUTOCHARGE = "DAILY_FINAL_SCHEDULED_AUTO_CHARGE",
|
|
1895
1913
|
DAILYORDERSCHEDULEDCHARGE = "DAILY_ORDER_SCHEDULED_CHARGE",
|
|
1896
1914
|
MONTHLYDIRECTCOMMISSION = "MONTHLY_DIRECT_COMMISSION",
|
|
1897
|
-
REFRESHXEROREFRESHTOKEN = "REFRESH_XERO_REFRESH_TOKEN",
|
|
1898
1915
|
WEEKLYLANDLORDTRANSFERREMINDER = "WEEKLY_LANDLORD_TRANSFER_REMINDER",
|
|
1899
1916
|
DAILYREPOSITENDINGREMINDER = "DAILY_REPOSIT_ENDING_REMINDER",
|
|
1900
1917
|
DAILYREPOSITCLOSINGREMINDER = "DAILY_REPOSIT_CLOSING_REMINDER",
|
|
@@ -3137,6 +3154,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3137
3154
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): RequestArgs;
|
|
3138
3155
|
approveClaim(claimId: string, options?: any): RequestArgs;
|
|
3139
3156
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): RequestArgs;
|
|
3157
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): RequestArgs;
|
|
3140
3158
|
createInsuranceClaimOnClaim(claimId: string, options?: any): RequestArgs;
|
|
3141
3159
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): RequestArgs;
|
|
3142
3160
|
declineClaim(claimId: string, options?: any): RequestArgs;
|
|
@@ -3149,7 +3167,6 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3149
3167
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): RequestArgs;
|
|
3150
3168
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): RequestArgs;
|
|
3151
3169
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): RequestArgs;
|
|
3152
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): RequestArgs;
|
|
3153
3170
|
skipEvidenceChaser(claimId: string, options?: any): RequestArgs;
|
|
3154
3171
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): RequestArgs;
|
|
3155
3172
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): RequestArgs;
|
|
@@ -3163,6 +3180,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
3163
3180
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3164
3181
|
approveClaim(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3165
3182
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3183
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
|
|
3166
3184
|
createInsuranceClaimOnClaim(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3167
3185
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3168
3186
|
declineClaim(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
@@ -3175,7 +3193,6 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
3175
3193
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3176
3194
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3177
3195
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3178
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchClaimResultsDTO>;
|
|
3179
3196
|
skipEvidenceChaser(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3180
3197
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
3181
3198
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimDTO>;
|
|
@@ -3189,6 +3206,7 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3189
3206
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3190
3207
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3191
3208
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3209
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<Response>;
|
|
3192
3210
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3193
3211
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3194
3212
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3201,7 +3219,6 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3201
3219
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3202
3220
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3203
3221
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3204
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3205
3222
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3206
3223
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3207
3224
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3215,6 +3232,7 @@ export interface ClaimsApiInterface {
|
|
|
3215
3232
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3216
3233
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3217
3234
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3235
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<{}>;
|
|
3218
3236
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3219
3237
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3220
3238
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3227,7 +3245,6 @@ export interface ClaimsApiInterface {
|
|
|
3227
3245
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3228
3246
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3229
3247
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3230
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3231
3248
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3232
3249
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3233
3250
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3241,6 +3258,7 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
|
|
|
3241
3258
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3242
3259
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3243
3260
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3261
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<Response>;
|
|
3244
3262
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3245
3263
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3246
3264
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3253,7 +3271,6 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
|
|
|
3253
3271
|
reopenClaim(claimId: string, reopenClaimDTO: ReopenClaimDTO, options?: any): AxiosPromise<ClaimWithCheckoutRelationsDTO>;
|
|
3254
3272
|
requestMoreInfoClaim(claimId: string, requestInfoClaimDTO: RequestInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3255
3273
|
resolveClaim(claimId: string, resolveClaimDTO: ResolveClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3256
|
-
searchClaim(organizationId: string, page: number, size: number, query?: string, claimStatus?: string, sortBy?: string, includeDeleted?: boolean, options?: any): AxiosPromise<SearchClaimResultsDTO>;
|
|
3257
3274
|
skipEvidenceChaser(claimId: string, options?: any): AxiosPromise<object>;
|
|
3258
3275
|
submitMoreInfoClaim(claimId: string, submitMoreInfoClaimDTO: SubmitMoreInfoClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3259
3276
|
updateAutoCharge(claimId: string, updateAutoChargeClaimDTO: UpdateAutoChargeClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3502,26 +3519,31 @@ export declare const IncomingWebhooksApiAxiosParamCreator: (configuration?: Conf
|
|
|
3502
3519
|
processSendGridWebhooks(requestBody: string[], options?: any): RequestArgs;
|
|
3503
3520
|
processStripeWebhooks(options?: any): RequestArgs;
|
|
3504
3521
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): RequestArgs;
|
|
3522
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): RequestArgs;
|
|
3505
3523
|
};
|
|
3506
3524
|
export declare const IncomingWebhooksApiFp: (configuration?: Configuration) => {
|
|
3507
3525
|
processSendGridWebhooks(requestBody: string[], options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3508
3526
|
processStripeWebhooks(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3509
3527
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>;
|
|
3528
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
|
|
3510
3529
|
};
|
|
3511
3530
|
export declare const IncomingWebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3512
3531
|
processSendGridWebhooks(requestBody: string[], options?: any): AxiosPromise<object>;
|
|
3513
3532
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3514
3533
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3534
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
|
|
3515
3535
|
};
|
|
3516
3536
|
export interface IncomingWebhooksApiInterface {
|
|
3517
3537
|
processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
|
|
3518
3538
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3519
3539
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3540
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<{}>;
|
|
3520
3541
|
}
|
|
3521
3542
|
export declare class IncomingWebhooksApi extends BaseAPI implements IncomingWebhooksApiInterface {
|
|
3522
3543
|
processSendGridWebhooks(requestBody: Array<string>, options?: any): AxiosPromise<object>;
|
|
3523
3544
|
processStripeWebhooks(options?: any): AxiosPromise<object>;
|
|
3524
3545
|
processTwilioIvrWebhooks(ivrCallId: string, options?: any): AxiosPromise<object>;
|
|
3546
|
+
processTwilioIvrWebhooksWithGatherAction(ivrCallId: string, gatherAction: string, options?: any): AxiosPromise<Response>;
|
|
3525
3547
|
}
|
|
3526
3548
|
export declare const InsuranceClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3527
3549
|
createInsuranceClaim(policyId: string, createInsuranceClaimDTO: CreateInsuranceClaimDTO, options?: any): RequestArgs;
|
|
@@ -4683,7 +4705,6 @@ export declare const TenancyOrdersApiAxiosParamCreator: (configuration?: Configu
|
|
|
4683
4705
|
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;
|
|
4684
4706
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): RequestArgs;
|
|
4685
4707
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): RequestArgs;
|
|
4686
|
-
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;
|
|
4687
4708
|
sendOverdueChasers(id: string, options?: any): RequestArgs;
|
|
4688
4709
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): RequestArgs;
|
|
4689
4710
|
};
|
|
@@ -4692,7 +4713,6 @@ export declare const TenancyOrdersApiFp: (configuration?: Configuration) => {
|
|
|
4692
4713
|
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>;
|
|
4693
4714
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4694
4715
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4695
|
-
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>;
|
|
4696
4716
|
sendOverdueChasers(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
|
|
4697
4717
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4698
4718
|
};
|
|
@@ -4701,7 +4721,6 @@ export declare const TenancyOrdersApiFactory: (configuration?: Configuration, ba
|
|
|
4701
4721
|
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>;
|
|
4702
4722
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4703
4723
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4704
|
-
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>;
|
|
4705
4724
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
|
|
4706
4725
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4707
4726
|
};
|
|
@@ -4710,7 +4729,6 @@ export interface TenancyOrdersApiInterface {
|
|
|
4710
4729
|
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>;
|
|
4711
4730
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4712
4731
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4713
|
-
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>;
|
|
4714
4732
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<{}>;
|
|
4715
4733
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4716
4734
|
}
|
|
@@ -4719,7 +4737,6 @@ export declare class TenancyOrdersApi extends BaseAPI implements TenancyOrdersAp
|
|
|
4719
4737
|
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>;
|
|
4720
4738
|
removeTenancyOrderById(id: string, removeTenancyOrderDTO: RemoveTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4721
4739
|
reopenTenancyOrder(id: string, reopenRepositDTO: ReopenRepositDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4722
|
-
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>;
|
|
4723
4740
|
sendOverdueChasers(id: string, options?: any): AxiosPromise<Response>;
|
|
4724
4741
|
transferTenancyOrderToOrganization(id: string, transferTenancyOrderDTO: TransferTenancyOrderDTO, options?: any): AxiosPromise<TenancyOrderWithTenancyAndOrderCustomersDTO>;
|
|
4725
4742
|
}
|
package/dist/api.js
CHANGED
|
@@ -54,6 +54,17 @@ var CheckDTOStatusEnum;
|
|
|
54
54
|
CheckDTOStatusEnum["FAIL"] = "FAIL";
|
|
55
55
|
CheckDTOStatusEnum["CANCELLED"] = "CANCELLED";
|
|
56
56
|
})(CheckDTOStatusEnum = exports.CheckDTOStatusEnum || (exports.CheckDTOStatusEnum = {}));
|
|
57
|
+
var ClaimActivityType;
|
|
58
|
+
(function (ClaimActivityType) {
|
|
59
|
+
ClaimActivityType["WELCOMEPAGE"] = "TENANT_VIEWED_WELCOME_PAGE";
|
|
60
|
+
ClaimActivityType["INITIALCHARGES"] = "TENANT_VIEWED_INITIAL_CHARGES";
|
|
61
|
+
ClaimActivityType["REVIEWCHARGES"] = "TENANT_VIEWED_REVIEW_CHARGES";
|
|
62
|
+
ClaimActivityType["SUBMITPROPOSALMODAL"] = "TENANT_VIEWED_SUBMIT_PROPOSAL_MODAL";
|
|
63
|
+
ClaimActivityType["PROPOSALPAYMENTPAGE"] = "TENANT_VIEWED_PROPOSAL_PAYMENT_PAGE";
|
|
64
|
+
ClaimActivityType["ACCEPTCHARGESMODAL"] = "TENANT_VIEWED_ACCEPT_CHARGES_MODAL";
|
|
65
|
+
ClaimActivityType["ACCEPTCHARGESPAYMENTPAGE"] = "TENANT_VIEWED_ACCEPT_CHARGES_PAYMENT_PAGE";
|
|
66
|
+
ClaimActivityType["CHECKOUTINVENTORYREPORT"] = "TENANT_VIEWED_CHECKOUT_INVENTORY_REPORT";
|
|
67
|
+
})(ClaimActivityType = exports.ClaimActivityType || (exports.ClaimActivityType = {}));
|
|
57
68
|
var ClaimDTOStatusEnum;
|
|
58
69
|
(function (ClaimDTOStatusEnum) {
|
|
59
70
|
ClaimDTOStatusEnum["DRAFT"] = "DRAFT";
|
|
@@ -780,7 +791,6 @@ var QueueMessageDTOCronNameEnum;
|
|
|
780
791
|
QueueMessageDTOCronNameEnum["DAILYFINALSCHEDULEDAUTOCHARGE"] = "DAILY_FINAL_SCHEDULED_AUTO_CHARGE";
|
|
781
792
|
QueueMessageDTOCronNameEnum["DAILYORDERSCHEDULEDCHARGE"] = "DAILY_ORDER_SCHEDULED_CHARGE";
|
|
782
793
|
QueueMessageDTOCronNameEnum["MONTHLYDIRECTCOMMISSION"] = "MONTHLY_DIRECT_COMMISSION";
|
|
783
|
-
QueueMessageDTOCronNameEnum["REFRESHXEROREFRESHTOKEN"] = "REFRESH_XERO_REFRESH_TOKEN";
|
|
784
794
|
QueueMessageDTOCronNameEnum["WEEKLYLANDLORDTRANSFERREMINDER"] = "WEEKLY_LANDLORD_TRANSFER_REMINDER";
|
|
785
795
|
QueueMessageDTOCronNameEnum["DAILYREPOSITENDINGREMINDER"] = "DAILY_REPOSIT_ENDING_REMINDER";
|
|
786
796
|
QueueMessageDTOCronNameEnum["DAILYREPOSITCLOSINGREMINDER"] = "DAILY_REPOSIT_CLOSING_REMINDER";
|
|
@@ -3443,6 +3453,35 @@ exports.ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
3443
3453
|
options: localVarRequestOptions,
|
|
3444
3454
|
};
|
|
3445
3455
|
},
|
|
3456
|
+
createClaimActivity: function (claimId, createClaimActivityDTO, options) {
|
|
3457
|
+
if (options === void 0) { options = {}; }
|
|
3458
|
+
if (claimId === null || claimId === undefined) {
|
|
3459
|
+
throw new base_1.RequiredError('claimId', 'Required parameter claimId was null or undefined when calling createClaimActivity.');
|
|
3460
|
+
}
|
|
3461
|
+
if (createClaimActivityDTO === null || createClaimActivityDTO === undefined) {
|
|
3462
|
+
throw new base_1.RequiredError('createClaimActivityDTO', 'Required parameter createClaimActivityDTO was null or undefined when calling createClaimActivity.');
|
|
3463
|
+
}
|
|
3464
|
+
var localVarPath = "/v2/claims/{claimId}/activity"
|
|
3465
|
+
.replace("{" + "claimId" + "}", encodeURIComponent(String(claimId)));
|
|
3466
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
3467
|
+
var baseOptions;
|
|
3468
|
+
if (configuration) {
|
|
3469
|
+
baseOptions = configuration.baseOptions;
|
|
3470
|
+
}
|
|
3471
|
+
var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
|
|
3472
|
+
var localVarHeaderParameter = {};
|
|
3473
|
+
var localVarQueryParameter = {};
|
|
3474
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3475
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
3476
|
+
delete localVarUrlObj.search;
|
|
3477
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
3478
|
+
var needsSerialization = ("CreateClaimActivityDTO" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
3479
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(createClaimActivityDTO !== undefined ? createClaimActivityDTO : {}) : (createClaimActivityDTO || "");
|
|
3480
|
+
return {
|
|
3481
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
3482
|
+
options: localVarRequestOptions,
|
|
3483
|
+
};
|
|
3484
|
+
},
|
|
3446
3485
|
createInsuranceClaimOnClaim: function (claimId, options) {
|
|
3447
3486
|
if (options === void 0) { options = {}; }
|
|
3448
3487
|
if (claimId === null || claimId === undefined) {
|
|
@@ -3775,55 +3814,6 @@ exports.ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
3775
3814
|
options: localVarRequestOptions,
|
|
3776
3815
|
};
|
|
3777
3816
|
},
|
|
3778
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
3779
|
-
if (options === void 0) { options = {}; }
|
|
3780
|
-
if (organizationId === null || organizationId === undefined) {
|
|
3781
|
-
throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling searchClaim.');
|
|
3782
|
-
}
|
|
3783
|
-
if (page === null || page === undefined) {
|
|
3784
|
-
throw new base_1.RequiredError('page', 'Required parameter page was null or undefined when calling searchClaim.');
|
|
3785
|
-
}
|
|
3786
|
-
if (size === null || size === undefined) {
|
|
3787
|
-
throw new base_1.RequiredError('size', 'Required parameter size was null or undefined when calling searchClaim.');
|
|
3788
|
-
}
|
|
3789
|
-
var localVarPath = "/v2/claims";
|
|
3790
|
-
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
3791
|
-
var baseOptions;
|
|
3792
|
-
if (configuration) {
|
|
3793
|
-
baseOptions = configuration.baseOptions;
|
|
3794
|
-
}
|
|
3795
|
-
var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
|
|
3796
|
-
var localVarHeaderParameter = {};
|
|
3797
|
-
var localVarQueryParameter = {};
|
|
3798
|
-
if (query !== undefined) {
|
|
3799
|
-
localVarQueryParameter['query'] = query;
|
|
3800
|
-
}
|
|
3801
|
-
if (organizationId !== undefined) {
|
|
3802
|
-
localVarQueryParameter['organizationId'] = organizationId;
|
|
3803
|
-
}
|
|
3804
|
-
if (claimStatus !== undefined) {
|
|
3805
|
-
localVarQueryParameter['claimStatus'] = claimStatus;
|
|
3806
|
-
}
|
|
3807
|
-
if (sortBy !== undefined) {
|
|
3808
|
-
localVarQueryParameter['sortBy'] = sortBy;
|
|
3809
|
-
}
|
|
3810
|
-
if (page !== undefined) {
|
|
3811
|
-
localVarQueryParameter['page'] = page;
|
|
3812
|
-
}
|
|
3813
|
-
if (size !== undefined) {
|
|
3814
|
-
localVarQueryParameter['size'] = size;
|
|
3815
|
-
}
|
|
3816
|
-
if (includeDeleted !== undefined) {
|
|
3817
|
-
localVarQueryParameter['includeDeleted'] = includeDeleted;
|
|
3818
|
-
}
|
|
3819
|
-
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
3820
|
-
delete localVarUrlObj.search;
|
|
3821
|
-
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
3822
|
-
return {
|
|
3823
|
-
url: globalImportUrl.format(localVarUrlObj),
|
|
3824
|
-
options: localVarRequestOptions,
|
|
3825
|
-
};
|
|
3826
|
-
},
|
|
3827
3817
|
skipEvidenceChaser: function (claimId, options) {
|
|
3828
3818
|
if (options === void 0) { options = {}; }
|
|
3829
3819
|
if (claimId === null || claimId === undefined) {
|
|
@@ -4069,6 +4059,15 @@ exports.ClaimsApiFp = function (configuration) {
|
|
|
4069
4059
|
return axios.request(axiosRequestArgs);
|
|
4070
4060
|
};
|
|
4071
4061
|
},
|
|
4062
|
+
createClaimActivity: function (claimId, createClaimActivityDTO, options) {
|
|
4063
|
+
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).createClaimActivity(claimId, createClaimActivityDTO, options);
|
|
4064
|
+
return function (axios, basePath) {
|
|
4065
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
4066
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
4067
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
4068
|
+
return axios.request(axiosRequestArgs);
|
|
4069
|
+
};
|
|
4070
|
+
},
|
|
4072
4071
|
createInsuranceClaimOnClaim: function (claimId, options) {
|
|
4073
4072
|
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).createInsuranceClaimOnClaim(claimId, options);
|
|
4074
4073
|
return function (axios, basePath) {
|
|
@@ -4177,15 +4176,6 @@ exports.ClaimsApiFp = function (configuration) {
|
|
|
4177
4176
|
return axios.request(axiosRequestArgs);
|
|
4178
4177
|
};
|
|
4179
4178
|
},
|
|
4180
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4181
|
-
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options);
|
|
4182
|
-
return function (axios, basePath) {
|
|
4183
|
-
if (axios === void 0) { axios = axios_1.default; }
|
|
4184
|
-
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
4185
|
-
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
4186
|
-
return axios.request(axiosRequestArgs);
|
|
4187
|
-
};
|
|
4188
|
-
},
|
|
4189
4179
|
skipEvidenceChaser: function (claimId, options) {
|
|
4190
4180
|
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).skipEvidenceChaser(claimId, options);
|
|
4191
4181
|
return function (axios, basePath) {
|
|
@@ -4271,6 +4261,9 @@ exports.ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
4271
4261
|
createClaim: function (createClaimDTO, options) {
|
|
4272
4262
|
return exports.ClaimsApiFp(configuration).createClaim(createClaimDTO, options)(axios, basePath);
|
|
4273
4263
|
},
|
|
4264
|
+
createClaimActivity: function (claimId, createClaimActivityDTO, options) {
|
|
4265
|
+
return exports.ClaimsApiFp(configuration).createClaimActivity(claimId, createClaimActivityDTO, options)(axios, basePath);
|
|
4266
|
+
},
|
|
4274
4267
|
createInsuranceClaimOnClaim: function (claimId, options) {
|
|
4275
4268
|
return exports.ClaimsApiFp(configuration).createInsuranceClaimOnClaim(claimId, options)(axios, basePath);
|
|
4276
4269
|
},
|
|
@@ -4307,9 +4300,6 @@ exports.ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
4307
4300
|
resolveClaim: function (claimId, resolveClaimDTO, options) {
|
|
4308
4301
|
return exports.ClaimsApiFp(configuration).resolveClaim(claimId, resolveClaimDTO, options)(axios, basePath);
|
|
4309
4302
|
},
|
|
4310
|
-
searchClaim: function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4311
|
-
return exports.ClaimsApiFp(configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options)(axios, basePath);
|
|
4312
|
-
},
|
|
4313
4303
|
skipEvidenceChaser: function (claimId, options) {
|
|
4314
4304
|
return exports.ClaimsApiFp(configuration).skipEvidenceChaser(claimId, options)(axios, basePath);
|
|
4315
4305
|
},
|
|
@@ -4350,6 +4340,9 @@ var ClaimsApi = (function (_super) {
|
|
|
4350
4340
|
ClaimsApi.prototype.createClaim = function (createClaimDTO, options) {
|
|
4351
4341
|
return exports.ClaimsApiFp(this.configuration).createClaim(createClaimDTO, options)(this.axios, this.basePath);
|
|
4352
4342
|
};
|
|
4343
|
+
ClaimsApi.prototype.createClaimActivity = function (claimId, createClaimActivityDTO, options) {
|
|
4344
|
+
return exports.ClaimsApiFp(this.configuration).createClaimActivity(claimId, createClaimActivityDTO, options)(this.axios, this.basePath);
|
|
4345
|
+
};
|
|
4353
4346
|
ClaimsApi.prototype.createInsuranceClaimOnClaim = function (claimId, options) {
|
|
4354
4347
|
return exports.ClaimsApiFp(this.configuration).createInsuranceClaimOnClaim(claimId, options)(this.axios, this.basePath);
|
|
4355
4348
|
};
|
|
@@ -4386,9 +4379,6 @@ var ClaimsApi = (function (_super) {
|
|
|
4386
4379
|
ClaimsApi.prototype.resolveClaim = function (claimId, resolveClaimDTO, options) {
|
|
4387
4380
|
return exports.ClaimsApiFp(this.configuration).resolveClaim(claimId, resolveClaimDTO, options)(this.axios, this.basePath);
|
|
4388
4381
|
};
|
|
4389
|
-
ClaimsApi.prototype.searchClaim = function (organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options) {
|
|
4390
|
-
return exports.ClaimsApiFp(this.configuration).searchClaim(organizationId, page, size, query, claimStatus, sortBy, includeDeleted, options)(this.axios, this.basePath);
|
|
4391
|
-
};
|
|
4392
4382
|
ClaimsApi.prototype.skipEvidenceChaser = function (claimId, options) {
|
|
4393
4383
|
return exports.ClaimsApiFp(this.configuration).skipEvidenceChaser(claimId, options)(this.axios, this.basePath);
|
|
4394
4384
|
};
|
|
@@ -5782,6 +5772,33 @@ exports.IncomingWebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
5782
5772
|
options: localVarRequestOptions,
|
|
5783
5773
|
};
|
|
5784
5774
|
},
|
|
5775
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5776
|
+
if (options === void 0) { options = {}; }
|
|
5777
|
+
if (ivrCallId === null || ivrCallId === undefined) {
|
|
5778
|
+
throw new base_1.RequiredError('ivrCallId', 'Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.');
|
|
5779
|
+
}
|
|
5780
|
+
if (gatherAction === null || gatherAction === undefined) {
|
|
5781
|
+
throw new base_1.RequiredError('gatherAction', 'Required parameter gatherAction was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.');
|
|
5782
|
+
}
|
|
5783
|
+
var localVarPath = "/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}"
|
|
5784
|
+
.replace("{" + "ivrCallId" + "}", encodeURIComponent(String(ivrCallId)))
|
|
5785
|
+
.replace("{" + "gatherAction" + "}", encodeURIComponent(String(gatherAction)));
|
|
5786
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
5787
|
+
var baseOptions;
|
|
5788
|
+
if (configuration) {
|
|
5789
|
+
baseOptions = configuration.baseOptions;
|
|
5790
|
+
}
|
|
5791
|
+
var localVarRequestOptions = __assign({ method: 'POST' }, baseOptions, options);
|
|
5792
|
+
var localVarHeaderParameter = {};
|
|
5793
|
+
var localVarQueryParameter = {};
|
|
5794
|
+
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
5795
|
+
delete localVarUrlObj.search;
|
|
5796
|
+
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
5797
|
+
return {
|
|
5798
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
5799
|
+
options: localVarRequestOptions,
|
|
5800
|
+
};
|
|
5801
|
+
},
|
|
5785
5802
|
};
|
|
5786
5803
|
};
|
|
5787
5804
|
exports.IncomingWebhooksApiFp = function (configuration) {
|
|
@@ -5813,6 +5830,15 @@ exports.IncomingWebhooksApiFp = function (configuration) {
|
|
|
5813
5830
|
return axios.request(axiosRequestArgs);
|
|
5814
5831
|
};
|
|
5815
5832
|
},
|
|
5833
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5834
|
+
var localVarAxiosArgs = exports.IncomingWebhooksApiAxiosParamCreator(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options);
|
|
5835
|
+
return function (axios, basePath) {
|
|
5836
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
5837
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
5838
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
5839
|
+
return axios.request(axiosRequestArgs);
|
|
5840
|
+
};
|
|
5841
|
+
},
|
|
5816
5842
|
};
|
|
5817
5843
|
};
|
|
5818
5844
|
exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
@@ -5826,6 +5852,9 @@ exports.IncomingWebhooksApiFactory = function (configuration, basePath, axios) {
|
|
|
5826
5852
|
processTwilioIvrWebhooks: function (ivrCallId, options) {
|
|
5827
5853
|
return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooks(ivrCallId, options)(axios, basePath);
|
|
5828
5854
|
},
|
|
5855
|
+
processTwilioIvrWebhooksWithGatherAction: function (ivrCallId, gatherAction, options) {
|
|
5856
|
+
return exports.IncomingWebhooksApiFp(configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(axios, basePath);
|
|
5857
|
+
},
|
|
5829
5858
|
};
|
|
5830
5859
|
};
|
|
5831
5860
|
var IncomingWebhooksApi = (function (_super) {
|
|
@@ -5842,6 +5871,9 @@ var IncomingWebhooksApi = (function (_super) {
|
|
|
5842
5871
|
IncomingWebhooksApi.prototype.processTwilioIvrWebhooks = function (ivrCallId, options) {
|
|
5843
5872
|
return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooks(ivrCallId, options)(this.axios, this.basePath);
|
|
5844
5873
|
};
|
|
5874
|
+
IncomingWebhooksApi.prototype.processTwilioIvrWebhooksWithGatherAction = function (ivrCallId, gatherAction, options) {
|
|
5875
|
+
return exports.IncomingWebhooksApiFp(this.configuration).processTwilioIvrWebhooksWithGatherAction(ivrCallId, gatherAction, options)(this.axios, this.basePath);
|
|
5876
|
+
};
|
|
5845
5877
|
return IncomingWebhooksApi;
|
|
5846
5878
|
}(base_1.BaseAPI));
|
|
5847
5879
|
exports.IncomingWebhooksApi = IncomingWebhooksApi;
|
|
@@ -13112,79 +13144,6 @@ exports.TenancyOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13112
13144
|
options: localVarRequestOptions,
|
|
13113
13145
|
};
|
|
13114
13146
|
},
|
|
13115
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13116
|
-
if (options === void 0) { options = {}; }
|
|
13117
|
-
if (productId === null || productId === undefined) {
|
|
13118
|
-
throw new base_1.RequiredError('productId', 'Required parameter productId was null or undefined when calling search.');
|
|
13119
|
-
}
|
|
13120
|
-
if (organizationId === null || organizationId === undefined) {
|
|
13121
|
-
throw new base_1.RequiredError('organizationId', 'Required parameter organizationId was null or undefined when calling search.');
|
|
13122
|
-
}
|
|
13123
|
-
if (page === null || page === undefined) {
|
|
13124
|
-
throw new base_1.RequiredError('page', 'Required parameter page was null or undefined when calling search.');
|
|
13125
|
-
}
|
|
13126
|
-
if (size === null || size === undefined) {
|
|
13127
|
-
throw new base_1.RequiredError('size', 'Required parameter size was null or undefined when calling search.');
|
|
13128
|
-
}
|
|
13129
|
-
if (includeDeleted === null || includeDeleted === undefined) {
|
|
13130
|
-
throw new base_1.RequiredError('includeDeleted', 'Required parameter includeDeleted was null or undefined when calling search.');
|
|
13131
|
-
}
|
|
13132
|
-
if (onlyDeleted === null || onlyDeleted === undefined) {
|
|
13133
|
-
throw new base_1.RequiredError('onlyDeleted', 'Required parameter onlyDeleted was null or undefined when calling search.');
|
|
13134
|
-
}
|
|
13135
|
-
var localVarPath = "/v2/tenancy-orders";
|
|
13136
|
-
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
13137
|
-
var baseOptions;
|
|
13138
|
-
if (configuration) {
|
|
13139
|
-
baseOptions = configuration.baseOptions;
|
|
13140
|
-
}
|
|
13141
|
-
var localVarRequestOptions = __assign({ method: 'GET' }, baseOptions, options);
|
|
13142
|
-
var localVarHeaderParameter = {};
|
|
13143
|
-
var localVarQueryParameter = {};
|
|
13144
|
-
if (query !== undefined) {
|
|
13145
|
-
localVarQueryParameter['query'] = query;
|
|
13146
|
-
}
|
|
13147
|
-
if (productId !== undefined) {
|
|
13148
|
-
localVarQueryParameter['productId'] = productId;
|
|
13149
|
-
}
|
|
13150
|
-
if (organizationId !== undefined) {
|
|
13151
|
-
localVarQueryParameter['organizationId'] = organizationId;
|
|
13152
|
-
}
|
|
13153
|
-
if (orderStatus !== undefined) {
|
|
13154
|
-
localVarQueryParameter['orderStatus'] = orderStatus;
|
|
13155
|
-
}
|
|
13156
|
-
if (tenancyStatus !== undefined) {
|
|
13157
|
-
localVarQueryParameter['tenancyStatus'] = tenancyStatus;
|
|
13158
|
-
}
|
|
13159
|
-
if (sortBy !== undefined) {
|
|
13160
|
-
localVarQueryParameter['sortBy'] = sortBy;
|
|
13161
|
-
}
|
|
13162
|
-
if (sortDirection !== undefined) {
|
|
13163
|
-
localVarQueryParameter['sortDirection'] = sortDirection;
|
|
13164
|
-
}
|
|
13165
|
-
if (page !== undefined) {
|
|
13166
|
-
localVarQueryParameter['page'] = page;
|
|
13167
|
-
}
|
|
13168
|
-
if (size !== undefined) {
|
|
13169
|
-
localVarQueryParameter['size'] = size;
|
|
13170
|
-
}
|
|
13171
|
-
if (includeDeleted !== undefined) {
|
|
13172
|
-
localVarQueryParameter['includeDeleted'] = includeDeleted;
|
|
13173
|
-
}
|
|
13174
|
-
if (onlyDeleted !== undefined) {
|
|
13175
|
-
localVarQueryParameter['onlyDeleted'] = onlyDeleted;
|
|
13176
|
-
}
|
|
13177
|
-
if (letOnly !== undefined) {
|
|
13178
|
-
localVarQueryParameter['letOnly'] = letOnly;
|
|
13179
|
-
}
|
|
13180
|
-
localVarUrlObj.query = __assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
13181
|
-
delete localVarUrlObj.search;
|
|
13182
|
-
localVarRequestOptions.headers = __assign({}, localVarHeaderParameter, options.headers);
|
|
13183
|
-
return {
|
|
13184
|
-
url: globalImportUrl.format(localVarUrlObj),
|
|
13185
|
-
options: localVarRequestOptions,
|
|
13186
|
-
};
|
|
13187
|
-
},
|
|
13188
13147
|
sendOverdueChasers: function (id, options) {
|
|
13189
13148
|
if (options === void 0) { options = {}; }
|
|
13190
13149
|
if (id === null || id === undefined) {
|
|
@@ -13277,15 +13236,6 @@ exports.TenancyOrdersApiFp = function (configuration) {
|
|
|
13277
13236
|
return axios.request(axiosRequestArgs);
|
|
13278
13237
|
};
|
|
13279
13238
|
},
|
|
13280
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13281
|
-
var localVarAxiosArgs = exports.TenancyOrdersApiAxiosParamCreator(configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options);
|
|
13282
|
-
return function (axios, basePath) {
|
|
13283
|
-
if (axios === void 0) { axios = axios_1.default; }
|
|
13284
|
-
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
13285
|
-
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
13286
|
-
return axios.request(axiosRequestArgs);
|
|
13287
|
-
};
|
|
13288
|
-
},
|
|
13289
13239
|
sendOverdueChasers: function (id, options) {
|
|
13290
13240
|
var localVarAxiosArgs = exports.TenancyOrdersApiAxiosParamCreator(configuration).sendOverdueChasers(id, options);
|
|
13291
13241
|
return function (axios, basePath) {
|
|
@@ -13320,9 +13270,6 @@ exports.TenancyOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
13320
13270
|
reopenTenancyOrder: function (id, reopenRepositDTO, options) {
|
|
13321
13271
|
return exports.TenancyOrdersApiFp(configuration).reopenTenancyOrder(id, reopenRepositDTO, options)(axios, basePath);
|
|
13322
13272
|
},
|
|
13323
|
-
search: function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13324
|
-
return exports.TenancyOrdersApiFp(configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options)(axios, basePath);
|
|
13325
|
-
},
|
|
13326
13273
|
sendOverdueChasers: function (id, options) {
|
|
13327
13274
|
return exports.TenancyOrdersApiFp(configuration).sendOverdueChasers(id, options)(axios, basePath);
|
|
13328
13275
|
},
|
|
@@ -13348,9 +13295,6 @@ var TenancyOrdersApi = (function (_super) {
|
|
|
13348
13295
|
TenancyOrdersApi.prototype.reopenTenancyOrder = function (id, reopenRepositDTO, options) {
|
|
13349
13296
|
return exports.TenancyOrdersApiFp(this.configuration).reopenTenancyOrder(id, reopenRepositDTO, options)(this.axios, this.basePath);
|
|
13350
13297
|
};
|
|
13351
|
-
TenancyOrdersApi.prototype.search = function (productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options) {
|
|
13352
|
-
return exports.TenancyOrdersApiFp(this.configuration).search(productId, organizationId, page, size, includeDeleted, onlyDeleted, query, orderStatus, tenancyStatus, sortBy, sortDirection, letOnly, options)(this.axios, this.basePath);
|
|
13353
|
-
};
|
|
13354
13298
|
TenancyOrdersApi.prototype.sendOverdueChasers = function (id, options) {
|
|
13355
13299
|
return exports.TenancyOrdersApiFp(this.configuration).sendOverdueChasers(id, options)(this.axios, this.basePath);
|
|
13356
13300
|
};
|