@bagooon/chatease-node-client 0.1.3 → 0.1.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.
- package/README.md +5 -11
- package/dist/types.d.ts +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,23 +154,17 @@ createBoard(params: CreateBoardBaseParams): Promise<CreateBoardResponse>
|
|
|
154
154
|
### `createBoardWithStatus(params)`
|
|
155
155
|
|
|
156
156
|
```ts
|
|
157
|
-
type ChatEaseStatusKey =
|
|
158
|
-
| 'scheduled_for_proof'
|
|
159
|
-
| 'scheduled_for_response'
|
|
160
|
-
| 'scheduled_for_completion'
|
|
161
|
-
| 'waiting_for_reply'
|
|
162
|
-
|
|
163
157
|
type InitialStatus =
|
|
164
158
|
| {
|
|
165
159
|
statusKey:
|
|
166
|
-
| 'scheduled_for_proof'
|
|
167
|
-
| 'scheduled_for_response'
|
|
168
|
-
| 'scheduled_for_completion'
|
|
160
|
+
| 'scheduled_for_proof' // 校正予定
|
|
161
|
+
| 'scheduled_for_response' // 返答予定
|
|
162
|
+
| 'scheduled_for_completion' // 完了予定
|
|
169
163
|
timeLimit: string // YYYY-MM-DD
|
|
170
164
|
}
|
|
171
165
|
| {
|
|
172
|
-
statusKey: 'waiting_for_reply'
|
|
173
|
-
timeLimit
|
|
166
|
+
statusKey: 'waiting_for_reply' // 返答待ち
|
|
167
|
+
timeLimit: never // 日付は指定できません
|
|
174
168
|
}
|
|
175
169
|
|
|
176
170
|
interface CreateBoardWithStatusParams extends CreateBoardBaseParams {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export type ChatEaseStatusKey = 'scheduled_for_proof' | 'scheduled_for_response' | 'scheduled_for_completion' | 'waiting_for_reply';
|
|
2
1
|
type ScheduledStatusKey = 'scheduled_for_proof' | 'scheduled_for_response' | 'scheduled_for_completion';
|
|
3
2
|
type NonScheduledStatusKey = 'waiting_for_reply';
|
|
4
3
|
export type InitialStatus = {
|
|
@@ -13,7 +12,7 @@ export type InitialStatus = {
|
|
|
13
12
|
/**
|
|
14
13
|
* scheduled 以外は timeLimit を指定させない
|
|
15
14
|
*/
|
|
16
|
-
timeLimit
|
|
15
|
+
timeLimit: never;
|
|
17
16
|
};
|
|
18
17
|
export interface ChatEaseClientOptions {
|
|
19
18
|
apiToken: string;
|