@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 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?: never
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?: never;
15
+ timeLimit: never;
17
16
  };
18
17
  export interface ChatEaseClientOptions {
19
18
  apiToken: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bagooon/chatease-node-client",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Node.js-only client for ChatEase board API",
5
5
  "repository": {
6
6
  "type": "git",