@medipass/web-sdk 12.10.12-fix-types-exports.2 → 12.10.12-fix-types-exports.4

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.
@@ -1,5 +1,10 @@
1
1
  import type { PaginatedQuery, PaginatedResponse } from './index';
2
2
  export type { PaginatedQuery, PaginatedResponse };
3
+ export declare type AgedCarePaginatedQuery = {
4
+ limit?: number;
5
+ page?: number;
6
+ sort?: 'asc' | 'desc';
7
+ };
3
8
  export interface GetCareRecipientDetailsQuery {
4
9
  registeredProviderId?: string;
5
10
  businessId?: string;
@@ -173,7 +178,7 @@ export declare type AttachmentResponse = {
173
178
  mimeType: string;
174
179
  createdAtDateTime: string;
175
180
  };
176
- export declare type SearchCareRecipientsQuery = {
181
+ export declare type SearchCareRecipientsQuery = AgedCarePaginatedQuery & {
177
182
  businessId?: string;
178
183
  registeredProviderId?: string;
179
184
  firstName?: string;
@@ -182,10 +187,7 @@ export declare type SearchCareRecipientsQuery = {
182
187
  gender?: string;
183
188
  myAgedCareGatewayId?: string;
184
189
  sparcId?: string;
185
- limit: number;
186
- page: number;
187
- sort: 'asc' | 'desc';
188
- 'sort-fields'?: 'lastName' | 'firstName' | 'careRecipientId' | 'birthDate' | '';
190
+ 'sort-fields'?: 'lastName' | 'firstName' | 'careRecipientId' | 'birthDate';
189
191
  };
190
192
  export declare type SearchCareRecipient = {
191
193
  careRecipientId: string;
@@ -389,15 +391,16 @@ export declare type OnboardResponse = RegisteredProviderDetails;
389
391
  export declare type GetRegisteredProviderQuery = {
390
392
  businessId?: string;
391
393
  };
392
- export declare type GetRegisteredProvidersQuery = PaginatedQuery & {
394
+ export declare type GetRegisteredProvidersQuery = AgedCarePaginatedQuery & {
393
395
  businessId?: string;
394
396
  registeredProviderId?: string;
395
397
  providerNapsId?: string;
396
398
  providerId?: string;
397
399
  providerRacsId?: string;
398
400
  providerName?: string;
401
+ 'sort-fields'?: 'providerName' | 'providerId';
399
402
  };
400
- export declare type GetMyRegisteredProviderQuery = PaginatedQuery & {
403
+ export declare type GetMyRegisteredProviderQuery = {
401
404
  businessId?: string;
402
405
  registeredProviderId?: string;
403
406
  };
@@ -468,7 +471,7 @@ export declare type ServiceProviderAccountSummary = {
468
471
  heldoverAmountString: string;
469
472
  };
470
473
  export declare type ServiceProviderAccountSummaryResponse = Array<ServiceProviderAccountSummary>;
471
- export declare type GetAgedCareClaimsQuery = {
474
+ export declare type GetAgedCareClaimsQuery = AgedCarePaginatedQuery & {
472
475
  serviceProviderId?: string;
473
476
  serviceNapsId?: string;
474
477
  status?: AgedCareClaimStatus;
@@ -478,10 +481,7 @@ export declare type GetAgedCareClaimsQuery = {
478
481
  updatedAtDateTimeTo?: string;
479
482
  createdAtDateTimeFrom?: string;
480
483
  createdAtDateTimeTo?: string;
481
- limit: number;
482
- page: number;
483
- sort: 'asc' | 'desc';
484
- 'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'updatedAtDateTime';
484
+ 'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime';
485
485
  };
486
486
  export declare type GetClaimsQuery = PaginatedQuery & {
487
487
  fromDate?: string;
@@ -704,7 +704,7 @@ export declare type AgedCareTransactionFile = {
704
704
  export declare type GetInvoiceQuery = {
705
705
  businessId?: string;
706
706
  };
707
- export declare type GetPaymentItemsReportQuery = {
707
+ export declare type GetPaymentItemsReportQuery = AgedCarePaginatedQuery & {
708
708
  serviceProviderId?: string;
709
709
  serviceNapsId?: string;
710
710
  careRecipientId?: string;
@@ -718,9 +718,6 @@ export declare type GetPaymentItemsReportQuery = {
718
718
  invoiceId?: string;
719
719
  updatedAtDateTimeFrom?: string;
720
720
  updatedAtDateTimeTo?: string;
721
- limit: number;
722
- page: number;
723
- sort: 'asc' | 'desc';
724
721
  'sort-fields'?: 'careRecipientId' | 'deliveryDate' | 'deliveryDate' | 'updatedAtDateTime';
725
722
  };
726
723
  export declare type AgedCarePaymentItemsReport = {
@@ -798,7 +795,7 @@ export declare type CreateOxygenSupplementAttachmentResponse = {
798
795
  mimeType: string;
799
796
  createdAtDateTime: string;
800
797
  };
801
- export declare type GetIndividualContributionsQuery = {
798
+ export declare type GetIndividualContributionsQuery = AgedCarePaginatedQuery & {
802
799
  businessId?: string;
803
800
  careRecipientId?: string;
804
801
  serviceNapsId?: string;
@@ -807,9 +804,6 @@ export declare type GetIndividualContributionsQuery = {
807
804
  effectiveDateTo?: string;
808
805
  updatedAtDateTimeFrom?: string;
809
806
  updatedAtDateTimeTo?: string;
810
- limit: number;
811
- page: number;
812
- sort: 'asc' | 'desc';
813
807
  'sort-fields'?: 'careRecipientId' | 'createdAtDateTime' | 'updatedAtDateTime';
814
808
  };
815
809
  export declare type IndividualContribution = {
@@ -828,34 +822,25 @@ export declare type IndividualContribution = {
828
822
  endDate: string;
829
823
  updatedAtDateTime: string;
830
824
  };
831
- export declare type GetCareRecipientBudgetsQuery = {
825
+ export declare type GetCareRecipientBudgetsQuery = AgedCarePaginatedQuery & {
832
826
  businessId?: string;
833
827
  effectiveDateFrom?: string;
834
828
  effectiveDateTo?: string;
835
- limit: number;
836
- page: number;
837
- sort: 'asc' | 'desc';
838
829
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime';
839
830
  };
840
- export declare type GetServiceProviderBudgetsQuery = {
831
+ export declare type GetServiceProviderBudgetsQuery = AgedCarePaginatedQuery & {
841
832
  businessId?: string;
842
833
  effectiveDateFrom?: string;
843
834
  effectiveDateTo?: string;
844
- limit: number;
845
- page: number;
846
- sort: 'asc' | 'desc';
847
835
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime';
848
836
  };
849
- export declare type GetServiceProviderActiveBudgetsQuery = {
837
+ export declare type GetServiceProviderActiveBudgetsQuery = AgedCarePaginatedQuery & {
850
838
  businessId?: string;
851
839
  registeredProviderId?: string;
852
840
  effectiveDateFrom?: string;
853
841
  effectiveDateTo?: string;
854
842
  updatedAtDateTimeFrom?: string;
855
843
  updatedAtDateTimeTo?: string;
856
- limit: number;
857
- page: number;
858
- sort: 'asc' | 'desc';
859
844
  'sort-fields'?: 'careRecipientId' | 'createdAtDateTime' | 'updatedAtDateTime';
860
845
  };
861
846
  export declare type CareRecipientBudget = {
@@ -1018,7 +1003,7 @@ export interface GetEnteralFeedingSupplementDetailsQuery {
1018
1003
  export interface GetOxygenSupplementDetailsQuery {
1019
1004
  businessId?: string;
1020
1005
  }
1021
- export declare type GetEnteralFeedingSupplementsQuery = {
1006
+ export declare type GetEnteralFeedingSupplementsQuery = AgedCarePaginatedQuery & {
1022
1007
  businessId?: string;
1023
1008
  serviceNapsId?: string;
1024
1009
  serviceProviderId?: string;
@@ -1030,12 +1015,9 @@ export declare type GetEnteralFeedingSupplementsQuery = {
1030
1015
  endDateTo?: string;
1031
1016
  updatedAtDateTimeFrom?: string;
1032
1017
  updatedAtDateTimeTo?: string;
1033
- limit?: number;
1034
- page?: number;
1035
- sort?: 'asc' | 'desc';
1036
1018
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
1037
1019
  };
1038
- export declare type GetOxygenSupplementsQuery = {
1020
+ export declare type GetOxygenSupplementsQuery = AgedCarePaginatedQuery & {
1039
1021
  businessId?: string;
1040
1022
  serviceNapsId?: string;
1041
1023
  serviceProviderId?: string;
@@ -1047,10 +1029,7 @@ export declare type GetOxygenSupplementsQuery = {
1047
1029
  endDateTo?: string;
1048
1030
  updatedAtDateTimeFrom?: string;
1049
1031
  updatedAtDateTimeTo?: string;
1050
- limit?: number;
1051
- page?: number;
1052
- sort?: 'asc' | 'desc';
1053
- 'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId' | '';
1032
+ 'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId';
1054
1033
  };
1055
1034
  export interface GetEnteralFeedingSupplementsItem {
1056
1035
  supplementId: string;
@@ -1152,7 +1131,7 @@ export interface EndDateOxygenSupplement {
1152
1131
  status: 'Created' | 'Updated' | 'Deleted' | 'Pending approval' | 'Approved' | 'Rejected';
1153
1132
  updatedAtDateTime: string;
1154
1133
  }
1155
- export declare type GetEntriesQuery = {
1134
+ export declare type GetEntriesQuery = AgedCarePaginatedQuery & {
1156
1135
  businessId?: string;
1157
1136
  serviceNapsId?: string;
1158
1137
  serviceProviderId?: string;
@@ -1164,9 +1143,6 @@ export declare type GetEntriesQuery = {
1164
1143
  departureDateTo?: string;
1165
1144
  updatedAtDateTimeFrom?: string;
1166
1145
  updatedAtDateTimeTo?: string;
1167
- limit?: number;
1168
- page?: number;
1169
- sort?: 'asc' | 'desc';
1170
1146
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId' | '';
1171
1147
  };
1172
1148
  export interface GetEntriesItem {
@@ -1321,7 +1297,7 @@ export interface CreateEntryResponse {
1321
1297
  export interface DeleteEntryQuery {
1322
1298
  businessId?: string;
1323
1299
  }
1324
- export declare type GetDeparturesQuery = {
1300
+ export declare type GetDeparturesQuery = AgedCarePaginatedQuery & {
1325
1301
  businessId?: string;
1326
1302
  serviceNapsId?: string;
1327
1303
  serviceProviderId?: string;
@@ -1331,9 +1307,6 @@ export declare type GetDeparturesQuery = {
1331
1307
  departureDateTo?: string;
1332
1308
  updatedAtDateTimeFrom?: string;
1333
1309
  updatedAtDateTimeTo?: string;
1334
- limit?: number;
1335
- page?: number;
1336
- sort?: 'asc' | 'desc';
1337
1310
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'entryDate' | 'careRecipientId' | 'externalReferenceId';
1338
1311
  };
1339
1312
  export interface GetDeparturesItem {
@@ -1468,17 +1441,14 @@ export declare type CreatePaymentStatementDownloadRequestBody = {
1468
1441
  export declare type CreatePaymentStatementDownloadRequestResponse = {
1469
1442
  userDownloadId: string;
1470
1443
  };
1471
- export declare type GetLegacyServiceProviderDetailsQuery = {
1444
+ export declare type GetLegacyServiceProviderDetailsQuery = AgedCarePaginatedQuery & {
1472
1445
  businessId?: string;
1473
1446
  registeredProviderId?: string;
1474
1447
  serviceNapsId?: string;
1475
1448
  serviceId?: string;
1476
1449
  providerId?: string;
1477
1450
  serviceName?: string;
1478
- limit?: number;
1479
- page?: number;
1480
- sort?: 'asc' | 'desc';
1481
- 'sort-fields'?: 'serviceName' | 'serviceId';
1451
+ 'sort-fields'?: 'providerName' | 'providerId';
1482
1452
  };
1483
1453
  export declare type LegacyServiceProvider = {
1484
1454
  serviceId: string;
@@ -1550,7 +1520,7 @@ export declare type GetBudgetItemCodesResponse = {
1550
1520
  }>;
1551
1521
  }>;
1552
1522
  };
1553
- export declare type GetEventsQuery = {
1523
+ export declare type GetEventsQuery = AgedCarePaginatedQuery & {
1554
1524
  businessId?: string;
1555
1525
  registeredProviderId?: string;
1556
1526
  serviceId?: string;
@@ -1568,9 +1538,6 @@ export declare type GetEventsQuery = {
1568
1538
  updatedAtTo?: string;
1569
1539
  createdAtFrom?: string;
1570
1540
  createdAtTo?: string;
1571
- limit?: number;
1572
- page?: number;
1573
- sort?: 'asc' | 'desc';
1574
1541
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'startDate' | 'careRecipientId' | 'externalReferenceId';
1575
1542
  };
1576
1543
  export declare type Event = {
@@ -1597,7 +1564,7 @@ export declare type Event = {
1597
1564
  updatedAtDateTime: string;
1598
1565
  };
1599
1566
  export declare type GetEventsResponse = PaginatedResponse<Event>;
1600
- export declare type GetInvoicesQuery = {
1567
+ export declare type GetInvoicesQuery = AgedCarePaginatedQuery & {
1601
1568
  businessId?: string;
1602
1569
  registeredProviderId?: string;
1603
1570
  serviceProviderId?: string;
@@ -1606,9 +1573,6 @@ export declare type GetInvoicesQuery = {
1606
1573
  status?: string;
1607
1574
  updatedAtDateTimeFrom?: string;
1608
1575
  updatedAtDateTimeTo?: string;
1609
- limit?: number;
1610
- page?: number;
1611
- sort?: 'asc' | 'desc';
1612
1576
  'sort-fields'?: 'createdAtDateTime' | 'updatedAtDateTime' | 'externalReferenceId';
1613
1577
  };
1614
1578
  export declare type AgedCareInvoiceListResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/web-sdk",
3
- "version": "12.10.12-fix-types-exports.2",
3
+ "version": "12.10.12-fix-types-exports.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -59,5 +59,5 @@
59
59
  "resolutions": {
60
60
  "react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
61
61
  },
62
- "gitHead": "890afe7daf1400317ca75e5869a276eea5dc4cad"
62
+ "gitHead": "0c0995b8e875b8b210a4a2098b8217d643c153b4"
63
63
  }