@tellescope/react-components 1.242.0 → 1.242.1
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/lib/cjs/state.d.ts +34 -0
- package/lib/cjs/state.d.ts.map +1 -1
- package/lib/cjs/state.js +16 -3
- package/lib/cjs/state.js.map +1 -1
- package/lib/esm/CMS/components.d.ts +1 -0
- package/lib/esm/CMS/components.d.ts.map +1 -1
- package/lib/esm/Forms/forms.d.ts +3 -3
- package/lib/esm/Forms/forms.v2.d.ts +3 -3
- package/lib/esm/Forms/inputs.d.ts +3 -3
- package/lib/esm/Forms/inputs.v2.d.ts +1 -1
- package/lib/esm/controls.d.ts +2 -2
- package/lib/esm/inputs.d.ts +1 -1
- package/lib/esm/layout.d.ts +1 -1
- package/lib/esm/state.d.ts +347 -313
- package/lib/esm/state.d.ts.map +1 -1
- package/lib/esm/state.js +12 -0
- package/lib/esm/state.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/state.tsx +19 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/react-components",
|
|
3
|
-
"version": "1.242.
|
|
3
|
+
"version": "1.242.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@reduxjs/toolkit": "1.9.0",
|
|
48
48
|
"@stripe/react-stripe-js": "2.9.0",
|
|
49
49
|
"@stripe/stripe-js": "1.52.1",
|
|
50
|
-
"@tellescope/constants": "1.242.
|
|
51
|
-
"@tellescope/sdk": "1.242.
|
|
52
|
-
"@tellescope/types-client": "1.242.
|
|
53
|
-
"@tellescope/types-models": "1.242.
|
|
54
|
-
"@tellescope/types-utilities": "1.242.
|
|
55
|
-
"@tellescope/utilities": "1.242.
|
|
56
|
-
"@tellescope/validation": "1.242.
|
|
50
|
+
"@tellescope/constants": "1.242.1",
|
|
51
|
+
"@tellescope/sdk": "1.242.1",
|
|
52
|
+
"@tellescope/types-client": "1.242.1",
|
|
53
|
+
"@tellescope/types-models": "1.242.1",
|
|
54
|
+
"@tellescope/types-utilities": "1.242.1",
|
|
55
|
+
"@tellescope/utilities": "1.242.1",
|
|
56
|
+
"@tellescope/validation": "1.242.1",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
58
58
|
"@typescript-eslint/parser": "4.33.0",
|
|
59
59
|
"css-to-react-native": "3.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
85
85
|
"react-native": "^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.71.0"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "5857eb4d53759a25dacb494f58858daac524ccaf",
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
}
|
package/src/state.tsx
CHANGED
|
@@ -98,6 +98,7 @@ import {
|
|
|
98
98
|
DiagnosisCode,
|
|
99
99
|
AllergyCode,
|
|
100
100
|
IntegrationLog,
|
|
101
|
+
OrganizationPayment,
|
|
101
102
|
EnduserEligibilityResult,
|
|
102
103
|
AgentRecord,
|
|
103
104
|
Waitlist,
|
|
@@ -368,6 +369,7 @@ const suggestedContactsSlice = createSliceForList<SuggestedContact, 'suggested_c
|
|
|
368
369
|
const diagnosisCodesSlice = createSliceForList<DiagnosisCode, 'diagnosis_codes'>('diagnosis_codes')
|
|
369
370
|
const allergyCodesSlice = createSliceForList<AllergyCode, 'allergy_codes'>('allergy_codes')
|
|
370
371
|
const integrationLogsSlice = createSliceForList<IntegrationLog, 'integration_logs'>('integration_logs')
|
|
372
|
+
const organizationPaymentsSlice = createSliceForList<OrganizationPayment, 'organization_payments'>('organization_payments')
|
|
371
373
|
const enduserEligibilityResultsSlice = createSliceForList<EnduserEligibilityResult, 'enduser_eligibility_results'>('enduser_eligibility_results')
|
|
372
374
|
const agentRecordsSlice = createSliceForList<AgentRecord, 'agent_records'>('agent_records')
|
|
373
375
|
const waitlistsSlice = createSliceForList<Waitlist, 'waitlists'>('waitlists')
|
|
@@ -384,6 +386,7 @@ export const sharedConfig = {
|
|
|
384
386
|
agent_records: agentRecordsSlice.reducer,
|
|
385
387
|
enduser_eligibility_results: enduserEligibilityResultsSlice.reducer,
|
|
386
388
|
integration_logs: integrationLogsSlice.reducer,
|
|
389
|
+
organization_payments: organizationPaymentsSlice.reducer,
|
|
387
390
|
ticket_queues: ticketQueuesSlice.reducer,
|
|
388
391
|
ticket_templates: ticketTemplatesSlice.reducer,
|
|
389
392
|
automation_triggers: automationTriggersSlice.reducer,
|
|
@@ -1551,8 +1554,8 @@ export const useEnduserOrders = (options={} as HookOptions<EnduserOrder>) => {
|
|
|
1551
1554
|
export const useIntegrationLogs = (options={} as HookOptions<IntegrationLog>) => {
|
|
1552
1555
|
const session = useSession()
|
|
1553
1556
|
return useListStateHook(
|
|
1554
|
-
'integration_logs', useTypedSelector(s => s.integration_logs), session, integrationLogsSlice,
|
|
1555
|
-
{
|
|
1557
|
+
'integration_logs', useTypedSelector(s => s.integration_logs), session, integrationLogsSlice,
|
|
1558
|
+
{
|
|
1556
1559
|
loadQuery: session.api.integration_logs.getSome,
|
|
1557
1560
|
findOne: session.api.integration_logs.getOne,
|
|
1558
1561
|
findByIds: session.api.integration_logs.getByIds,
|
|
@@ -1560,7 +1563,20 @@ export const useIntegrationLogs = (options={} as HookOptions<IntegrationLog>) =>
|
|
|
1560
1563
|
addSome: session.api.integration_logs.createSome,
|
|
1561
1564
|
deleteOne: session.api.integration_logs.deleteOne,
|
|
1562
1565
|
updateOne: session.api.integration_logs.updateOne,
|
|
1563
|
-
},
|
|
1566
|
+
},
|
|
1567
|
+
{...options}
|
|
1568
|
+
)
|
|
1569
|
+
}
|
|
1570
|
+
export const useOrganizationPayments = (options={} as HookOptions<OrganizationPayment>) => {
|
|
1571
|
+
const session = useSession()
|
|
1572
|
+
return useListStateHook(
|
|
1573
|
+
'organization_payments', useTypedSelector(s => s.organization_payments), session, organizationPaymentsSlice,
|
|
1574
|
+
{
|
|
1575
|
+
loadQuery: session.api.organization_payments.getSome,
|
|
1576
|
+
findOne: session.api.organization_payments.getOne,
|
|
1577
|
+
findByIds: session.api.organization_payments.getByIds,
|
|
1578
|
+
// Read-only collection - no create, update, delete
|
|
1579
|
+
},
|
|
1564
1580
|
{...options}
|
|
1565
1581
|
)
|
|
1566
1582
|
}
|