@choiceapps/communityservices-sdk 0.1.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/AGENTS.md +43 -0
- package/API.md +86 -0
- package/CHANGELOG.md +12 -0
- package/LICENSE +201 -0
- package/NOTICE +11 -0
- package/README.md +100 -0
- package/SSVF.md +131 -0
- package/browser/attachment-conflict.mjs +6 -0
- package/browser/case-plans-ui.mjs +23 -0
- package/browser/case-plans.d.mts +20 -0
- package/browser/case-plans.mjs +89 -0
- package/browser/client-creation.d.mts +16 -0
- package/browser/client-creation.mjs +60 -0
- package/browser/client-profile-ui.mjs +59 -0
- package/browser/client-profile.d.mts +24 -0
- package/browser/client-profile.mjs +94 -0
- package/browser/client-workflows.mjs +135 -0
- package/browser/connection.d.mts +4 -0
- package/browser/connection.mjs +41 -0
- package/browser/current-living-situation.d.mts +44 -0
- package/browser/current-living-situation.mjs +161 -0
- package/browser/date-of-birth-ui.mjs +68 -0
- package/browser/date-of-birth.d.mts +28 -0
- package/browser/date-of-birth.mjs +112 -0
- package/browser/enrollment-workflow.d.mts +174 -0
- package/browser/enrollment-workflow.mjs +518 -0
- package/browser/exit-details.mjs +21 -0
- package/browser/file-store.mjs +32 -0
- package/browser/gwt-mapped.mjs +46 -0
- package/browser/household-exit.d.mts +34 -0
- package/browser/household-exit.mjs +102 -0
- package/browser/households-ui.mjs +20 -0
- package/browser/households.d.mts +22 -0
- package/browser/households.mjs +115 -0
- package/browser/index.d.mts +78 -0
- package/browser/index.mjs +46 -0
- package/browser/member-entry-date.d.mts +30 -0
- package/browser/member-entry-date.mjs +71 -0
- package/browser/need-recording.d.mts +37 -0
- package/browser/need-recording.mjs +68 -0
- package/browser/need-ui.mjs +138 -0
- package/browser/page-lock.mjs +11 -0
- package/browser/password-recovery.mjs +49 -0
- package/browser/playwright-session.mjs +196 -0
- package/browser/program-discovery.d.mts +22 -0
- package/browser/program-discovery.mjs +80 -0
- package/browser/recovery-diagnostics.mjs +9 -0
- package/browser/service-recording.d.mts +45 -0
- package/browser/service-recording.mjs +148 -0
- package/browser/service-ui.mjs +160 -0
- package/browser/session-authentication.mjs +40 -0
- package/browser/shelter-inventory.d.mts +103 -0
- package/browser/shelter-inventory.mjs +273 -0
- package/browser/shelter-ui.mjs +382 -0
- package/browser/shelters.d.mts +139 -0
- package/browser/shelters.mjs +425 -0
- package/browser/ssvf-rules.d.mts +21 -0
- package/browser/ssvf-rules.mjs +145 -0
- package/browser/ui-login.mjs +135 -0
- package/dist/cjs/bulk.d.ts +33 -0
- package/dist/cjs/bulk.d.ts.map +1 -0
- package/dist/cjs/bulk.js +42 -0
- package/dist/cjs/bulk.js.map +1 -0
- package/dist/cjs/control.d.ts +35 -0
- package/dist/cjs/control.d.ts.map +1 -0
- package/dist/cjs/control.js +141 -0
- package/dist/cjs/control.js.map +1 -0
- package/dist/cjs/effective-date.d.ts +3 -0
- package/dist/cjs/effective-date.d.ts.map +1 -0
- package/dist/cjs/effective-date.js +27 -0
- package/dist/cjs/effective-date.js.map +1 -0
- package/dist/cjs/encoding.d.ts +32 -0
- package/dist/cjs/encoding.d.ts.map +1 -0
- package/dist/cjs/encoding.js +121 -0
- package/dist/cjs/encoding.js.map +1 -0
- package/dist/cjs/enrollment-verifications.d.ts +39 -0
- package/dist/cjs/enrollment-verifications.d.ts.map +1 -0
- package/dist/cjs/enrollment-verifications.js +96 -0
- package/dist/cjs/enrollment-verifications.js.map +1 -0
- package/dist/cjs/errors.d.ts +33 -0
- package/dist/cjs/errors.d.ts.map +1 -0
- package/dist/cjs/errors.js +45 -0
- package/dist/cjs/errors.js.map +1 -0
- package/dist/cjs/generated/v2-models.d.ts +1482 -0
- package/dist/cjs/generated/v2-models.d.ts.map +1 -0
- package/dist/cjs/generated/v2-models.js +3 -0
- package/dist/cjs/generated/v2-models.js.map +1 -0
- package/dist/cjs/generated/v2.d.ts +1149 -0
- package/dist/cjs/generated/v2.d.ts.map +1 -0
- package/dist/cjs/generated/v2.js +252 -0
- package/dist/cjs/generated/v2.js.map +1 -0
- package/dist/cjs/generated/v3-models.d.ts +1420 -0
- package/dist/cjs/generated/v3-models.d.ts.map +1 -0
- package/dist/cjs/generated/v3-models.js +3 -0
- package/dist/cjs/generated/v3-models.js.map +1 -0
- package/dist/cjs/generated/v3.d.ts +1149 -0
- package/dist/cjs/generated/v3.d.ts.map +1 -0
- package/dist/cjs/generated/v3.js +252 -0
- package/dist/cjs/generated/v3.js.map +1 -0
- package/dist/cjs/gwt-enrollments.d.ts +131 -0
- package/dist/cjs/gwt-enrollments.d.ts.map +1 -0
- package/dist/cjs/gwt-enrollments.js +280 -0
- package/dist/cjs/gwt-enrollments.js.map +1 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +19 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/metadata.d.ts +100 -0
- package/dist/cjs/metadata.d.ts.map +1 -0
- package/dist/cjs/metadata.js +165 -0
- package/dist/cjs/metadata.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/program-discovery.d.ts +28 -0
- package/dist/cjs/program-discovery.d.ts.map +1 -0
- package/dist/cjs/program-discovery.js +58 -0
- package/dist/cjs/program-discovery.js.map +1 -0
- package/dist/cjs/race.d.ts +4 -0
- package/dist/cjs/race.d.ts.map +1 -0
- package/dist/cjs/race.js +40 -0
- package/dist/cjs/race.js.map +1 -0
- package/dist/cjs/runtime.d.ts +108 -0
- package/dist/cjs/runtime.d.ts.map +1 -0
- package/dist/cjs/runtime.js +38 -0
- package/dist/cjs/runtime.js.map +1 -0
- package/dist/cjs/subassessments.d.ts +29 -0
- package/dist/cjs/subassessments.d.ts.map +1 -0
- package/dist/cjs/subassessments.js +107 -0
- package/dist/cjs/subassessments.js.map +1 -0
- package/dist/cjs/testing.d.ts +45 -0
- package/dist/cjs/testing.d.ts.map +1 -0
- package/dist/cjs/testing.js +66 -0
- package/dist/cjs/testing.js.map +1 -0
- package/dist/cjs/transport.d.ts +19 -0
- package/dist/cjs/transport.d.ts.map +1 -0
- package/dist/cjs/transport.js +373 -0
- package/dist/cjs/transport.js.map +1 -0
- package/dist/cjs/v2.d.ts +13 -0
- package/dist/cjs/v2.d.ts.map +1 -0
- package/dist/cjs/v2.js +29 -0
- package/dist/cjs/v2.js.map +1 -0
- package/dist/cjs/v3.d.ts +13 -0
- package/dist/cjs/v3.d.ts.map +1 -0
- package/dist/cjs/v3.js +29 -0
- package/dist/cjs/v3.js.map +1 -0
- package/dist/cjs/validation.d.ts +33 -0
- package/dist/cjs/validation.d.ts.map +1 -0
- package/dist/cjs/validation.js +77 -0
- package/dist/cjs/validation.js.map +1 -0
- package/dist/cjs/verification.d.ts +82 -0
- package/dist/cjs/verification.d.ts.map +1 -0
- package/dist/cjs/verification.js +122 -0
- package/dist/cjs/verification.js.map +1 -0
- package/dist/esm/bulk.d.ts +33 -0
- package/dist/esm/bulk.d.ts.map +1 -0
- package/dist/esm/bulk.js +39 -0
- package/dist/esm/bulk.js.map +1 -0
- package/dist/esm/control.d.ts +35 -0
- package/dist/esm/control.d.ts.map +1 -0
- package/dist/esm/control.js +132 -0
- package/dist/esm/control.js.map +1 -0
- package/dist/esm/effective-date.d.ts +3 -0
- package/dist/esm/effective-date.d.ts.map +1 -0
- package/dist/esm/effective-date.js +24 -0
- package/dist/esm/effective-date.js.map +1 -0
- package/dist/esm/encoding.d.ts +32 -0
- package/dist/esm/encoding.d.ts.map +1 -0
- package/dist/esm/encoding.js +117 -0
- package/dist/esm/encoding.js.map +1 -0
- package/dist/esm/enrollment-verifications.d.ts +39 -0
- package/dist/esm/enrollment-verifications.d.ts.map +1 -0
- package/dist/esm/enrollment-verifications.js +93 -0
- package/dist/esm/enrollment-verifications.js.map +1 -0
- package/dist/esm/errors.d.ts +33 -0
- package/dist/esm/errors.d.ts.map +1 -0
- package/dist/esm/errors.js +33 -0
- package/dist/esm/errors.js.map +1 -0
- package/dist/esm/generated/v2-models.d.ts +1482 -0
- package/dist/esm/generated/v2-models.d.ts.map +1 -0
- package/dist/esm/generated/v2-models.js +2 -0
- package/dist/esm/generated/v2-models.js.map +1 -0
- package/dist/esm/generated/v2.d.ts +1149 -0
- package/dist/esm/generated/v2.d.ts.map +1 -0
- package/dist/esm/generated/v2.js +247 -0
- package/dist/esm/generated/v2.js.map +1 -0
- package/dist/esm/generated/v3-models.d.ts +1420 -0
- package/dist/esm/generated/v3-models.d.ts.map +1 -0
- package/dist/esm/generated/v3-models.js +2 -0
- package/dist/esm/generated/v3-models.js.map +1 -0
- package/dist/esm/generated/v3.d.ts +1149 -0
- package/dist/esm/generated/v3.d.ts.map +1 -0
- package/dist/esm/generated/v3.js +247 -0
- package/dist/esm/generated/v3.js.map +1 -0
- package/dist/esm/gwt-enrollments.d.ts +131 -0
- package/dist/esm/gwt-enrollments.d.ts.map +1 -0
- package/dist/esm/gwt-enrollments.js +274 -0
- package/dist/esm/gwt-enrollments.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/metadata.d.ts +100 -0
- package/dist/esm/metadata.d.ts.map +1 -0
- package/dist/esm/metadata.js +157 -0
- package/dist/esm/metadata.js.map +1 -0
- package/dist/esm/program-discovery.d.ts +28 -0
- package/dist/esm/program-discovery.d.ts.map +1 -0
- package/dist/esm/program-discovery.js +55 -0
- package/dist/esm/program-discovery.js.map +1 -0
- package/dist/esm/race.d.ts +4 -0
- package/dist/esm/race.d.ts.map +1 -0
- package/dist/esm/race.js +37 -0
- package/dist/esm/race.js.map +1 -0
- package/dist/esm/runtime.d.ts +108 -0
- package/dist/esm/runtime.d.ts.map +1 -0
- package/dist/esm/runtime.js +33 -0
- package/dist/esm/runtime.js.map +1 -0
- package/dist/esm/subassessments.d.ts +29 -0
- package/dist/esm/subassessments.d.ts.map +1 -0
- package/dist/esm/subassessments.js +103 -0
- package/dist/esm/subassessments.js.map +1 -0
- package/dist/esm/testing.d.ts +45 -0
- package/dist/esm/testing.d.ts.map +1 -0
- package/dist/esm/testing.js +60 -0
- package/dist/esm/testing.js.map +1 -0
- package/dist/esm/transport.d.ts +19 -0
- package/dist/esm/transport.d.ts.map +1 -0
- package/dist/esm/transport.js +369 -0
- package/dist/esm/transport.js.map +1 -0
- package/dist/esm/v2.d.ts +13 -0
- package/dist/esm/v2.d.ts.map +1 -0
- package/dist/esm/v2.js +13 -0
- package/dist/esm/v2.js.map +1 -0
- package/dist/esm/v3.d.ts +13 -0
- package/dist/esm/v3.d.ts.map +1 -0
- package/dist/esm/v3.js +13 -0
- package/dist/esm/v3.js.map +1 -0
- package/dist/esm/validation.d.ts +33 -0
- package/dist/esm/validation.d.ts.map +1 -0
- package/dist/esm/validation.js +72 -0
- package/dist/esm/validation.js.map +1 -0
- package/dist/esm/verification.d.ts +82 -0
- package/dist/esm/verification.d.ts.map +1 -0
- package/dist/esm/verification.js +117 -0
- package/dist/esm/verification.js.map +1 -0
- package/docs/README.md +56 -0
- package/docs/assessments.md +103 -0
- package/docs/browser-session.md +129 -0
- package/docs/capabilities.md +75 -0
- package/docs/configuration.md +81 -0
- package/docs/current-living-situation.md +56 -0
- package/docs/dates-and-answers.md +40 -0
- package/docs/development.md +81 -0
- package/docs/durable-records.md +156 -0
- package/docs/enrollments.md +217 -0
- package/docs/files-and-notes.md +39 -0
- package/docs/getting-started.md +56 -0
- package/docs/independent-needs.md +77 -0
- package/docs/integration-methods.md +60 -0
- package/docs/profiles.md +68 -0
- package/docs/reference.md +64 -0
- package/docs/rest-client.md +97 -0
- package/docs/services.md +66 -0
- package/docs/shelter-inventory.md +64 -0
- package/docs/shelters.md +75 -0
- package/docs/troubleshooting.md +61 -0
- package/docs/using-the-sdk.md +203 -0
- package/docs/vendor-issues/README.md +46 -0
- package/docs/vendor-issues/api-coverage.md +27 -0
- package/docs/vendor-issues/attachment-authentication.md +40 -0
- package/docs/vendor-issues/date-semantics.md +51 -0
- package/docs/vendor-issues/empty-service-list-404.md +51 -0
- package/docs/vendor-issues/enrollment-complete-target-error.md +178 -0
- package/docs/vendor-issues/enrollment-effective-date-column.md +112 -0
- package/docs/vendor-issues/household-head-validation.md +26 -0
- package/docs/vendor-issues/write-contracts.md +51 -0
- package/examples/README.md +41 -0
- package/examples/current-living-situation.mts +27 -0
- package/examples/durable-records.mts +78 -0
- package/examples/enrollment-workflow.mts +46 -0
- package/examples/gwt-enrollment-session.ts +17 -0
- package/examples/gwt-file-store.mjs +2 -0
- package/examples/household-enrollment-workflow.mts +43 -0
- package/examples/household-exit-workflow.mts +35 -0
- package/examples/household-lifecycle-workflow.mts +34 -0
- package/examples/independent-needs.mts +30 -0
- package/examples/program-discovery.ts +19 -0
- package/examples/quickstart.mjs +13 -0
- package/examples/shelter-inventory.mts +30 -0
- package/examples/shelters.mts +33 -0
- package/examples/usage.ts +23 -0
- package/examples/verification-snapshot.ts +9 -0
- package/llms.txt +26 -0
- package/package.json +103 -0
- package/specs/provenance.json +17 -0
|
@@ -0,0 +1,1149 @@
|
|
|
1
|
+
import type { ApiResponse, RequestOptions, ClientOptions, PaginationOptions } from "../runtime.js";
|
|
2
|
+
import { SubassessmentEditor } from "../subassessments.js";
|
|
3
|
+
import type { BulkOptions, BulkReport } from "../bulk.js";
|
|
4
|
+
import type { AssessmentContext, QuestionReference, PicklistSelector } from "../metadata.js";
|
|
5
|
+
import type * as Models from "./v2-models.js";
|
|
6
|
+
export interface Operations {
|
|
7
|
+
"POST /apitoapiauthentication/CreateAuthKey": {
|
|
8
|
+
request: RequestOptions & {
|
|
9
|
+
body: Models.ClientAuthViewModel;
|
|
10
|
+
};
|
|
11
|
+
response: ApiResponse<Models.JwtToken>;
|
|
12
|
+
item: Models.JwtToken;
|
|
13
|
+
};
|
|
14
|
+
"GET /assessments/{clientId}/{assessmentCode}": {
|
|
15
|
+
request: RequestOptions & {
|
|
16
|
+
path: {
|
|
17
|
+
"clientId": number;
|
|
18
|
+
"assessmentCode": string;
|
|
19
|
+
};
|
|
20
|
+
query?: {
|
|
21
|
+
"dateEffective"?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
response: ApiResponse<Models.SubAssessmentQuestionWithAnswerBase>;
|
|
25
|
+
item: Models.SubAssessmentQuestionWithAnswerBase;
|
|
26
|
+
};
|
|
27
|
+
"POST /assessments/create/{clientId}/{assessmentCode}": {
|
|
28
|
+
request: RequestOptions & {
|
|
29
|
+
path: {
|
|
30
|
+
"clientId": number;
|
|
31
|
+
"assessmentCode": string;
|
|
32
|
+
};
|
|
33
|
+
query?: {
|
|
34
|
+
"dateEffective"?: string;
|
|
35
|
+
};
|
|
36
|
+
body: Array<Models.AddAssessmentQuestionAnswersViewModel>;
|
|
37
|
+
};
|
|
38
|
+
response: ApiResponse<Models.SubAssessmentQuestionWithAnswerBase>;
|
|
39
|
+
item: Models.SubAssessmentQuestionWithAnswerBase;
|
|
40
|
+
};
|
|
41
|
+
"GET /assessmentsmobile/GetAssessmentAnswers/{clientId}/{assessmentCode}": {
|
|
42
|
+
request: RequestOptions & {
|
|
43
|
+
path: {
|
|
44
|
+
"clientId": number;
|
|
45
|
+
"assessmentCode": string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
response: ApiResponse<Models.SubAssessmentQuestionWithAnswer>;
|
|
49
|
+
item: Models.SubAssessmentQuestionWithAnswer;
|
|
50
|
+
};
|
|
51
|
+
"POST /assessmentsmobile/AddAssessmentAnswer/{clientId}/{assessmentCode}": {
|
|
52
|
+
request: RequestOptions & {
|
|
53
|
+
path: {
|
|
54
|
+
"clientId": number;
|
|
55
|
+
"assessmentCode": string;
|
|
56
|
+
};
|
|
57
|
+
query?: {
|
|
58
|
+
"dateEffective"?: string;
|
|
59
|
+
};
|
|
60
|
+
body: Array<Models.AddSubAssessmentQuestionWithAnswerViewModel>;
|
|
61
|
+
};
|
|
62
|
+
response: ApiResponse<Models.AddSubAssessmentQuestionWithAnswerViewModel>;
|
|
63
|
+
item: Models.AddSubAssessmentQuestionWithAnswerViewModel;
|
|
64
|
+
};
|
|
65
|
+
"POST /authentication/SetAuthKey": {
|
|
66
|
+
request: RequestOptions & {
|
|
67
|
+
body: Models.ClientAuthViewModel;
|
|
68
|
+
};
|
|
69
|
+
response: ApiResponse<Models.JwtToken>;
|
|
70
|
+
item: Models.JwtToken;
|
|
71
|
+
};
|
|
72
|
+
"POST /authentication/GetCurrentAuthKey": {
|
|
73
|
+
request: RequestOptions & {
|
|
74
|
+
body: Models.ClientAuthViewModel;
|
|
75
|
+
};
|
|
76
|
+
response: ApiResponse<Models.JwtToken>;
|
|
77
|
+
item: Models.JwtToken;
|
|
78
|
+
};
|
|
79
|
+
"GET /authentication/GetCurrentAuthKeyList": {
|
|
80
|
+
request: RequestOptions & {
|
|
81
|
+
query?: {
|
|
82
|
+
"userName"?: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
response: ApiResponse<Models.JwtUserToken>;
|
|
86
|
+
item: Models.JwtUserToken;
|
|
87
|
+
};
|
|
88
|
+
"GET /calls": {
|
|
89
|
+
request: RequestOptions & {
|
|
90
|
+
query?: {
|
|
91
|
+
"query"?: string;
|
|
92
|
+
"perPage"?: number;
|
|
93
|
+
"startPage"?: number;
|
|
94
|
+
"sort_by"?: string;
|
|
95
|
+
"order"?: string;
|
|
96
|
+
"total_count"?: boolean;
|
|
97
|
+
"$expand"?: string;
|
|
98
|
+
"$filter"?: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
response: ApiResponse<Models.CallRecordViewModel>;
|
|
102
|
+
item: Models.CallRecordViewModel;
|
|
103
|
+
};
|
|
104
|
+
"GET /casemanager": {
|
|
105
|
+
request: RequestOptions & {
|
|
106
|
+
query?: {
|
|
107
|
+
"query"?: string;
|
|
108
|
+
"perPage"?: number;
|
|
109
|
+
"startPage"?: number;
|
|
110
|
+
"sort_by"?: string;
|
|
111
|
+
"order"?: string;
|
|
112
|
+
"total_count"?: boolean;
|
|
113
|
+
"$expand"?: string;
|
|
114
|
+
"$filter"?: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
response: ApiResponse<Models.CaseManagerViewModel>;
|
|
118
|
+
item: Models.CaseManagerViewModel;
|
|
119
|
+
};
|
|
120
|
+
"GET /casemanager/{clientId}": {
|
|
121
|
+
request: RequestOptions & {
|
|
122
|
+
path: {
|
|
123
|
+
"clientId": number;
|
|
124
|
+
};
|
|
125
|
+
query?: {
|
|
126
|
+
"query"?: string;
|
|
127
|
+
"perPage"?: number;
|
|
128
|
+
"startPage"?: number;
|
|
129
|
+
"sort_by"?: string;
|
|
130
|
+
"order"?: string;
|
|
131
|
+
"total_count"?: boolean;
|
|
132
|
+
"$expand"?: string;
|
|
133
|
+
"$filter"?: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
response: ApiResponse<Models.CaseManagerViewModel>;
|
|
137
|
+
item: Models.CaseManagerViewModel;
|
|
138
|
+
};
|
|
139
|
+
"POST /clientAuthentication/RegisterClient": {
|
|
140
|
+
request: RequestOptions & {
|
|
141
|
+
body: Models.ClientSignupDetailsViewModel;
|
|
142
|
+
};
|
|
143
|
+
response: ApiResponse<Models.ClientSignupDetailsViewModel>;
|
|
144
|
+
item: Models.ClientSignupDetailsViewModel;
|
|
145
|
+
};
|
|
146
|
+
"GET /clientAuthentication/MobileAuthenticationInformation": {
|
|
147
|
+
request: RequestOptions & {};
|
|
148
|
+
response: ApiResponse<Models.MobileAuthenticationInfoViewModel>;
|
|
149
|
+
item: Models.MobileAuthenticationInfoViewModel;
|
|
150
|
+
};
|
|
151
|
+
"PUT /clientAuthentication/UpdateClientDetails": {
|
|
152
|
+
request: RequestOptions & {
|
|
153
|
+
body: Models.ClientLinkageDetailsViewModel;
|
|
154
|
+
};
|
|
155
|
+
response: ApiResponse<Models.ClientLinkageDetailsViewModel>;
|
|
156
|
+
item: Models.ClientLinkageDetailsViewModel;
|
|
157
|
+
};
|
|
158
|
+
"POST /clientAuthentication/GetAuthKeyFormobileapp": {
|
|
159
|
+
request: RequestOptions & {
|
|
160
|
+
body: Models.ClientAuthViewModelForMobileApp;
|
|
161
|
+
};
|
|
162
|
+
response: ApiResponse<Models.AuthResponse>;
|
|
163
|
+
item: Models.AuthResponse;
|
|
164
|
+
};
|
|
165
|
+
"POST /clientAuthentication/ResetPassword": {
|
|
166
|
+
request: RequestOptions & {
|
|
167
|
+
body: Models.ResetViewModel;
|
|
168
|
+
};
|
|
169
|
+
response: unknown;
|
|
170
|
+
item: unknown;
|
|
171
|
+
};
|
|
172
|
+
"PUT /clientAuthentication/ChangePassword": {
|
|
173
|
+
request: RequestOptions & {
|
|
174
|
+
body: Models.ChangePasswordViewModel;
|
|
175
|
+
};
|
|
176
|
+
response: ApiResponse<Models.ChangePasswordViewModel>;
|
|
177
|
+
item: Models.ChangePasswordViewModel;
|
|
178
|
+
};
|
|
179
|
+
"GET /clientAuthentication/MobileMasterDataInformation": {
|
|
180
|
+
request: RequestOptions & {};
|
|
181
|
+
response: ApiResponse<Models.MasterDataViewModel>;
|
|
182
|
+
item: Models.MasterDataViewModel;
|
|
183
|
+
};
|
|
184
|
+
"PUT /clientAuthentication/SaveUserDetails": {
|
|
185
|
+
request: RequestOptions & {
|
|
186
|
+
body: Models.ClientInfoViewModel;
|
|
187
|
+
};
|
|
188
|
+
response: ApiResponse<Models.ClientInfoViewModel>;
|
|
189
|
+
item: Models.ClientInfoViewModel;
|
|
190
|
+
};
|
|
191
|
+
"POST /clientAuthentication/GenerateTokenUsingOldToken": {
|
|
192
|
+
request: RequestOptions & {
|
|
193
|
+
body: Models.ClientAuthTokenViewModel;
|
|
194
|
+
};
|
|
195
|
+
response: ApiResponse<Models.JwtToken>;
|
|
196
|
+
item: Models.JwtToken;
|
|
197
|
+
};
|
|
198
|
+
"GET /clientnotes": {
|
|
199
|
+
request: RequestOptions & {
|
|
200
|
+
query?: {
|
|
201
|
+
"query"?: string;
|
|
202
|
+
"perPage"?: number;
|
|
203
|
+
"startPage"?: number;
|
|
204
|
+
"sort_by"?: string;
|
|
205
|
+
"order"?: string;
|
|
206
|
+
"total_count"?: boolean;
|
|
207
|
+
"$expand"?: string;
|
|
208
|
+
"$filter"?: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
response: ApiResponse<Models.ClientNoteViewModel>;
|
|
212
|
+
item: Models.ClientNoteViewModel;
|
|
213
|
+
};
|
|
214
|
+
"POST /clientnotes/create": {
|
|
215
|
+
request: RequestOptions & {
|
|
216
|
+
body: Models.ClientNotesAddViewModel;
|
|
217
|
+
};
|
|
218
|
+
response: ApiResponse<Models.ClientNoteViewModel>;
|
|
219
|
+
item: Models.ClientNoteViewModel;
|
|
220
|
+
};
|
|
221
|
+
"PUT /clientnotes/update": {
|
|
222
|
+
request: RequestOptions & {
|
|
223
|
+
query: {
|
|
224
|
+
"clientNoteId": number;
|
|
225
|
+
};
|
|
226
|
+
body: Models.ClientNotesUpdateViewModel;
|
|
227
|
+
};
|
|
228
|
+
response: ApiResponse<Models.ClientNoteViewModel>;
|
|
229
|
+
item: Models.ClientNoteViewModel;
|
|
230
|
+
};
|
|
231
|
+
"GET /clients": {
|
|
232
|
+
request: RequestOptions & {
|
|
233
|
+
query?: {
|
|
234
|
+
"query"?: string;
|
|
235
|
+
"perPage"?: number;
|
|
236
|
+
"startPage"?: number;
|
|
237
|
+
"dateEffective"?: string;
|
|
238
|
+
"sort_by"?: string;
|
|
239
|
+
"order"?: string;
|
|
240
|
+
"total_count"?: boolean;
|
|
241
|
+
"$expand"?: string;
|
|
242
|
+
"$filter"?: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
response: ApiResponse<Models.ClientViewModel>;
|
|
246
|
+
item: Models.ClientViewModel;
|
|
247
|
+
};
|
|
248
|
+
"GET /clients/{clientId}": {
|
|
249
|
+
request: RequestOptions & {
|
|
250
|
+
path: {
|
|
251
|
+
"clientId": number;
|
|
252
|
+
};
|
|
253
|
+
query?: {
|
|
254
|
+
"dateEffective"?: string;
|
|
255
|
+
"$expand"?: string;
|
|
256
|
+
"$filter"?: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
response: ApiResponse<Models.ClientViewModel>;
|
|
260
|
+
item: Models.ClientViewModel;
|
|
261
|
+
};
|
|
262
|
+
"POST /clients/create": {
|
|
263
|
+
request: RequestOptions & {
|
|
264
|
+
body: Models.ClientAddViewModel;
|
|
265
|
+
};
|
|
266
|
+
response: ApiResponse<Models.ClientViewModel>;
|
|
267
|
+
item: Models.ClientViewModel;
|
|
268
|
+
};
|
|
269
|
+
"PUT /clients/update/{client_id}": {
|
|
270
|
+
request: RequestOptions & {
|
|
271
|
+
path: {
|
|
272
|
+
"client_id": number;
|
|
273
|
+
};
|
|
274
|
+
body: Models.ClientUpdateViewModel;
|
|
275
|
+
};
|
|
276
|
+
response: ApiResponse<Models.ClientViewModel>;
|
|
277
|
+
item: Models.ClientViewModel;
|
|
278
|
+
};
|
|
279
|
+
"GET /clients/simplified": {
|
|
280
|
+
request: RequestOptions & {
|
|
281
|
+
query?: {
|
|
282
|
+
"query"?: string;
|
|
283
|
+
"perPage"?: number;
|
|
284
|
+
"startPage"?: number;
|
|
285
|
+
"dateEffective"?: string;
|
|
286
|
+
"sort_by"?: string;
|
|
287
|
+
"order"?: string;
|
|
288
|
+
"total_count"?: boolean;
|
|
289
|
+
"$expand"?: string;
|
|
290
|
+
"$filter"?: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
response: ApiResponse<Models.ClientSimpleViewModel>;
|
|
294
|
+
item: Models.ClientSimpleViewModel;
|
|
295
|
+
};
|
|
296
|
+
"GET /clients/simplified/{clientId}": {
|
|
297
|
+
request: RequestOptions & {
|
|
298
|
+
path: {
|
|
299
|
+
"clientId": number;
|
|
300
|
+
};
|
|
301
|
+
query?: {
|
|
302
|
+
"dateEffective"?: string;
|
|
303
|
+
"$expand"?: string;
|
|
304
|
+
"$filter"?: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
response: ApiResponse<Models.ClientSimpleViewModel>;
|
|
308
|
+
item: Models.ClientSimpleViewModel;
|
|
309
|
+
};
|
|
310
|
+
"POST /enrollments/entry/assessment/create": {
|
|
311
|
+
request: RequestOptions & {
|
|
312
|
+
body: Models.EnrollmentAddViewModel;
|
|
313
|
+
};
|
|
314
|
+
response: ApiResponse<Models.EnrollmentWithAssessmentViewModel>;
|
|
315
|
+
item: Models.EnrollmentWithAssessmentViewModel;
|
|
316
|
+
};
|
|
317
|
+
"PUT /enrollments/entry/assessment/update": {
|
|
318
|
+
request: RequestOptions & {
|
|
319
|
+
query?: {
|
|
320
|
+
"enrollment_id"?: number;
|
|
321
|
+
};
|
|
322
|
+
body: Models.EnrollmentUpdateViewModel;
|
|
323
|
+
};
|
|
324
|
+
response: ApiResponse<Models.EnrollmentWithAssessmentViewModel>;
|
|
325
|
+
item: Models.EnrollmentWithAssessmentViewModel;
|
|
326
|
+
};
|
|
327
|
+
"GET /enrollments": {
|
|
328
|
+
request: RequestOptions & {
|
|
329
|
+
query?: {
|
|
330
|
+
"query"?: string;
|
|
331
|
+
"perPage"?: number;
|
|
332
|
+
"startPage"?: number;
|
|
333
|
+
"sort_by"?: string;
|
|
334
|
+
"order"?: string;
|
|
335
|
+
"total_count"?: boolean;
|
|
336
|
+
"$expand"?: string;
|
|
337
|
+
"$filter"?: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
response: ApiResponse<Models.EnrollmentViewModel>;
|
|
341
|
+
item: Models.EnrollmentViewModel;
|
|
342
|
+
};
|
|
343
|
+
"GET /enrollments/{clientId}": {
|
|
344
|
+
request: RequestOptions & {
|
|
345
|
+
path: {
|
|
346
|
+
"clientId": number;
|
|
347
|
+
};
|
|
348
|
+
query?: {
|
|
349
|
+
"query"?: string;
|
|
350
|
+
"perPage"?: number;
|
|
351
|
+
"startPage"?: number;
|
|
352
|
+
"sort_by"?: string;
|
|
353
|
+
"order"?: string;
|
|
354
|
+
"total_count"?: boolean;
|
|
355
|
+
"$expand"?: string;
|
|
356
|
+
"$filter"?: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
response: ApiResponse<Models.EnrollmentViewModel>;
|
|
360
|
+
item: Models.EnrollmentViewModel;
|
|
361
|
+
};
|
|
362
|
+
"GET /enrollments/complete/{enrollmentId}": {
|
|
363
|
+
request: RequestOptions & {
|
|
364
|
+
path: {
|
|
365
|
+
"enrollmentId": number;
|
|
366
|
+
};
|
|
367
|
+
query?: {
|
|
368
|
+
"query"?: string;
|
|
369
|
+
"perPage"?: number;
|
|
370
|
+
"startPage"?: number;
|
|
371
|
+
"sort_by"?: string;
|
|
372
|
+
"order"?: string;
|
|
373
|
+
"total_count"?: boolean;
|
|
374
|
+
"$expand"?: string;
|
|
375
|
+
"$filter"?: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
response: ApiResponse<Models.EnrollmentCompleteViewModel>;
|
|
379
|
+
item: Models.EnrollmentCompleteViewModel;
|
|
380
|
+
};
|
|
381
|
+
"GET /enrollments/assessment/{clientId}/{assessmentCode}": {
|
|
382
|
+
request: RequestOptions & {
|
|
383
|
+
path: {
|
|
384
|
+
"clientId": number;
|
|
385
|
+
"assessmentCode": string;
|
|
386
|
+
};
|
|
387
|
+
query: {
|
|
388
|
+
"dataCollectionPoint": string;
|
|
389
|
+
"providerName": string;
|
|
390
|
+
"enrollmentType": string;
|
|
391
|
+
"startDate": string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
response: ApiResponse<Models.SubAssessmentQuestionWithAnswerBase>;
|
|
395
|
+
item: Models.SubAssessmentQuestionWithAnswerBase;
|
|
396
|
+
};
|
|
397
|
+
"POST /fileattachments/clients/get": {
|
|
398
|
+
request: RequestOptions & {
|
|
399
|
+
query?: {
|
|
400
|
+
"$expand"?: string;
|
|
401
|
+
"$filter"?: string;
|
|
402
|
+
};
|
|
403
|
+
body: Models.ClientAttachmentRequestViewModel;
|
|
404
|
+
};
|
|
405
|
+
response: ApiResponse<Models.ClientAttachmentModel>;
|
|
406
|
+
item: Models.ClientAttachmentModel;
|
|
407
|
+
};
|
|
408
|
+
"POST /fileattachments/clients/create": {
|
|
409
|
+
request: RequestOptions & {
|
|
410
|
+
query?: {
|
|
411
|
+
"$expand"?: string;
|
|
412
|
+
"$filter"?: string;
|
|
413
|
+
};
|
|
414
|
+
body: {
|
|
415
|
+
"username"?: string;
|
|
416
|
+
"password"?: string;
|
|
417
|
+
"client_id"?: number;
|
|
418
|
+
"description"?: string;
|
|
419
|
+
"entity_type"?: string;
|
|
420
|
+
"entity_id"?: number;
|
|
421
|
+
"fileData"?: Blob;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
response: ApiResponse<Models.ClientAttachmentModel>;
|
|
425
|
+
item: Models.ClientAttachmentModel;
|
|
426
|
+
};
|
|
427
|
+
"POST /goals/actions/create/{goalId}": {
|
|
428
|
+
request: RequestOptions & {
|
|
429
|
+
path: {
|
|
430
|
+
"goalId": number;
|
|
431
|
+
};
|
|
432
|
+
body: Models.AddActionStepsViewModel;
|
|
433
|
+
};
|
|
434
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
435
|
+
item: Models.GoalViewModel;
|
|
436
|
+
};
|
|
437
|
+
"PUT /goals/actions/update/{goalActionStepId}": {
|
|
438
|
+
request: RequestOptions & {
|
|
439
|
+
path: {
|
|
440
|
+
"goalActionStepId": number;
|
|
441
|
+
};
|
|
442
|
+
body: Models.UpdateActionStepsViewModel;
|
|
443
|
+
};
|
|
444
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
445
|
+
item: Models.GoalViewModel;
|
|
446
|
+
};
|
|
447
|
+
"GET /goals": {
|
|
448
|
+
request: RequestOptions & {
|
|
449
|
+
query?: {
|
|
450
|
+
"query"?: string;
|
|
451
|
+
"perPage"?: number;
|
|
452
|
+
"startPage"?: number;
|
|
453
|
+
"sort_by"?: string;
|
|
454
|
+
"order"?: string;
|
|
455
|
+
"total_count"?: boolean;
|
|
456
|
+
"$expand"?: string;
|
|
457
|
+
"$filter"?: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
461
|
+
item: Models.GoalViewModel;
|
|
462
|
+
};
|
|
463
|
+
"GET /goals/client/{clientId}": {
|
|
464
|
+
request: RequestOptions & {
|
|
465
|
+
path: {
|
|
466
|
+
"clientId": number;
|
|
467
|
+
};
|
|
468
|
+
query?: {
|
|
469
|
+
"query"?: string;
|
|
470
|
+
"perPage"?: number;
|
|
471
|
+
"startPage"?: number;
|
|
472
|
+
"sort_by"?: string;
|
|
473
|
+
"order"?: string;
|
|
474
|
+
"total_count"?: boolean;
|
|
475
|
+
"$expand"?: string;
|
|
476
|
+
"$filter"?: string;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
480
|
+
item: Models.GoalViewModel;
|
|
481
|
+
};
|
|
482
|
+
"GET /goals/{goalId}": {
|
|
483
|
+
request: RequestOptions & {
|
|
484
|
+
path: {
|
|
485
|
+
"goalId": number;
|
|
486
|
+
};
|
|
487
|
+
query?: {
|
|
488
|
+
"query"?: string;
|
|
489
|
+
"perPage"?: number;
|
|
490
|
+
"startPage"?: number;
|
|
491
|
+
"sort_by"?: string;
|
|
492
|
+
"order"?: string;
|
|
493
|
+
"total_count"?: boolean;
|
|
494
|
+
"$expand"?: string;
|
|
495
|
+
"$filter"?: string;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
499
|
+
item: Models.GoalViewModel;
|
|
500
|
+
};
|
|
501
|
+
"POST /goals/create": {
|
|
502
|
+
request: RequestOptions & {
|
|
503
|
+
body: Models.GoalAddViewModel;
|
|
504
|
+
};
|
|
505
|
+
response: ApiResponse<Models.GoalViewModel>;
|
|
506
|
+
item: Models.GoalViewModel;
|
|
507
|
+
};
|
|
508
|
+
"PUT /goals/update/{goalId}": {
|
|
509
|
+
request: RequestOptions & {
|
|
510
|
+
path: {
|
|
511
|
+
"goalId": number;
|
|
512
|
+
};
|
|
513
|
+
body: Models.GoalUpdateViewModel;
|
|
514
|
+
};
|
|
515
|
+
response: ApiResponse<Models.GoalUpdateViewModel>;
|
|
516
|
+
item: Models.GoalUpdateViewModel;
|
|
517
|
+
};
|
|
518
|
+
"GET /healthcheckup": {
|
|
519
|
+
request: RequestOptions & {};
|
|
520
|
+
response: unknown;
|
|
521
|
+
item: unknown;
|
|
522
|
+
};
|
|
523
|
+
"GET /households": {
|
|
524
|
+
request: RequestOptions & {
|
|
525
|
+
query?: {
|
|
526
|
+
"query"?: string;
|
|
527
|
+
"perPage"?: number;
|
|
528
|
+
"startPage"?: number;
|
|
529
|
+
"sort_by"?: string;
|
|
530
|
+
"order"?: string;
|
|
531
|
+
"total_count"?: boolean;
|
|
532
|
+
"$expand"?: string;
|
|
533
|
+
"$filter"?: string;
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
response: ApiResponse<Models.Household>;
|
|
537
|
+
item: Models.Household;
|
|
538
|
+
};
|
|
539
|
+
"GET /households/{householdId}": {
|
|
540
|
+
request: RequestOptions & {
|
|
541
|
+
path: {
|
|
542
|
+
"householdId": number;
|
|
543
|
+
};
|
|
544
|
+
query?: {
|
|
545
|
+
"query"?: string;
|
|
546
|
+
"perPage"?: number;
|
|
547
|
+
"startPage"?: number;
|
|
548
|
+
"sort_by"?: string;
|
|
549
|
+
"order"?: string;
|
|
550
|
+
"total_count"?: boolean;
|
|
551
|
+
"$expand"?: string;
|
|
552
|
+
"$filter"?: string;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
response: ApiResponse<Models.Household>;
|
|
556
|
+
item: Models.Household;
|
|
557
|
+
};
|
|
558
|
+
"GET /households/client/{clientId}": {
|
|
559
|
+
request: RequestOptions & {
|
|
560
|
+
path: {
|
|
561
|
+
"clientId": number;
|
|
562
|
+
};
|
|
563
|
+
query?: {
|
|
564
|
+
"query"?: string;
|
|
565
|
+
"perPage"?: number;
|
|
566
|
+
"startPage"?: number;
|
|
567
|
+
"sort_by"?: string;
|
|
568
|
+
"order"?: string;
|
|
569
|
+
"total_count"?: boolean;
|
|
570
|
+
"$expand"?: string;
|
|
571
|
+
"$filter"?: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
response: ApiResponse<Models.Household>;
|
|
575
|
+
item: Models.Household;
|
|
576
|
+
};
|
|
577
|
+
"POST /households/create": {
|
|
578
|
+
request: RequestOptions & {
|
|
579
|
+
body: Models.HouseholdAddViewModel;
|
|
580
|
+
};
|
|
581
|
+
response: ApiResponse<Models.HouseholdViewModel>;
|
|
582
|
+
item: Models.HouseholdViewModel;
|
|
583
|
+
};
|
|
584
|
+
"PUT /households/update/{householdId}": {
|
|
585
|
+
request: RequestOptions & {
|
|
586
|
+
path: {
|
|
587
|
+
"householdId": number;
|
|
588
|
+
};
|
|
589
|
+
body: Models.HouseholdUpdateViewModel;
|
|
590
|
+
};
|
|
591
|
+
response: ApiResponse<Models.HouseholdViewModel>;
|
|
592
|
+
item: Models.HouseholdViewModel;
|
|
593
|
+
};
|
|
594
|
+
"GET /needs": {
|
|
595
|
+
request: RequestOptions & {
|
|
596
|
+
query?: {
|
|
597
|
+
"query"?: string;
|
|
598
|
+
"perPage"?: number;
|
|
599
|
+
"startPage"?: number;
|
|
600
|
+
"sort_by"?: string;
|
|
601
|
+
"order"?: string;
|
|
602
|
+
"total_count"?: boolean;
|
|
603
|
+
"$expand"?: string;
|
|
604
|
+
"$filter"?: string;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
response: ApiResponse<Models.Need>;
|
|
608
|
+
item: Models.Need;
|
|
609
|
+
};
|
|
610
|
+
"GET /needs/{clientId}": {
|
|
611
|
+
request: RequestOptions & {
|
|
612
|
+
path: {
|
|
613
|
+
"clientId": number;
|
|
614
|
+
};
|
|
615
|
+
query?: {
|
|
616
|
+
"query"?: string;
|
|
617
|
+
"perPage"?: number;
|
|
618
|
+
"startPage"?: number;
|
|
619
|
+
"sort_by"?: string;
|
|
620
|
+
"order"?: string;
|
|
621
|
+
"total_count"?: boolean;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
response: ApiResponse<Models.Household>;
|
|
625
|
+
item: Models.Household;
|
|
626
|
+
};
|
|
627
|
+
"GET /needs/complete/{needId}": {
|
|
628
|
+
request: RequestOptions & {
|
|
629
|
+
path: {
|
|
630
|
+
"needId": number;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
response: ApiResponse<Models.Need>;
|
|
634
|
+
item: Models.Need;
|
|
635
|
+
};
|
|
636
|
+
"GET /needs/call/{callRecordId}": {
|
|
637
|
+
request: RequestOptions & {
|
|
638
|
+
path: {
|
|
639
|
+
"callRecordId": number;
|
|
640
|
+
};
|
|
641
|
+
query?: {
|
|
642
|
+
"query"?: string;
|
|
643
|
+
"perPage"?: number;
|
|
644
|
+
"startPage"?: number;
|
|
645
|
+
"sort_by"?: string;
|
|
646
|
+
"order"?: string;
|
|
647
|
+
"total_count"?: boolean;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
response: ApiResponse<Models.NeedViewModel>;
|
|
651
|
+
item: Models.NeedViewModel;
|
|
652
|
+
};
|
|
653
|
+
"GET /providers": {
|
|
654
|
+
request: RequestOptions & {
|
|
655
|
+
query?: {
|
|
656
|
+
"query"?: string;
|
|
657
|
+
"perPage"?: number;
|
|
658
|
+
"startPage"?: number;
|
|
659
|
+
"sort_by"?: string;
|
|
660
|
+
"order"?: string;
|
|
661
|
+
"total_count"?: boolean;
|
|
662
|
+
"$expand"?: string;
|
|
663
|
+
"$filter"?: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
response: ApiResponse<Models.Provider>;
|
|
667
|
+
item: Models.Provider;
|
|
668
|
+
};
|
|
669
|
+
"GET /providers/{providerId}": {
|
|
670
|
+
request: RequestOptions & {
|
|
671
|
+
path: {
|
|
672
|
+
"providerId": number;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
response: ApiResponse<Models.Provider>;
|
|
676
|
+
item: Models.Provider;
|
|
677
|
+
};
|
|
678
|
+
"GET /providers/complete/{providerId}": {
|
|
679
|
+
request: RequestOptions & {
|
|
680
|
+
path: {
|
|
681
|
+
"providerId": number;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
response: ApiResponse<Models.ProviderComplete>;
|
|
685
|
+
item: Models.ProviderComplete;
|
|
686
|
+
};
|
|
687
|
+
"GET /referrals": {
|
|
688
|
+
request: RequestOptions & {
|
|
689
|
+
query?: {
|
|
690
|
+
"query"?: string;
|
|
691
|
+
"perPage"?: number;
|
|
692
|
+
"startPage"?: number;
|
|
693
|
+
"sort_by"?: string;
|
|
694
|
+
"order"?: string;
|
|
695
|
+
"total_count"?: boolean;
|
|
696
|
+
"$expand"?: string;
|
|
697
|
+
"$filter"?: string;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
701
|
+
item: Models.ReferralCompleteViewModel;
|
|
702
|
+
};
|
|
703
|
+
"GET /referrals/client/{clientId}": {
|
|
704
|
+
request: RequestOptions & {
|
|
705
|
+
path: {
|
|
706
|
+
"clientId": number;
|
|
707
|
+
};
|
|
708
|
+
query?: {
|
|
709
|
+
"query"?: string;
|
|
710
|
+
"perPage"?: number;
|
|
711
|
+
"startPage"?: number;
|
|
712
|
+
"sort_by"?: string;
|
|
713
|
+
"order"?: string;
|
|
714
|
+
"total_count"?: boolean;
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
718
|
+
item: Models.ReferralCompleteViewModel;
|
|
719
|
+
};
|
|
720
|
+
"GET /referrals/call/{callRecordId}": {
|
|
721
|
+
request: RequestOptions & {
|
|
722
|
+
path: {
|
|
723
|
+
"callRecordId": number;
|
|
724
|
+
};
|
|
725
|
+
query?: {
|
|
726
|
+
"query"?: string;
|
|
727
|
+
"perPage"?: number;
|
|
728
|
+
"startPage"?: number;
|
|
729
|
+
"sort_by"?: string;
|
|
730
|
+
"order"?: string;
|
|
731
|
+
"total_count"?: boolean;
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
735
|
+
item: Models.ReferralCompleteViewModel;
|
|
736
|
+
};
|
|
737
|
+
"GET /referrals/{referralId}": {
|
|
738
|
+
request: RequestOptions & {
|
|
739
|
+
path: {
|
|
740
|
+
"referralId": number;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
744
|
+
item: Models.ReferralCompleteViewModel;
|
|
745
|
+
};
|
|
746
|
+
"POST /referrals/create": {
|
|
747
|
+
request: RequestOptions & {
|
|
748
|
+
body: Models.AddReferralViewModelV2;
|
|
749
|
+
};
|
|
750
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
751
|
+
item: Models.ReferralCompleteViewModel;
|
|
752
|
+
};
|
|
753
|
+
"PUT /referrals/update/{referral_id}": {
|
|
754
|
+
request: RequestOptions & {
|
|
755
|
+
path: {
|
|
756
|
+
"referral_id": number;
|
|
757
|
+
};
|
|
758
|
+
body: Models.UpdateReferralViewModelV2;
|
|
759
|
+
};
|
|
760
|
+
response: ApiResponse<Models.ReferralCompleteViewModel>;
|
|
761
|
+
item: Models.ReferralCompleteViewModel;
|
|
762
|
+
};
|
|
763
|
+
"GET /releasesofinformation": {
|
|
764
|
+
request: RequestOptions & {
|
|
765
|
+
query?: {
|
|
766
|
+
"query"?: string;
|
|
767
|
+
"perPage"?: number;
|
|
768
|
+
"startPage"?: number;
|
|
769
|
+
"sort_by"?: string;
|
|
770
|
+
"order"?: string;
|
|
771
|
+
"total_count"?: boolean;
|
|
772
|
+
"$expand"?: string;
|
|
773
|
+
"$filter"?: string;
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
response: ApiResponse<Models.ReleaseOfInformationViewModel>;
|
|
777
|
+
item: Models.ReleaseOfInformationViewModel;
|
|
778
|
+
};
|
|
779
|
+
"POST /services/household/create": {
|
|
780
|
+
request: RequestOptions & {
|
|
781
|
+
body: Models.ServiceHouseholdAddViewModelV2;
|
|
782
|
+
};
|
|
783
|
+
response: ApiResponse<Models.ServiceCompleteViewModelV2>;
|
|
784
|
+
item: Models.ServiceCompleteViewModelV2;
|
|
785
|
+
};
|
|
786
|
+
"PUT /services/household/update/{serviceId}": {
|
|
787
|
+
request: RequestOptions & {
|
|
788
|
+
path: {
|
|
789
|
+
"serviceId": number;
|
|
790
|
+
};
|
|
791
|
+
body: Models.ServiceHouseholdUpdateViewModelV2;
|
|
792
|
+
};
|
|
793
|
+
response: ApiResponse<Models.ServiceCompleteViewModelV2>;
|
|
794
|
+
item: Models.ServiceCompleteViewModelV2;
|
|
795
|
+
};
|
|
796
|
+
"PUT /services/needs/household/update/{serviceId}": {
|
|
797
|
+
request: RequestOptions & {
|
|
798
|
+
path: {
|
|
799
|
+
"serviceId": number;
|
|
800
|
+
};
|
|
801
|
+
body: Models.ServiceHouseholdUpdateViewModelV2;
|
|
802
|
+
};
|
|
803
|
+
response: ApiResponse<Models.ServiceCompleteViewModelV2>;
|
|
804
|
+
item: Models.ServiceCompleteViewModelV2;
|
|
805
|
+
};
|
|
806
|
+
"GET /services": {
|
|
807
|
+
request: RequestOptions & {
|
|
808
|
+
query?: {
|
|
809
|
+
"query"?: string;
|
|
810
|
+
"perPage"?: number;
|
|
811
|
+
"startPage"?: number;
|
|
812
|
+
"sort_by"?: string;
|
|
813
|
+
"order"?: string;
|
|
814
|
+
"total_count"?: boolean;
|
|
815
|
+
"$expand"?: string;
|
|
816
|
+
"$filter"?: string;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
response: ApiResponse<Models.ServiceViewModel>;
|
|
820
|
+
item: Models.ServiceViewModel;
|
|
821
|
+
};
|
|
822
|
+
"GET /services/{clientId}": {
|
|
823
|
+
request: RequestOptions & {
|
|
824
|
+
path: {
|
|
825
|
+
"clientId": number;
|
|
826
|
+
};
|
|
827
|
+
query?: {
|
|
828
|
+
"query"?: string;
|
|
829
|
+
"perPage"?: number;
|
|
830
|
+
"startPage"?: number;
|
|
831
|
+
"sort_by"?: string;
|
|
832
|
+
"order"?: string;
|
|
833
|
+
"total_count"?: boolean;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
response: ApiResponse<Models.ServiceViewModel>;
|
|
837
|
+
item: Models.ServiceViewModel;
|
|
838
|
+
};
|
|
839
|
+
"GET /services/call/{callRecordId}": {
|
|
840
|
+
request: RequestOptions & {
|
|
841
|
+
path: {
|
|
842
|
+
"callRecordId": number;
|
|
843
|
+
};
|
|
844
|
+
query?: {
|
|
845
|
+
"query"?: string;
|
|
846
|
+
"perPage"?: number;
|
|
847
|
+
"startPage"?: number;
|
|
848
|
+
"sort_by"?: string;
|
|
849
|
+
"order"?: string;
|
|
850
|
+
"total_count"?: boolean;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
response: ApiResponse<Models.ServiceViewModel>;
|
|
854
|
+
item: Models.ServiceViewModel;
|
|
855
|
+
};
|
|
856
|
+
"GET /services/complete/{serviceId}": {
|
|
857
|
+
request: RequestOptions & {
|
|
858
|
+
path: {
|
|
859
|
+
"serviceId": number;
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
response: ApiResponse<Models.ServiceCompleteViewModel>;
|
|
863
|
+
item: Models.ServiceCompleteViewModel;
|
|
864
|
+
};
|
|
865
|
+
"POST /services/create": {
|
|
866
|
+
request: RequestOptions & {
|
|
867
|
+
body: Models.ServiceAddViewModel;
|
|
868
|
+
};
|
|
869
|
+
response: ApiResponse<Models.ServiceCompleteViewModel>;
|
|
870
|
+
item: Models.ServiceCompleteViewModel;
|
|
871
|
+
};
|
|
872
|
+
"PUT /services/update/{serviceId}": {
|
|
873
|
+
request: RequestOptions & {
|
|
874
|
+
path: {
|
|
875
|
+
"serviceId": number;
|
|
876
|
+
};
|
|
877
|
+
body: Models.ServiceUpdateViewModel;
|
|
878
|
+
};
|
|
879
|
+
response: ApiResponse<Models.ServiceCompleteViewModel>;
|
|
880
|
+
item: Models.ServiceCompleteViewModel;
|
|
881
|
+
};
|
|
882
|
+
"GET /tenants/GetCurrentTenants": {
|
|
883
|
+
request: RequestOptions & {};
|
|
884
|
+
response: unknown;
|
|
885
|
+
item: unknown;
|
|
886
|
+
};
|
|
887
|
+
"POST /tenants/AddTenantRecord": {
|
|
888
|
+
request: RequestOptions & {
|
|
889
|
+
body: Models.CreateTenantViewModel;
|
|
890
|
+
};
|
|
891
|
+
response: unknown;
|
|
892
|
+
item: unknown;
|
|
893
|
+
};
|
|
894
|
+
"PUT /tenants/UpdateTenantRecord": {
|
|
895
|
+
request: RequestOptions & {
|
|
896
|
+
body: Models.CreateTenantViewModel;
|
|
897
|
+
};
|
|
898
|
+
response: unknown;
|
|
899
|
+
item: unknown;
|
|
900
|
+
};
|
|
901
|
+
"PUT /tenants/UpdateTenantRecord/{tenant_code}": {
|
|
902
|
+
request: RequestOptions & {
|
|
903
|
+
path: {
|
|
904
|
+
"tenant_code": number;
|
|
905
|
+
};
|
|
906
|
+
body: Models.CreateTenantViewModel;
|
|
907
|
+
};
|
|
908
|
+
response: unknown;
|
|
909
|
+
item: unknown;
|
|
910
|
+
};
|
|
911
|
+
"DELETE /tenants/DeleteTenantRecord": {
|
|
912
|
+
request: RequestOptions & {
|
|
913
|
+
query?: {
|
|
914
|
+
"TenantCode"?: number;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
response: unknown;
|
|
918
|
+
item: unknown;
|
|
919
|
+
};
|
|
920
|
+
}
|
|
921
|
+
export type Operation = keyof Operations;
|
|
922
|
+
export type PaginatedOperation = "GET /calls" | "GET /casemanager" | "GET /casemanager/{clientId}" | "GET /clientnotes" | "GET /clients" | "GET /clients/simplified" | "GET /enrollments" | "GET /enrollments/{clientId}" | "GET /enrollments/complete/{enrollmentId}" | "GET /goals" | "GET /goals/client/{clientId}" | "GET /goals/{goalId}" | "GET /households" | "GET /households/{householdId}" | "GET /households/client/{clientId}" | "GET /needs" | "GET /needs/{clientId}" | "GET /needs/call/{callRecordId}" | "GET /providers" | "GET /referrals" | "GET /referrals/client/{clientId}" | "GET /referrals/call/{callRecordId}" | "GET /releasesofinformation" | "GET /services" | "GET /services/{clientId}" | "GET /services/call/{callRecordId}";
|
|
923
|
+
export declare const apiVersion = "2.0";
|
|
924
|
+
export declare const specSha256 = "b66863462f3336a9f7032d259cdde978a9c5d91e0daa6a7012bfc739651bf638";
|
|
925
|
+
export declare const operationRoutes: ReadonlyArray<{
|
|
926
|
+
operation: Operation;
|
|
927
|
+
method: string;
|
|
928
|
+
path: string;
|
|
929
|
+
}>;
|
|
930
|
+
/** One tenant and one API version per client. Keep credentials on the server. */
|
|
931
|
+
export declare class WellSkyClient {
|
|
932
|
+
#private;
|
|
933
|
+
readonly subassessments: SubassessmentEditor;
|
|
934
|
+
constructor(options: ClientOptions);
|
|
935
|
+
get tenant(): string;
|
|
936
|
+
get baseUrl(): string;
|
|
937
|
+
health(): import("../runtime.js").ClientHealth;
|
|
938
|
+
readonly questions: {
|
|
939
|
+
list: (context: AssessmentContext) => Promise<import("../metadata.js").QuestionEntry[]>;
|
|
940
|
+
get: (context: AssessmentContext & QuestionReference) => Promise<import("../metadata.js").QuestionDefinition>;
|
|
941
|
+
};
|
|
942
|
+
readonly picklists: {
|
|
943
|
+
list: (context: AssessmentContext) => Promise<import("../metadata.js").PicklistDefinition[]>;
|
|
944
|
+
resolve: (context: AssessmentContext & QuestionReference & PicklistSelector) => Promise<import("../metadata.js").PicklistOption>;
|
|
945
|
+
};
|
|
946
|
+
clearMetadataCache(): void;
|
|
947
|
+
bulk<K extends Operation>(operation: K, requests: ReadonlyArray<Operations[K]["request"]>, options?: BulkOptions<Operations[K]["response"]>): Promise<BulkReport<Operations[K]["response"]>>;
|
|
948
|
+
request<K extends Operation>(operation: K, ...args: {} extends Operations[K]["request"] ? [options?: Operations[K]["request"]] : [options: Operations[K]["request"]]): Promise<Operations[K]["response"]>;
|
|
949
|
+
paginate<K extends PaginatedOperation>(operation: K, options: Operations[K]["request"] & PaginationOptions): AsyncGenerator<Operations[K]["item"]>;
|
|
950
|
+
readonly apiToApiAuthentication: {
|
|
951
|
+
/** Obtain the authentication key for users from their user name and password */
|
|
952
|
+
createAuthKey: (options: Operations["POST /apitoapiauthentication/CreateAuthKey"]["request"]) => Promise<Operations["POST /apitoapiauthentication/CreateAuthKey"]["response"]>;
|
|
953
|
+
};
|
|
954
|
+
readonly assessments: {
|
|
955
|
+
/** Obtain a list of assessment questions and answers by assessment code and client identifier */
|
|
956
|
+
get: (options: Operations["GET /assessments/{clientId}/{assessmentCode}"]["request"]) => Promise<Operations["GET /assessments/{clientId}/{assessmentCode}"]["response"]>;
|
|
957
|
+
/** Add assessment answers by assessment code and client identifier */
|
|
958
|
+
create: (options: Operations["POST /assessments/create/{clientId}/{assessmentCode}"]["request"]) => Promise<Operations["POST /assessments/create/{clientId}/{assessmentCode}"]["response"]>;
|
|
959
|
+
getDefinition: (context: AssessmentContext) => Promise<import("../metadata.js").AssessmentDefinition>;
|
|
960
|
+
};
|
|
961
|
+
readonly assessmentsMobile: {
|
|
962
|
+
/** Obtain a list of assessment questions and answers by assessment code and client identifier from Community Services Mobile */
|
|
963
|
+
getAnswers: (options: Operations["GET /assessmentsmobile/GetAssessmentAnswers/{clientId}/{assessmentCode}"]["request"]) => Promise<Operations["GET /assessmentsmobile/GetAssessmentAnswers/{clientId}/{assessmentCode}"]["response"]>;
|
|
964
|
+
/** Add Community Services Mobile assessment answers by assessment code and client identifier */
|
|
965
|
+
addAnswer: (options: Operations["POST /assessmentsmobile/AddAssessmentAnswer/{clientId}/{assessmentCode}"]["request"]) => Promise<Operations["POST /assessmentsmobile/AddAssessmentAnswer/{clientId}/{assessmentCode}"]["response"]>;
|
|
966
|
+
};
|
|
967
|
+
readonly authentication: {
|
|
968
|
+
/** API for creating authentication keys for users from their user name and password */
|
|
969
|
+
setAuthKey: (options: Operations["POST /authentication/SetAuthKey"]["request"]) => Promise<Operations["POST /authentication/SetAuthKey"]["response"]>;
|
|
970
|
+
/** Obtain the authentication key for users from their user name and password */
|
|
971
|
+
getCurrentAuthKey: (options: Operations["POST /authentication/GetCurrentAuthKey"]["request"]) => Promise<Operations["POST /authentication/GetCurrentAuthKey"]["response"]>;
|
|
972
|
+
/** Obtain the authentication keys for all users within an implementation */
|
|
973
|
+
getCurrentAuthKeyList: (options?: Operations["GET /authentication/GetCurrentAuthKeyList"]["request"]) => Promise<Operations["GET /authentication/GetCurrentAuthKeyList"]["response"]>;
|
|
974
|
+
};
|
|
975
|
+
readonly calls: {
|
|
976
|
+
/** Obtain a list of releases of information for one or more call identifier(s) */
|
|
977
|
+
list: (options?: Operations["GET /calls"]["request"]) => Promise<Operations["GET /calls"]["response"]>;
|
|
978
|
+
};
|
|
979
|
+
readonly caseManagers: {
|
|
980
|
+
/** Obtain a list of Case Managers for one or more client identifier(s) */
|
|
981
|
+
list: (options?: Operations["GET /casemanager"]["request"]) => Promise<Operations["GET /casemanager"]["response"]>;
|
|
982
|
+
/** Obtain a list of Case Managers by client identifier */
|
|
983
|
+
listForClient: (options: Operations["GET /casemanager/{clientId}"]["request"]) => Promise<Operations["GET /casemanager/{clientId}"]["response"]>;
|
|
984
|
+
};
|
|
985
|
+
readonly clientAuthentication: {
|
|
986
|
+
/** Used internally by WellSky to register new Community Services Mobile users */
|
|
987
|
+
registerClient: (options: Operations["POST /clientAuthentication/RegisterClient"]["request"]) => Promise<Operations["POST /clientAuthentication/RegisterClient"]["response"]>;
|
|
988
|
+
/** Used internally by WellSky to obtain a list of Community Services Mobile users */
|
|
989
|
+
getMobileInformation: (options?: Operations["GET /clientAuthentication/MobileAuthenticationInformation"]["request"]) => Promise<Operations["GET /clientAuthentication/MobileAuthenticationInformation"]["response"]>;
|
|
990
|
+
/** Used internally by WellSky to update Community Services Mobile user accounts */
|
|
991
|
+
updateClientDetails: (options: Operations["PUT /clientAuthentication/UpdateClientDetails"]["request"]) => Promise<Operations["PUT /clientAuthentication/UpdateClientDetails"]["response"]>;
|
|
992
|
+
/** Used internally by WellSky to create authentication keys for Community Services Mobile users from their user name and password */
|
|
993
|
+
getMobileAuthKey: (options: Operations["POST /clientAuthentication/GetAuthKeyFormobileapp"]["request"]) => Promise<Operations["POST /clientAuthentication/GetAuthKeyFormobileapp"]["response"]>;
|
|
994
|
+
/** Used internally by WellSky to reset or change passwords */
|
|
995
|
+
resetPassword: (options: Operations["POST /clientAuthentication/ResetPassword"]["request"]) => Promise<Operations["POST /clientAuthentication/ResetPassword"]["response"]>;
|
|
996
|
+
/** Used internally by WellSky to reset or change passwords */
|
|
997
|
+
changePassword: (options: Operations["PUT /clientAuthentication/ChangePassword"]["request"]) => Promise<Operations["PUT /clientAuthentication/ChangePassword"]["response"]>;
|
|
998
|
+
/** Used internally by WellSky to obtain Community Services Mobile for dropdown menu options */
|
|
999
|
+
getMobileMasterData: (options?: Operations["GET /clientAuthentication/MobileMasterDataInformation"]["request"]) => Promise<Operations["GET /clientAuthentication/MobileMasterDataInformation"]["response"]>;
|
|
1000
|
+
/** Used internally by WellSky to save Community Services Mobile users */
|
|
1001
|
+
saveUserDetails: (options: Operations["PUT /clientAuthentication/SaveUserDetails"]["request"]) => Promise<Operations["PUT /clientAuthentication/SaveUserDetails"]["response"]>;
|
|
1002
|
+
/** Used internally by WellSky to create new authentication tokens using the previous token */
|
|
1003
|
+
generateTokenUsingOldToken: (options: Operations["POST /clientAuthentication/GenerateTokenUsingOldToken"]["request"]) => Promise<Operations["POST /clientAuthentication/GenerateTokenUsingOldToken"]["response"]>;
|
|
1004
|
+
};
|
|
1005
|
+
readonly clientNotes: {
|
|
1006
|
+
/** Obtain a list of client notes for one or more client identifier(s) */
|
|
1007
|
+
list: (options?: Operations["GET /clientnotes"]["request"]) => Promise<Operations["GET /clientnotes"]["response"]>;
|
|
1008
|
+
/** Add new client note records */
|
|
1009
|
+
create: (options: Operations["POST /clientnotes/create"]["request"]) => Promise<Operations["POST /clientnotes/create"]["response"]>;
|
|
1010
|
+
/** Update client note records */
|
|
1011
|
+
update: (options: Operations["PUT /clientnotes/update"]["request"]) => Promise<Operations["PUT /clientnotes/update"]["response"]>;
|
|
1012
|
+
};
|
|
1013
|
+
readonly clients: {
|
|
1014
|
+
/** Obtain a list of clients for one or more client identifier(s) */
|
|
1015
|
+
list: (options?: Operations["GET /clients"]["request"]) => Promise<Operations["GET /clients"]["response"]>;
|
|
1016
|
+
/** Obtain a list of clients by client identifier */
|
|
1017
|
+
get: (options: Operations["GET /clients/{clientId}"]["request"]) => Promise<Operations["GET /clients/{clientId}"]["response"]>;
|
|
1018
|
+
/** Add new client records */
|
|
1019
|
+
create: (options: Operations["POST /clients/create"]["request"]) => Promise<Operations["POST /clients/create"]["response"]>;
|
|
1020
|
+
/** Update client records */
|
|
1021
|
+
update: (options: Operations["PUT /clients/update/{client_id}"]["request"]) => Promise<Operations["PUT /clients/update/{client_id}"]["response"]>;
|
|
1022
|
+
/** Obtain a list of clients with simplified data */
|
|
1023
|
+
listSimplified: (options?: Operations["GET /clients/simplified"]["request"]) => Promise<Operations["GET /clients/simplified"]["response"]>;
|
|
1024
|
+
/** Obtain a list of clients by client identifier with simplified data */
|
|
1025
|
+
getSimplified: (options: Operations["GET /clients/simplified/{clientId}"]["request"]) => Promise<Operations["GET /clients/simplified/{clientId}"]["response"]>;
|
|
1026
|
+
};
|
|
1027
|
+
readonly enrollments: {
|
|
1028
|
+
/** Add new enrollment records */
|
|
1029
|
+
createEntryAssessment: (options: Operations["POST /enrollments/entry/assessment/create"]["request"]) => Promise<Operations["POST /enrollments/entry/assessment/create"]["response"]>;
|
|
1030
|
+
/** Update existing enrollment records */
|
|
1031
|
+
updateEntryAssessment: (options: Operations["PUT /enrollments/entry/assessment/update"]["request"]) => Promise<Operations["PUT /enrollments/entry/assessment/update"]["response"]>;
|
|
1032
|
+
/** Obtain a list of enrollments for one or more client identifier(s) */
|
|
1033
|
+
list: (options?: Operations["GET /enrollments"]["request"]) => Promise<Operations["GET /enrollments"]["response"]>;
|
|
1034
|
+
/** Obtain a list of enrollments by client identifier */
|
|
1035
|
+
listForClient: (options: Operations["GET /enrollments/{clientId}"]["request"]) => Promise<Operations["GET /enrollments/{clientId}"]["response"]>;
|
|
1036
|
+
/** Obtain complete enrollment information by enrollment identifier */
|
|
1037
|
+
getComplete: (options: Operations["GET /enrollments/complete/{enrollmentId}"]["request"]) => Promise<Operations["GET /enrollments/complete/{enrollmentId}"]["response"]>;
|
|
1038
|
+
/** Obtain a list of assessment questions and associated responses by assessment code and client identifier for a specific enrollment */
|
|
1039
|
+
getAssessment: (options: Operations["GET /enrollments/assessment/{clientId}/{assessmentCode}"]["request"]) => Promise<Operations["GET /enrollments/assessment/{clientId}/{assessmentCode}"]["response"]>;
|
|
1040
|
+
};
|
|
1041
|
+
readonly fileAttachments: {
|
|
1042
|
+
/** Obtain a list of file attachment for one or more client identifier(s) */
|
|
1043
|
+
getForClient: (options: Operations["POST /fileattachments/clients/get"]["request"]) => Promise<Operations["POST /fileattachments/clients/get"]["response"]>;
|
|
1044
|
+
/** Add new file attachments to the following entities: ROI, Entry/Exit, Goal, Action Step, Client Profile, Case Plans, Assessments and Sub-assessments */
|
|
1045
|
+
createForClient: (options: Operations["POST /fileattachments/clients/create"]["request"]) => Promise<Operations["POST /fileattachments/clients/create"]["response"]>;
|
|
1046
|
+
};
|
|
1047
|
+
readonly goals: {
|
|
1048
|
+
/** Add new goal action step and follow-up records by goal identifier */
|
|
1049
|
+
createAction: (options: Operations["POST /goals/actions/create/{goalId}"]["request"]) => Promise<Operations["POST /goals/actions/create/{goalId}"]["response"]>;
|
|
1050
|
+
/** Update goal action step and follow-up records by goal identifier */
|
|
1051
|
+
updateAction: (options: Operations["PUT /goals/actions/update/{goalActionStepId}"]["request"]) => Promise<Operations["PUT /goals/actions/update/{goalActionStepId}"]["response"]>;
|
|
1052
|
+
/** Obtain a list of goals for one or more client identifier(s) */
|
|
1053
|
+
list: (options?: Operations["GET /goals"]["request"]) => Promise<Operations["GET /goals"]["response"]>;
|
|
1054
|
+
/** Obtain a list of goals by client identifier */
|
|
1055
|
+
listForClient: (options: Operations["GET /goals/client/{clientId}"]["request"]) => Promise<Operations["GET /goals/client/{clientId}"]["response"]>;
|
|
1056
|
+
/** Obtain complete goal, action step and follow-up information by goal identifier */
|
|
1057
|
+
get: (options: Operations["GET /goals/{goalId}"]["request"]) => Promise<Operations["GET /goals/{goalId}"]["response"]>;
|
|
1058
|
+
/** Add new goal records */
|
|
1059
|
+
create: (options: Operations["POST /goals/create"]["request"]) => Promise<Operations["POST /goals/create"]["response"]>;
|
|
1060
|
+
/** Update goal records by goal identifier */
|
|
1061
|
+
update: (options: Operations["PUT /goals/update/{goalId}"]["request"]) => Promise<Operations["PUT /goals/update/{goalId}"]["response"]>;
|
|
1062
|
+
};
|
|
1063
|
+
readonly healthCheck: {
|
|
1064
|
+
/** Used internally by WellSky to obtain a Health Checkup */
|
|
1065
|
+
get: (options?: Operations["GET /healthcheckup"]["request"]) => Promise<Operations["GET /healthcheckup"]["response"]>;
|
|
1066
|
+
};
|
|
1067
|
+
readonly households: {
|
|
1068
|
+
/** Obtain a list of households for one or more client identifier(s) */
|
|
1069
|
+
list: (options?: Operations["GET /households"]["request"]) => Promise<Operations["GET /households"]["response"]>;
|
|
1070
|
+
/** Obtain a list of households by household identifier */
|
|
1071
|
+
get: (options: Operations["GET /households/{householdId}"]["request"]) => Promise<Operations["GET /households/{householdId}"]["response"]>;
|
|
1072
|
+
/** Obtain a list of households by client identifier */
|
|
1073
|
+
listForClient: (options: Operations["GET /households/client/{clientId}"]["request"]) => Promise<Operations["GET /households/client/{clientId}"]["response"]>;
|
|
1074
|
+
/** Add new household records */
|
|
1075
|
+
create: (options: Operations["POST /households/create"]["request"]) => Promise<Operations["POST /households/create"]["response"]>;
|
|
1076
|
+
/** Update household records by household identifier */
|
|
1077
|
+
update: (options: Operations["PUT /households/update/{householdId}"]["request"]) => Promise<Operations["PUT /households/update/{householdId}"]["response"]>;
|
|
1078
|
+
};
|
|
1079
|
+
readonly needs: {
|
|
1080
|
+
/** Obtain a list of needs for one or more client identifier(s) */
|
|
1081
|
+
list: (options?: Operations["GET /needs"]["request"]) => Promise<Operations["GET /needs"]["response"]>;
|
|
1082
|
+
/** Obtain a list of needs by client identifier */
|
|
1083
|
+
listForClient: (options: Operations["GET /needs/{clientId}"]["request"]) => Promise<Operations["GET /needs/{clientId}"]["response"]>;
|
|
1084
|
+
/** Obtain a complete list of needs by need identifier */
|
|
1085
|
+
getComplete: (options: Operations["GET /needs/complete/{needId}"]["request"]) => Promise<Operations["GET /needs/complete/{needId}"]["response"]>;
|
|
1086
|
+
/** Obtain a list of needs by call identifier */
|
|
1087
|
+
listForCall: (options: Operations["GET /needs/call/{callRecordId}"]["request"]) => Promise<Operations["GET /needs/call/{callRecordId}"]["response"]>;
|
|
1088
|
+
};
|
|
1089
|
+
readonly providers: {
|
|
1090
|
+
/** Obtain a list of providers for one or more client identifier(s) */
|
|
1091
|
+
list: (options?: Operations["GET /providers"]["request"]) => Promise<Operations["GET /providers"]["response"]>;
|
|
1092
|
+
/** Obtain a list of providers by provider identifier */
|
|
1093
|
+
get: (options: Operations["GET /providers/{providerId}"]["request"]) => Promise<Operations["GET /providers/{providerId}"]["response"]>;
|
|
1094
|
+
/** Obtain complete provider information by provider identifier */
|
|
1095
|
+
getComplete: (options: Operations["GET /providers/complete/{providerId}"]["request"]) => Promise<Operations["GET /providers/complete/{providerId}"]["response"]>;
|
|
1096
|
+
};
|
|
1097
|
+
readonly referrals: {
|
|
1098
|
+
/** Obtain a list of referrals for one or more client identifier(s) */
|
|
1099
|
+
list: (options?: Operations["GET /referrals"]["request"]) => Promise<Operations["GET /referrals"]["response"]>;
|
|
1100
|
+
/** Obtain a list of referrals by client identifier */
|
|
1101
|
+
listForClient: (options: Operations["GET /referrals/client/{clientId}"]["request"]) => Promise<Operations["GET /referrals/client/{clientId}"]["response"]>;
|
|
1102
|
+
/** Obtain a list of referrals by call identifier */
|
|
1103
|
+
listForCall: (options: Operations["GET /referrals/call/{callRecordId}"]["request"]) => Promise<Operations["GET /referrals/call/{callRecordId}"]["response"]>;
|
|
1104
|
+
/** Obtain complete referral information by referral identifier */
|
|
1105
|
+
get: (options: Operations["GET /referrals/{referralId}"]["request"]) => Promise<Operations["GET /referrals/{referralId}"]["response"]>;
|
|
1106
|
+
/** Add new referral records */
|
|
1107
|
+
create: (options: Operations["POST /referrals/create"]["request"]) => Promise<Operations["POST /referrals/create"]["response"]>;
|
|
1108
|
+
/** Update referral records by referral identifier */
|
|
1109
|
+
update: (options: Operations["PUT /referrals/update/{referral_id}"]["request"]) => Promise<Operations["PUT /referrals/update/{referral_id}"]["response"]>;
|
|
1110
|
+
};
|
|
1111
|
+
readonly releasesOfInformation: {
|
|
1112
|
+
/** Obtain a list of releases of information for one or more client identifier(s) */
|
|
1113
|
+
list: (options?: Operations["GET /releasesofinformation"]["request"]) => Promise<Operations["GET /releasesofinformation"]["response"]>;
|
|
1114
|
+
};
|
|
1115
|
+
readonly services: {
|
|
1116
|
+
/** Add new Need_Service records by household identifier */
|
|
1117
|
+
createHousehold: (options: Operations["POST /services/household/create"]["request"]) => Promise<Operations["POST /services/household/create"]["response"]>;
|
|
1118
|
+
/** Update Need_Service records, for the service only, by household identifier */
|
|
1119
|
+
updateHousehold: (options: Operations["PUT /services/household/update/{serviceId}"]["request"]) => Promise<Operations["PUT /services/household/update/{serviceId}"]["response"]>;
|
|
1120
|
+
/** Update needs and associated service records together, by household identifier */
|
|
1121
|
+
updateHouseholdNeeds: (options: Operations["PUT /services/needs/household/update/{serviceId}"]["request"]) => Promise<Operations["PUT /services/needs/household/update/{serviceId}"]["response"]>;
|
|
1122
|
+
/** Obtain a list of services for one or more client identifier(s) */
|
|
1123
|
+
list: (options?: Operations["GET /services"]["request"]) => Promise<Operations["GET /services"]["response"]>;
|
|
1124
|
+
/** Obtain a list of services by client identifier */
|
|
1125
|
+
listForClient: (options: Operations["GET /services/{clientId}"]["request"]) => Promise<Operations["GET /services/{clientId}"]["response"]>;
|
|
1126
|
+
/** Obtain a list of services by call identifier */
|
|
1127
|
+
listForCall: (options: Operations["GET /services/call/{callRecordId}"]["request"]) => Promise<Operations["GET /services/call/{callRecordId}"]["response"]>;
|
|
1128
|
+
/** Obtain a list of services by service identifier */
|
|
1129
|
+
getComplete: (options: Operations["GET /services/complete/{serviceId}"]["request"]) => Promise<Operations["GET /services/complete/{serviceId}"]["response"]>;
|
|
1130
|
+
/** Add new Need_Service records, for the service only, by client identifier */
|
|
1131
|
+
create: (options: Operations["POST /services/create"]["request"]) => Promise<Operations["POST /services/create"]["response"]>;
|
|
1132
|
+
/** Update Need_Service records, for the service only, by client identifier */
|
|
1133
|
+
update: (options: Operations["PUT /services/update/{serviceId}"]["request"]) => Promise<Operations["PUT /services/update/{serviceId}"]["response"]>;
|
|
1134
|
+
};
|
|
1135
|
+
readonly tenants: {
|
|
1136
|
+
/** Obtain a list of tenants */
|
|
1137
|
+
list: (options?: Operations["GET /tenants/GetCurrentTenants"]["request"]) => Promise<Operations["GET /tenants/GetCurrentTenants"]["response"]>;
|
|
1138
|
+
/** Add tenant records */
|
|
1139
|
+
create: (options: Operations["POST /tenants/AddTenantRecord"]["request"]) => Promise<Operations["POST /tenants/AddTenantRecord"]["response"]>;
|
|
1140
|
+
/** Update tenant records */
|
|
1141
|
+
update: (options: Operations["PUT /tenants/UpdateTenantRecord"]["request"]) => Promise<Operations["PUT /tenants/UpdateTenantRecord"]["response"]>;
|
|
1142
|
+
/** Update tenant records by tenant code */
|
|
1143
|
+
updateByCode: (options: Operations["PUT /tenants/UpdateTenantRecord/{tenant_code}"]["request"]) => Promise<Operations["PUT /tenants/UpdateTenantRecord/{tenant_code}"]["response"]>;
|
|
1144
|
+
/** Delete tenant records */
|
|
1145
|
+
delete: (options?: Operations["DELETE /tenants/DeleteTenantRecord"]["request"]) => Promise<Operations["DELETE /tenants/DeleteTenantRecord"]["response"]>;
|
|
1146
|
+
};
|
|
1147
|
+
}
|
|
1148
|
+
export declare function createWellSkyClient(options: ClientOptions): WellSkyClient;
|
|
1149
|
+
//# sourceMappingURL=v2.d.ts.map
|