@reposit/api-client 6.48.0 → 6.49.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 +22 -1
- package/dist/api.js +55 -1
- 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
|
}
|
|
@@ -1894,7 +1911,6 @@ export declare enum QueueMessageDTOCronNameEnum {
|
|
|
1894
1911
|
DAILYFINALSCHEDULEDAUTOCHARGE = "DAILY_FINAL_SCHEDULED_AUTO_CHARGE",
|
|
1895
1912
|
DAILYORDERSCHEDULEDCHARGE = "DAILY_ORDER_SCHEDULED_CHARGE",
|
|
1896
1913
|
MONTHLYDIRECTCOMMISSION = "MONTHLY_DIRECT_COMMISSION",
|
|
1897
|
-
REFRESHXEROREFRESHTOKEN = "REFRESH_XERO_REFRESH_TOKEN",
|
|
1898
1914
|
WEEKLYLANDLORDTRANSFERREMINDER = "WEEKLY_LANDLORD_TRANSFER_REMINDER",
|
|
1899
1915
|
DAILYREPOSITENDINGREMINDER = "DAILY_REPOSIT_ENDING_REMINDER",
|
|
1900
1916
|
DAILYREPOSITCLOSINGREMINDER = "DAILY_REPOSIT_CLOSING_REMINDER",
|
|
@@ -3137,6 +3153,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3137
3153
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): RequestArgs;
|
|
3138
3154
|
approveClaim(claimId: string, options?: any): RequestArgs;
|
|
3139
3155
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): RequestArgs;
|
|
3156
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): RequestArgs;
|
|
3140
3157
|
createInsuranceClaimOnClaim(claimId: string, options?: any): RequestArgs;
|
|
3141
3158
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): RequestArgs;
|
|
3142
3159
|
declineClaim(claimId: string, 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>;
|
|
@@ -3189,6 +3207,7 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
3189
3207
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3190
3208
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3191
3209
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3210
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<Response>;
|
|
3192
3211
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3193
3212
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3194
3213
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3215,6 +3234,7 @@ export interface ClaimsApiInterface {
|
|
|
3215
3234
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3216
3235
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3217
3236
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3237
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<{}>;
|
|
3218
3238
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3219
3239
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3220
3240
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
@@ -3241,6 +3261,7 @@ export declare class ClaimsApi extends BaseAPI implements ClaimsApiInterface {
|
|
|
3241
3261
|
acknowledgeCaseSentToInsurer(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3242
3262
|
approveClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3243
3263
|
createClaim(createClaimDTO: CreateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3264
|
+
createClaimActivity(claimId: string, createClaimActivityDTO: CreateClaimActivityDTO, options?: any): AxiosPromise<Response>;
|
|
3244
3265
|
createInsuranceClaimOnClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
|
3245
3266
|
deactivateClaim(claimId: string, deactivateClaimDTO: DeactivateClaimDTO, options?: any): AxiosPromise<ClaimDTO>;
|
|
3246
3267
|
declineClaim(claimId: string, options?: any): AxiosPromise<ClaimDTO>;
|
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) {
|
|
@@ -4069,6 +4108,15 @@ exports.ClaimsApiFp = function (configuration) {
|
|
|
4069
4108
|
return axios.request(axiosRequestArgs);
|
|
4070
4109
|
};
|
|
4071
4110
|
},
|
|
4111
|
+
createClaimActivity: function (claimId, createClaimActivityDTO, options) {
|
|
4112
|
+
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).createClaimActivity(claimId, createClaimActivityDTO, options);
|
|
4113
|
+
return function (axios, basePath) {
|
|
4114
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
4115
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
4116
|
+
var axiosRequestArgs = __assign({}, localVarAxiosArgs.options, { url: basePath + localVarAxiosArgs.url });
|
|
4117
|
+
return axios.request(axiosRequestArgs);
|
|
4118
|
+
};
|
|
4119
|
+
},
|
|
4072
4120
|
createInsuranceClaimOnClaim: function (claimId, options) {
|
|
4073
4121
|
var localVarAxiosArgs = exports.ClaimsApiAxiosParamCreator(configuration).createInsuranceClaimOnClaim(claimId, options);
|
|
4074
4122
|
return function (axios, basePath) {
|
|
@@ -4271,6 +4319,9 @@ exports.ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
4271
4319
|
createClaim: function (createClaimDTO, options) {
|
|
4272
4320
|
return exports.ClaimsApiFp(configuration).createClaim(createClaimDTO, options)(axios, basePath);
|
|
4273
4321
|
},
|
|
4322
|
+
createClaimActivity: function (claimId, createClaimActivityDTO, options) {
|
|
4323
|
+
return exports.ClaimsApiFp(configuration).createClaimActivity(claimId, createClaimActivityDTO, options)(axios, basePath);
|
|
4324
|
+
},
|
|
4274
4325
|
createInsuranceClaimOnClaim: function (claimId, options) {
|
|
4275
4326
|
return exports.ClaimsApiFp(configuration).createInsuranceClaimOnClaim(claimId, options)(axios, basePath);
|
|
4276
4327
|
},
|
|
@@ -4350,6 +4401,9 @@ var ClaimsApi = (function (_super) {
|
|
|
4350
4401
|
ClaimsApi.prototype.createClaim = function (createClaimDTO, options) {
|
|
4351
4402
|
return exports.ClaimsApiFp(this.configuration).createClaim(createClaimDTO, options)(this.axios, this.basePath);
|
|
4352
4403
|
};
|
|
4404
|
+
ClaimsApi.prototype.createClaimActivity = function (claimId, createClaimActivityDTO, options) {
|
|
4405
|
+
return exports.ClaimsApiFp(this.configuration).createClaimActivity(claimId, createClaimActivityDTO, options)(this.axios, this.basePath);
|
|
4406
|
+
};
|
|
4353
4407
|
ClaimsApi.prototype.createInsuranceClaimOnClaim = function (claimId, options) {
|
|
4354
4408
|
return exports.ClaimsApiFp(this.configuration).createInsuranceClaimOnClaim(claimId, options)(this.axios, this.basePath);
|
|
4355
4409
|
};
|