@reposit/api-client 6.66.0 → 6.67.0-alpha.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/index.d.ts CHANGED
@@ -417,6 +417,7 @@ export declare interface BulkImportDTO {
417
417
  totalRecords: number;
418
418
  processedRecords: number;
419
419
  failedRecords: number;
420
+ duplicateRecords?: number;
420
421
  createdByUserId: string;
421
422
  createdByUser?: UserDTO;
422
423
  failureReason?: string;
@@ -446,6 +447,7 @@ export declare class BulkImportsApi extends BaseAPI implements BulkImportsApiInt
446
447
  getAllBulkImports(options?: any): AxiosPromise<BulkImportDTO[]>;
447
448
  getBulkImportById(id: string, options?: any): AxiosPromise<BulkImportDTO>;
448
449
  getBulkImportDownloadUrl(id: string, options?: any): AxiosPromise<DownloadUrlDTO>;
450
+ getDuplicateRowsCsv(id: string, options?: any): AxiosPromise<Response>;
449
451
  getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', options?: any): AxiosPromise<Response>;
450
452
  getFailedRowsCsv(id: string, options?: any): AxiosPromise<Response>;
451
453
  processUploadFile(id: string, processUploadFileDTO: ProcessUploadFileDTO, options?: any): AxiosPromise<BulkImportDTO>;
@@ -457,6 +459,7 @@ export declare const BulkImportsApiAxiosParamCreator: (configuration?: Configura
457
459
  getAllBulkImports(options?: any): RequestArgs;
458
460
  getBulkImportById(id: string, options?: any): RequestArgs;
459
461
  getBulkImportDownloadUrl(id: string, options?: any): RequestArgs;
462
+ getDuplicateRowsCsv(id: string, options?: any): RequestArgs;
460
463
  getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', options?: any): RequestArgs;
461
464
  getFailedRowsCsv(id: string, options?: any): RequestArgs;
462
465
  processUploadFile(id: string, processUploadFileDTO: ProcessUploadFileDTO, options?: any): RequestArgs;
@@ -468,6 +471,7 @@ export declare const BulkImportsApiFactory: (configuration?: Configuration, base
468
471
  getAllBulkImports(options?: any): AxiosPromise<BulkImportDTO[]>;
469
472
  getBulkImportById(id: string, options?: any): AxiosPromise<BulkImportDTO>;
470
473
  getBulkImportDownloadUrl(id: string, options?: any): AxiosPromise<DownloadUrlDTO>;
474
+ getDuplicateRowsCsv(id: string, options?: any): AxiosPromise<Response>;
471
475
  getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', options?: any): AxiosPromise<Response>;
472
476
  getFailedRowsCsv(id: string, options?: any): AxiosPromise<Response>;
473
477
  processUploadFile(id: string, processUploadFileDTO: ProcessUploadFileDTO, options?: any): AxiosPromise<BulkImportDTO>;
@@ -479,6 +483,7 @@ export declare const BulkImportsApiFp: (configuration?: Configuration) => {
479
483
  getAllBulkImports(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BulkImportDTO>>;
480
484
  getBulkImportById(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkImportDTO>;
481
485
  getBulkImportDownloadUrl(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadUrlDTO>;
486
+ getDuplicateRowsCsv(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
482
487
  getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
483
488
  getFailedRowsCsv(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Response>;
484
489
  processUploadFile(id: string, processUploadFileDTO: ProcessUploadFileDTO, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkImportDTO>;
@@ -490,6 +495,7 @@ export declare interface BulkImportsApiInterface {
490
495
  getAllBulkImports(options?: any): AxiosPromise<Array<BulkImportDTO>>;
491
496
  getBulkImportById(id: string, options?: any): AxiosPromise<BulkImportDTO>;
492
497
  getBulkImportDownloadUrl(id: string, options?: any): AxiosPromise<DownloadUrlDTO>;
498
+ getDuplicateRowsCsv(id: string, options?: any): AxiosPromise<{}>;
493
499
  getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', options?: any): AxiosPromise<{}>;
494
500
  getFailedRowsCsv(id: string, options?: any): AxiosPromise<{}>;
495
501
  processUploadFile(id: string, processUploadFileDTO: ProcessUploadFileDTO, options?: any): AxiosPromise<BulkImportDTO>;
@@ -1592,7 +1598,7 @@ export declare interface CreateBeneficiaryDTO {
1592
1598
  export declare function createBulkImport(createBulkImportDTO: CreateBulkImportDTO, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<BulkImportDTO>;
1593
1599
 
1594
1600
  export declare interface CreateBulkImportDTO {
1595
- name: string;
1601
+ name?: string | null;
1596
1602
  importType: CreateBulkImportDTOImportTypeEnum;
1597
1603
  organizationId?: string | null;
1598
1604
  }
@@ -2159,7 +2165,7 @@ export declare interface CreateRepositDTO {
2159
2165
  ppm: number;
2160
2166
  headcount: number;
2161
2167
  startDate: string;
2162
- endDate: string;
2168
+ endDate?: string;
2163
2169
  tenantEmails: Array<string>;
2164
2170
  tenants: Array<CreateTenantForRepositDTO>;
2165
2171
  letOnly: boolean;
@@ -2974,6 +2980,8 @@ export declare function getCustomer(configuration?: Configuration, axios?: Axios
2974
2980
 
2975
2981
  export declare function getDocumentsByIds(ids: Array<string>, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<Array<DocumentDTO>>;
2976
2982
 
2983
+ export declare function getDuplicateRowsCsv(id: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<void>;
2984
+
2977
2985
  export declare function getEvidenceChaserById(id: string, claimId: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<EvidenceChaserDTO>;
2978
2986
 
2979
2987
  export declare function getExampleCsv(importType?: 'REPOSIT' | 'PROPERTY' | 'BANK_TRANSACTION', configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<void>;
@@ -3016,6 +3024,10 @@ export declare function getMySupplier(configuration?: Configuration, axios?: Axi
3016
3024
 
3017
3025
  export declare function getOrderCustomerById(orderId: string, customerId: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<OrderCustomerDTO>;
3018
3026
 
3027
+ export declare function getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3028
+
3029
+ export declare function getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3030
+
3019
3031
  export declare function getOrganizationMetrics(organizationId: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<OrganizationMetricsDTO>;
3020
3032
 
3021
3033
  export declare function getOrganizationUsers(id: string, configuration?: Configuration, axios?: AxiosInstance, basePath?: string, options?: any): Promise<Array<OrganizationUserDTO>>;
@@ -3857,12 +3869,59 @@ export declare enum OrderDTOStatusIdEnum {
3857
3869
  REFUNDED = "REFUNDED"
3858
3870
  }
3859
3871
 
3872
+ export declare interface OrderManualPaymentBankTransactionDTO {
3873
+ id: string;
3874
+ transactionDate: Date;
3875
+ narrative1?: string;
3876
+ narrative2?: string;
3877
+ narrative3?: string;
3878
+ narrative4?: string;
3879
+ narrative5?: string;
3880
+ type?: string;
3881
+ debit?: number;
3882
+ credit?: number;
3883
+ }
3884
+
3860
3885
  export declare interface OrderManualPaymentDTO {
3861
3886
  id: string;
3862
3887
  orderId: string;
3863
3888
  amount: number;
3864
3889
  }
3865
3890
 
3891
+ export declare class OrderManualPaymentsApi extends BaseAPI implements OrderManualPaymentsApiInterface {
3892
+ getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, options?: any): AxiosPromise<OrderManualPaymentWithBankTransactionDTO[]>;
3893
+ getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, options?: any): AxiosPromise<OrderManualPaymentWithBankTransactionDTO[]>;
3894
+ }
3895
+
3896
+ export declare const OrderManualPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
3897
+ getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, options?: any): RequestArgs;
3898
+ getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, options?: any): RequestArgs;
3899
+ };
3900
+
3901
+ export declare const OrderManualPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3902
+ getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, options?: any): AxiosPromise<OrderManualPaymentWithBankTransactionDTO[]>;
3903
+ getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, options?: any): AxiosPromise<OrderManualPaymentWithBankTransactionDTO[]>;
3904
+ };
3905
+
3906
+ export declare const OrderManualPaymentsApiFp: (configuration?: Configuration) => {
3907
+ getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3908
+ getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3909
+ };
3910
+
3911
+ export declare interface OrderManualPaymentsApiInterface {
3912
+ getOrderManualPaymentsByClaimWithBankTransfers(claimId: string, options?: any): AxiosPromise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3913
+ getOrderManualPaymentsByTenancyOrderWithBankTransfers(torId: string, options?: any): AxiosPromise<Array<OrderManualPaymentWithBankTransactionDTO>>;
3914
+ }
3915
+
3916
+ export declare interface OrderManualPaymentWithBankTransactionDTO {
3917
+ id: string;
3918
+ orderId: string;
3919
+ amount: number;
3920
+ createdAt: Date;
3921
+ updatedAt: Date;
3922
+ bankTransaction?: OrderManualPaymentBankTransactionDTO;
3923
+ }
3924
+
3866
3925
  export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
3867
3926
  duplicatePaymentMethodCheck(id: string, duplicatePaymentMethodCheckDTO: DuplicatePaymentMethodCheckDTO, options?: any): AxiosPromise<IsDuplicateResponse>;
3868
3927
  getAmountRemaining(id: string, includeInterest: boolean, options?: any): AxiosPromise<OrderAmountRemainingDTO>;
@@ -5427,7 +5486,7 @@ export declare interface ReplaceRepositDTO {
5427
5486
  ppm: number;
5428
5487
  headcount: number;
5429
5488
  startDate: string;
5430
- endDate: string;
5489
+ endDate?: string;
5431
5490
  tenantEmails: Array<string>;
5432
5491
  tenants: Array<CreateTenantForRepositDTO>;
5433
5492
  letOnly: boolean;
@@ -7153,7 +7212,8 @@ export declare enum UserDTOInternalRolesEnum {
7153
7212
  BULKIMPORT = "BULK_IMPORT",
7154
7213
  CLAIMUPDATEAUTOCHARGE = "CLAIM_UPDATE_AUTO_CHARGE",
7155
7214
  CLAIMITEMCORRECTIVECHANGE = "CLAIM_ITEM_CORRECTIVE_CHANGE",
7156
- CLAIMDELETE = "CLAIM_DELETE"
7215
+ CLAIMDELETE = "CLAIM_DELETE",
7216
+ BANKTRANSACTIONIMPORT = "BANK_TRANSACTION_IMPORT"
7157
7217
  }
7158
7218
 
7159
7219
  export declare enum UserDTOUserTypeIdEnum {