@37signals/basecamp 0.22.0 → 0.23.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/client.d.ts CHANGED
@@ -227,7 +227,7 @@ export interface BasecampClientOptions {
227
227
  /** Maximum pages to follow during auto-pagination (defaults to 10,000) */
228
228
  maxPages?: number;
229
229
  }
230
- export declare const VERSION = "0.22.0";
230
+ export declare const VERSION = "0.23.0";
231
231
  export declare const API_VERSION = "2026-09-15";
232
232
  /**
233
233
  * Creates a type-safe Basecamp API client with built-in middleware for:
package/dist/client.js CHANGED
@@ -82,7 +82,7 @@ import { AuthorizationService } from "./services/authorization.js";
82
82
  * a TimeoutOverflowWarning rather than honored.
83
83
  */
84
84
  const MAX_TIMEOUT_MS = 2_147_483_647;
85
- export const VERSION = "0.22.0";
85
+ export const VERSION = "0.23.0";
86
86
  export const API_VERSION = "2026-09-15";
87
87
  const DEFAULT_USER_AGENT = `basecamp-sdk-ts/${VERSION} (api:${API_VERSION})`;
88
88
  /**
@@ -2,7 +2,7 @@
2
2
  const metadata = {
3
3
  "$schema": "https://basecamp.com/schemas/sdk-metadata.json",
4
4
  "version": "1.0.0",
5
- "generated": "2026-10-03T00:10:52.572Z",
5
+ "generated": "2026-10-05T19:11:14.752Z",
6
6
  "operations": {
7
7
  "GetAccount": {
8
8
  "retry": {
@@ -36,7 +36,7 @@ export interface MetadataOutput {
36
36
  const metadata: MetadataOutput = {
37
37
  "$schema": "https://basecamp.com/schemas/sdk-metadata.json",
38
38
  "version": "1.0.0",
39
- "generated": "2026-10-03T00:10:52.572Z",
39
+ "generated": "2026-10-05T19:11:14.752Z",
40
40
  "operations": {
41
41
  "GetAccount": {
42
42
  "retry": {
@@ -28907,7 +28907,7 @@
28907
28907
  "type": "string"
28908
28908
  },
28909
28909
  "schedule": {
28910
- "$ref": "#/components/schemas/QuestionSchedule"
28910
+ "$ref": "#/components/schemas/QuestionScheduleInput"
28911
28911
  },
28912
28912
  "visible_to_clients": {
28913
28913
  "type": "boolean"
@@ -33333,7 +33333,8 @@
33333
33333
  "items": {
33334
33334
  "type": "integer",
33335
33335
  "format": "int32"
33336
- }
33336
+ },
33337
+ "x-go-type-skip-optional-pointer": true
33337
33338
  },
33338
33339
  "hour": {
33339
33340
  "type": "integer",
@@ -33363,6 +33364,32 @@
33363
33364
  }
33364
33365
  }
33365
33366
  },
33367
+ "QuestionScheduleInput": {
33368
+ "type": "object",
33369
+ "description": "The schedule a question is created or updated with. BC3 reads the time of\nday as a string (\"5:00pm\"); hour and minute appear only in responses.",
33370
+ "properties": {
33371
+ "frequency": {
33372
+ "type": "string"
33373
+ },
33374
+ "days": {
33375
+ "type": "array",
33376
+ "items": {
33377
+ "type": "integer",
33378
+ "format": "int32"
33379
+ }
33380
+ },
33381
+ "time_of_day": {
33382
+ "type": "string"
33383
+ },
33384
+ "week_instance": {
33385
+ "type": "integer",
33386
+ "format": "int32"
33387
+ },
33388
+ "start_date": {
33389
+ "type": "string"
33390
+ }
33391
+ }
33392
+ },
33366
33393
  "Questionnaire": {
33367
33394
  "type": "object",
33368
33395
  "properties": {
@@ -36698,7 +36725,7 @@
36698
36725
  "type": "string"
36699
36726
  },
36700
36727
  "schedule": {
36701
- "$ref": "#/components/schemas/QuestionSchedule"
36728
+ "$ref": "#/components/schemas/QuestionScheduleInput"
36702
36729
  },
36703
36730
  "paused": {
36704
36731
  "type": "boolean"
@@ -4670,7 +4670,7 @@ export interface components {
4670
4670
  CreateProjectResponseContent: components["schemas"]["Project"];
4671
4671
  CreateQuestionRequestContent: {
4672
4672
  title: string;
4673
- schedule: components["schemas"]["QuestionSchedule"];
4673
+ schedule: components["schemas"]["QuestionScheduleInput"];
4674
4674
  visible_to_clients?: boolean;
4675
4675
  };
4676
4676
  CreateQuestionResponseContent: components["schemas"]["Question"];
@@ -6327,6 +6327,18 @@ export interface components {
6327
6327
  start_date?: string;
6328
6328
  end_date?: string;
6329
6329
  };
6330
+ /**
6331
+ * @description The schedule a question is created or updated with. BC3 reads the time of
6332
+ * day as a string ("5:00pm"); hour and minute appear only in responses.
6333
+ */
6334
+ QuestionScheduleInput: {
6335
+ frequency?: string;
6336
+ days?: number[];
6337
+ time_of_day?: string;
6338
+ /** Format: int32 */
6339
+ week_instance?: number;
6340
+ start_date?: string;
6341
+ };
6330
6342
  Questionnaire: {
6331
6343
  /** Format: int64 */
6332
6344
  id: number;
@@ -8010,7 +8022,7 @@ export interface components {
8010
8022
  };
8011
8023
  UpdateQuestionRequestContent: {
8012
8024
  title?: string;
8013
- schedule?: components["schemas"]["QuestionSchedule"];
8025
+ schedule?: components["schemas"]["QuestionScheduleInput"];
8014
8026
  paused?: boolean;
8015
8027
  };
8016
8028
  UpdateQuestionResponseContent: components["schemas"]["Question"];
@@ -45,7 +45,7 @@ export interface CreateQuestionCheckinRequest {
45
45
  /** Title */
46
46
  title: string;
47
47
  /** Schedule */
48
- schedule: components["schemas"]["QuestionSchedule"];
48
+ schedule: components["schemas"]["QuestionScheduleInput"];
49
49
  /** Visible to clients */
50
50
  visibleToClients?: boolean;
51
51
  }
@@ -56,7 +56,7 @@ export interface UpdateQuestionCheckinRequest {
56
56
  /** Title */
57
57
  title?: string;
58
58
  /** Schedule */
59
- schedule?: components["schemas"]["QuestionSchedule"];
59
+ schedule?: components["schemas"]["QuestionScheduleInput"];
60
60
  /** Paused */
61
61
  paused?: boolean;
62
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"checkins.d.ts","sourceRoot":"","sources":["../../../src/generated/services/checkins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,2CAA2C;AAC3C,MAAM,MAAM,MA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AAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,mDAAmD,CAAC,CAAC;IAuBxL;;;;;;;;;;OAUG;IACG,KAAK,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,8BAA8B,CAAC,CAAC;IAmB/F;;;;;;;;;;OAUG;IACG,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,+BAA+B,CAAC,CAAC;CAkBlG"}
@@ -56,7 +56,7 @@ export interface CreateQuestionCheckinRequest {
56
56
  /** Title */
57
57
  title: string;
58
58
  /** Schedule */
59
- schedule: components["schemas"]["QuestionSchedule"];
59
+ schedule: components["schemas"]["QuestionScheduleInput"];
60
60
  /** Visible to clients */
61
61
  visibleToClients?: boolean;
62
62
  }
@@ -68,7 +68,7 @@ export interface UpdateQuestionCheckinRequest {
68
68
  /** Title */
69
69
  title?: string;
70
70
  /** Schedule */
71
- schedule?: components["schemas"]["QuestionSchedule"];
71
+ schedule?: components["schemas"]["QuestionScheduleInput"];
72
72
  /** Paused */
73
73
  paused?: boolean;
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@37signals/basecamp",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "TypeScript SDK for the Basecamp API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,7 +36,7 @@ export interface MetadataOutput {
36
36
  const metadata: MetadataOutput = {
37
37
  "$schema": "https://basecamp.com/schemas/sdk-metadata.json",
38
38
  "version": "1.0.0",
39
- "generated": "2026-10-03T00:10:52.572Z",
39
+ "generated": "2026-10-05T19:11:14.752Z",
40
40
  "operations": {
41
41
  "GetAccount": {
42
42
  "retry": {
@@ -28907,7 +28907,7 @@
28907
28907
  "type": "string"
28908
28908
  },
28909
28909
  "schedule": {
28910
- "$ref": "#/components/schemas/QuestionSchedule"
28910
+ "$ref": "#/components/schemas/QuestionScheduleInput"
28911
28911
  },
28912
28912
  "visible_to_clients": {
28913
28913
  "type": "boolean"
@@ -33333,7 +33333,8 @@
33333
33333
  "items": {
33334
33334
  "type": "integer",
33335
33335
  "format": "int32"
33336
- }
33336
+ },
33337
+ "x-go-type-skip-optional-pointer": true
33337
33338
  },
33338
33339
  "hour": {
33339
33340
  "type": "integer",
@@ -33363,6 +33364,32 @@
33363
33364
  }
33364
33365
  }
33365
33366
  },
33367
+ "QuestionScheduleInput": {
33368
+ "type": "object",
33369
+ "description": "The schedule a question is created or updated with. BC3 reads the time of\nday as a string (\"5:00pm\"); hour and minute appear only in responses.",
33370
+ "properties": {
33371
+ "frequency": {
33372
+ "type": "string"
33373
+ },
33374
+ "days": {
33375
+ "type": "array",
33376
+ "items": {
33377
+ "type": "integer",
33378
+ "format": "int32"
33379
+ }
33380
+ },
33381
+ "time_of_day": {
33382
+ "type": "string"
33383
+ },
33384
+ "week_instance": {
33385
+ "type": "integer",
33386
+ "format": "int32"
33387
+ },
33388
+ "start_date": {
33389
+ "type": "string"
33390
+ }
33391
+ }
33392
+ },
33366
33393
  "Questionnaire": {
33367
33394
  "type": "object",
33368
33395
  "properties": {
@@ -36698,7 +36725,7 @@
36698
36725
  "type": "string"
36699
36726
  },
36700
36727
  "schedule": {
36701
- "$ref": "#/components/schemas/QuestionSchedule"
36728
+ "$ref": "#/components/schemas/QuestionScheduleInput"
36702
36729
  },
36703
36730
  "paused": {
36704
36731
  "type": "boolean"
@@ -4670,7 +4670,7 @@ export interface components {
4670
4670
  CreateProjectResponseContent: components["schemas"]["Project"];
4671
4671
  CreateQuestionRequestContent: {
4672
4672
  title: string;
4673
- schedule: components["schemas"]["QuestionSchedule"];
4673
+ schedule: components["schemas"]["QuestionScheduleInput"];
4674
4674
  visible_to_clients?: boolean;
4675
4675
  };
4676
4676
  CreateQuestionResponseContent: components["schemas"]["Question"];
@@ -6327,6 +6327,18 @@ export interface components {
6327
6327
  start_date?: string;
6328
6328
  end_date?: string;
6329
6329
  };
6330
+ /**
6331
+ * @description The schedule a question is created or updated with. BC3 reads the time of
6332
+ * day as a string ("5:00pm"); hour and minute appear only in responses.
6333
+ */
6334
+ QuestionScheduleInput: {
6335
+ frequency?: string;
6336
+ days?: number[];
6337
+ time_of_day?: string;
6338
+ /** Format: int32 */
6339
+ week_instance?: number;
6340
+ start_date?: string;
6341
+ };
6330
6342
  Questionnaire: {
6331
6343
  /** Format: int64 */
6332
6344
  id: number;
@@ -8010,7 +8022,7 @@ export interface components {
8010
8022
  };
8011
8023
  UpdateQuestionRequestContent: {
8012
8024
  title?: string;
8013
- schedule?: components["schemas"]["QuestionSchedule"];
8025
+ schedule?: components["schemas"]["QuestionScheduleInput"];
8014
8026
  paused?: boolean;
8015
8027
  };
8016
8028
  UpdateQuestionResponseContent: components["schemas"]["Question"];
@@ -56,7 +56,7 @@ export interface CreateQuestionCheckinRequest {
56
56
  /** Title */
57
57
  title: string;
58
58
  /** Schedule */
59
- schedule: components["schemas"]["QuestionSchedule"];
59
+ schedule: components["schemas"]["QuestionScheduleInput"];
60
60
  /** Visible to clients */
61
61
  visibleToClients?: boolean;
62
62
  }
@@ -68,7 +68,7 @@ export interface UpdateQuestionCheckinRequest {
68
68
  /** Title */
69
69
  title?: string;
70
70
  /** Schedule */
71
- schedule?: components["schemas"]["QuestionSchedule"];
71
+ schedule?: components["schemas"]["QuestionScheduleInput"];
72
72
  /** Paused */
73
73
  paused?: boolean;
74
74
  }