@encatch/api-sdk 0.0.11-beta.4 → 0.0.12-beta.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.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -146,7 +146,7 @@ var _EncatchApiSDK = class _EncatchApiSDK {
|
|
|
146
146
|
}
|
|
147
147
|
async submitFeedback(params) {
|
|
148
148
|
this._log(
|
|
149
|
-
`Submitting feedback with
|
|
149
|
+
`Submitting feedback with isPartialSubmit: '${params.formConfig.isPartialSubmit}'`,
|
|
150
150
|
params
|
|
151
151
|
);
|
|
152
152
|
try {
|
|
@@ -170,7 +170,7 @@ var _EncatchApiSDK = class _EncatchApiSDK {
|
|
|
170
170
|
}
|
|
171
171
|
async viewFeedback(params) {
|
|
172
172
|
this._log(
|
|
173
|
-
`Viewing feedback with
|
|
173
|
+
`Viewing feedback with isPartialSubmit: '${params.formConfig.isPartialSubmit}'`,
|
|
174
174
|
params
|
|
175
175
|
);
|
|
176
176
|
try {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchConfigurationListRequest, FetchConfigurationListResponse, FetchFeedbackDetailsRequest, FetchFeedbackDetailsResponse, SubmitFeedback,
|
|
1
|
+
import { FetchConfigurationListRequest, FetchConfigurationListResponse, FetchFeedbackDetailsRequest, FetchFeedbackDetailsResponse, SubmitFeedback, PartialFeedback, RefineTextParams, RefineTextResponse } from '@encatch/schema';
|
|
2
2
|
export * from '@encatch/schema';
|
|
3
3
|
|
|
4
4
|
interface SDKConfig {
|
|
@@ -25,7 +25,7 @@ declare class EncatchApiSDK {
|
|
|
25
25
|
success: boolean;
|
|
26
26
|
error?: string;
|
|
27
27
|
}>;
|
|
28
|
-
viewFeedback(params:
|
|
28
|
+
viewFeedback(params: PartialFeedback): Promise<{
|
|
29
29
|
success: boolean;
|
|
30
30
|
error?: string;
|
|
31
31
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchConfigurationListRequest, FetchConfigurationListResponse, FetchFeedbackDetailsRequest, FetchFeedbackDetailsResponse, SubmitFeedback,
|
|
1
|
+
import { FetchConfigurationListRequest, FetchConfigurationListResponse, FetchFeedbackDetailsRequest, FetchFeedbackDetailsResponse, SubmitFeedback, PartialFeedback, RefineTextParams, RefineTextResponse } from '@encatch/schema';
|
|
2
2
|
export * from '@encatch/schema';
|
|
3
3
|
|
|
4
4
|
interface SDKConfig {
|
|
@@ -25,7 +25,7 @@ declare class EncatchApiSDK {
|
|
|
25
25
|
success: boolean;
|
|
26
26
|
error?: string;
|
|
27
27
|
}>;
|
|
28
|
-
viewFeedback(params:
|
|
28
|
+
viewFeedback(params: PartialFeedback): Promise<{
|
|
29
29
|
success: boolean;
|
|
30
30
|
error?: string;
|
|
31
31
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ var _EncatchApiSDK = class _EncatchApiSDK {
|
|
|
112
112
|
}
|
|
113
113
|
async submitFeedback(params) {
|
|
114
114
|
this._log(
|
|
115
|
-
`Submitting feedback with
|
|
115
|
+
`Submitting feedback with isPartialSubmit: '${params.formConfig.isPartialSubmit}'`,
|
|
116
116
|
params
|
|
117
117
|
);
|
|
118
118
|
try {
|
|
@@ -136,7 +136,7 @@ var _EncatchApiSDK = class _EncatchApiSDK {
|
|
|
136
136
|
}
|
|
137
137
|
async viewFeedback(params) {
|
|
138
138
|
this._log(
|
|
139
|
-
`Viewing feedback with
|
|
139
|
+
`Viewing feedback with isPartialSubmit: '${params.formConfig.isPartialSubmit}'`,
|
|
140
140
|
params
|
|
141
141
|
);
|
|
142
142
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@encatch/api-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"pako": "^2.1.0",
|
|
21
21
|
"ts-case-convert": "^2.1.0",
|
|
22
22
|
"zod": "^4.1.8",
|
|
23
|
-
"@encatch/schema": "0.
|
|
23
|
+
"@encatch/schema": "1.0.0-beta.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"dev": "vite",
|