@37signals/basecamp 0.14.0 → 0.15.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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/client.d.ts +2 -2
  3. package/dist/client.js +2 -2
  4. package/dist/download.d.ts +3 -1
  5. package/dist/download.d.ts.map +1 -1
  6. package/dist/download.js +17 -4
  7. package/dist/download.js.map +1 -1
  8. package/dist/errors.d.ts +26 -0
  9. package/dist/errors.d.ts.map +1 -1
  10. package/dist/errors.js +78 -13
  11. package/dist/errors.js.map +1 -1
  12. package/dist/generated/metadata.js +1 -1
  13. package/dist/generated/metadata.ts +1 -1
  14. package/dist/generated/openapi-stripped.json +279 -29
  15. package/dist/generated/schema.d.ts +259 -27
  16. package/dist/generated/services/checkins.d.ts +1 -1
  17. package/dist/generated/services/checkins.d.ts.map +1 -1
  18. package/dist/generated/services/checkins.ts +1 -1
  19. package/dist/generated/services/gauges.d.ts +3 -2
  20. package/dist/generated/services/gauges.d.ts.map +1 -1
  21. package/dist/generated/services/gauges.ts +2 -2
  22. package/dist/generated/services/search.d.ts +2 -1
  23. package/dist/generated/services/search.d.ts.map +1 -1
  24. package/dist/generated/services/search.ts +1 -1
  25. package/dist/oauth/authorization-document.d.ts +18 -11
  26. package/dist/oauth/authorization-document.d.ts.map +1 -1
  27. package/dist/oauth/authorization-document.js +16 -11
  28. package/dist/oauth/authorization-document.js.map +1 -1
  29. package/dist/retry.d.ts +23 -0
  30. package/dist/retry.d.ts.map +1 -1
  31. package/dist/retry.js +45 -10
  32. package/dist/retry.js.map +1 -1
  33. package/dist/services/base.d.ts +25 -2
  34. package/dist/services/base.d.ts.map +1 -1
  35. package/dist/services/base.js +85 -15
  36. package/dist/services/base.js.map +1 -1
  37. package/package.json +5 -3
  38. package/src/generated/metadata.ts +1 -1
  39. package/src/generated/openapi-stripped.json +279 -29
  40. package/src/generated/schema.d.ts +259 -27
  41. package/src/generated/services/checkins.ts +1 -1
  42. package/src/generated/services/gauges.ts +2 -2
  43. package/src/generated/services/search.ts +1 -1
@@ -3729,9 +3729,11 @@ export interface components {
3729
3729
  created_at: string;
3730
3730
  updated_at: string;
3731
3731
  service_name: string;
3732
+ /** @description Only present when the requester is an account administrator; possession of this URL is enough to command the bot. */
3732
3733
  command_url?: string;
3733
3734
  url?: string;
3734
3735
  app_url?: string;
3736
+ /** @description Only present when the requester is an account administrator; possession of this URL is enough to post lines as the bot. */
3735
3737
  lines_url?: string;
3736
3738
  };
3737
3739
  ClientApproval: {
@@ -4769,8 +4771,8 @@ export interface components {
4769
4771
  over_three_months_late?: components["schemas"]["Todo"][];
4770
4772
  };
4771
4773
  GetPersonProgressResponseContent: {
4772
- person?: components["schemas"]["Person"];
4773
- events?: components["schemas"]["TimelineEvent"][];
4774
+ person: components["schemas"]["Person"];
4775
+ events: components["schemas"]["TimelineEvent"][];
4774
4776
  };
4775
4777
  GetPersonResponseContent: components["schemas"]["Person"];
4776
4778
  GetProgressReportResponseContent: components["schemas"]["TimelineEvent"][];
@@ -5047,13 +5049,19 @@ export interface components {
5047
5049
  parent?: components["schemas"]["MyAssignmentParent"];
5048
5050
  children?: components["schemas"]["MyAssignment"][];
5049
5051
  };
5052
+ /**
5053
+ * @description A person as bc3's `people/_person_minimal.json.jbuilder` renders them —
5054
+ * the same three-key partial behind UpcomingSchedulePerson and
5055
+ * OutOfOfficePerson. All three keys are emitted unconditionally, so all
5056
+ * three are required.
5057
+ */
5050
5058
  MyAssignmentAssignee: {
5051
5059
  /** Format: int64 */
5052
5060
  id: number;
5053
5061
  /** Format: password */
5054
- name?: string;
5062
+ name: string;
5055
5063
  /** Format: password */
5056
- avatar_url?: string;
5064
+ avatar_url: string;
5057
5065
  };
5058
5066
  MyAssignmentBucket: {
5059
5067
  /** Format: int64 */
@@ -5167,13 +5175,19 @@ export interface components {
5167
5175
  /** @description End date in ISO 8601 format (YYYY-MM-DD) */
5168
5176
  end_date: string;
5169
5177
  };
5178
+ /**
5179
+ * @description A person as bc3's `people/_person_minimal.json.jbuilder` renders them —
5180
+ * the same three-key partial behind UpcomingSchedulePerson and
5181
+ * MyAssignmentAssignee. All three keys are emitted unconditionally, so all
5182
+ * three are required.
5183
+ */
5170
5184
  OutOfOfficePerson: {
5171
5185
  /** Format: int64 */
5172
5186
  id: number;
5173
5187
  /** Format: password */
5174
- name?: string;
5188
+ name: string;
5175
5189
  /** Format: password */
5176
- avatar_url?: string;
5190
+ avatar_url: string;
5177
5191
  };
5178
5192
  PauseQuestionResponseContent: {
5179
5193
  paused?: boolean;
@@ -5815,19 +5829,61 @@ export interface components {
5815
5829
  default_type_label: string;
5816
5830
  };
5817
5831
  SearchResponseContent: components["schemas"]["SearchResult"][];
5832
+ /**
5833
+ * @description One hit from account-wide search — a polymorphic projection over every
5834
+ * searchable recording type.
5835
+ *
5836
+ * Most result types render the common recording envelope
5837
+ * (`recordings/_recording.json.jbuilder`) plus their own recordable partial,
5838
+ * but `api_search_result_template_path` special-cases four branches — chat
5839
+ * lines, kanban (card table) lists, file attachments and gauge needles — and
5840
+ * the file-attachment branch writes its own projection from scratch instead
5841
+ * of the envelope. Members are therefore optional unless every branch emits
5842
+ * them; the doc comments name the branches that carry each optional member.
5843
+ */
5818
5844
  SearchResult: {
5819
- /** Format: int64 */
5820
- id: number;
5845
+ /**
5846
+ * Format: int64
5847
+ * @description The recording id. Optional only because the file-attachment branch
5848
+ * (`searches/_attachment.json.jbuilder`) skips the recording envelope and
5849
+ * emits none of the top-level id/title/type/url/app_url keys; every other
5850
+ * branch emits all five.
5851
+ */
5852
+ id?: number;
5821
5853
  status?: string;
5822
5854
  visible_to_clients?: boolean;
5823
5855
  created_at?: string;
5824
5856
  updated_at?: string;
5825
- title: string;
5857
+ /**
5858
+ * @description See `id` — omitted by the file-attachment branch, emitted by every other
5859
+ * branch.
5860
+ */
5861
+ title?: string;
5826
5862
  inherits_status?: boolean;
5827
- type: string;
5828
- url: string;
5829
- app_url: string;
5863
+ /**
5864
+ * @description See `id` — omitted by the file-attachment branch, emitted by every other
5865
+ * branch. A file-attachment hit is therefore recognizable by the absence
5866
+ * of this key (its file keys, `filename` through `app_download_url`, are
5867
+ * the positive signal).
5868
+ */
5869
+ type?: string;
5870
+ /**
5871
+ * @description See `id` — omitted by the file-attachment branch, emitted by every other
5872
+ * branch.
5873
+ */
5874
+ url?: string;
5875
+ /**
5876
+ * @description See `id` — omitted by the file-attachment branch, emitted by every other
5877
+ * branch.
5878
+ */
5879
+ app_url?: string;
5830
5880
  bookmark_url?: string;
5881
+ /**
5882
+ * @description Subscription URL, emitted by the common recording envelope for any
5883
+ * subscribable result — kanban lists and gauge needles among the special
5884
+ * branches, plus subscribable generic-branch types (messages, todos, …).
5885
+ */
5886
+ subscription_url?: string;
5831
5887
  /**
5832
5888
  * @description URL of the Bubble Up record for this recording (BC5 addition). Optional
5833
5889
  * here because this is a polymorphic projection:
@@ -5877,22 +5933,173 @@ export interface components {
5877
5933
  * the array matching its rich-text attribute (`content_attachments` for a
5878
5934
  * Comment/Message, `description_attachments` for a Todo); a webhook-sourced
5879
5935
  * result carries neither. Optional (no `@required`), non-nullable.
5880
- *
5881
- * Search results additionally repeat this same array under a generic
5882
- * `attachments` key. It is a redundant projection, not a distinct
5883
- * aggregate: `searches/show.json.jbuilder` emits
5884
- * `recording.downloadable_attachments`, which delegates to the recordable's
5885
- * sole `rich_text_content`, through the same `attachments/_attachment`
5886
- * partial that `recordings/_rich_text.json.jbuilder` uses to build the
5887
- * companion array. `RichText.rich_text_attribute` permits exactly one
5888
- * rich-text attribute per model, so the two keys always carry identical
5889
- * elements. Modeling `attachments` would duplicate the field, so it is
5890
- * deliberately not modeled.
5891
5936
  */
5892
5937
  content_attachments?: components["schemas"]["RichTextAttachment"][];
5893
5938
  /** @description See `content_attachments` — the description-attribute companion array. */
5894
5939
  description_attachments?: components["schemas"]["RichTextAttachment"][];
5940
+ /**
5941
+ * @description File attachments on the result, in either of two wire shapes — see
5942
+ * `SearchResultAttachment`.
5943
+ *
5944
+ * For a result whose recordable carries downloadable rich-text
5945
+ * attachments, `searches/show.json.jbuilder` emits this key through the
5946
+ * same `attachments/_attachment` partial that builds the rich-text
5947
+ * companion array above, so it repeats that array's elements. For a chat
5948
+ * *upload* line, `chats/lines/_upload.json.jbuilder` instead builds a
5949
+ * bespoke six-key aggregate inline — and because upload lines have no
5950
+ * rich-text attribute, the show template never overwrites it, so that
5951
+ * distinct shape survives to the wire.
5952
+ */
5953
+ attachments?: components["schemas"]["SearchResultAttachment"][];
5895
5954
  subject?: string;
5955
+ /**
5956
+ * Format: int32
5957
+ * @description Boost count, emitted by the recording envelope when the branch passes
5958
+ * `boostable` — chat lines and gauge needles.
5959
+ */
5960
+ boosts_count?: number;
5961
+ /** @description See `boosts_count` — the companion URL. */
5962
+ boosts_url?: string;
5963
+ /**
5964
+ * @description Language of a code chat line (`chats/lines/_code.json.jbuilder`);
5965
+ * validated present on the model, so never null when the key is emitted.
5966
+ */
5967
+ language?: string;
5968
+ /**
5969
+ * @description Image URL of a soundtracked (play-kind) chat line whose sound carries an
5970
+ * image; such a line emits `image_url` in place of `content`.
5971
+ */
5972
+ image_url?: string;
5973
+ /** @description Sound URL of a play-kind chat line; always emitted for that kind. */
5974
+ sound_url?: string;
5975
+ /** @description Everyone subscribed to the kanban list, as full Person projections. */
5976
+ subscribers?: components["schemas"]["Person"][];
5977
+ /**
5978
+ * @description Color of a kanban list or gauge needle. Emitted unconditionally by both
5979
+ * branches with a null value when unset, so it is nullable (the enhance
5980
+ * pass layers `nullable: true` onto the OpenAPI).
5981
+ */
5982
+ color?: string | null;
5983
+ /**
5984
+ * Format: int32
5985
+ * @description Number of cards in the kanban list.
5986
+ */
5987
+ cards_count?: number;
5988
+ /**
5989
+ * Format: int32
5990
+ * @description Comment count of a kanban list or gauge needle (branch-partial key,
5991
+ * singular `comment_count` — distinct from the envelope's
5992
+ * `comments_count`, which a needle also carries).
5993
+ */
5994
+ comment_count?: number;
5995
+ /** @description API URL of the kanban list's cards. */
5996
+ cards_url?: string;
5997
+ on_hold?: components["schemas"]["CardColumnOnHold"];
5998
+ /**
5999
+ * Format: int32
6000
+ * @description Comment count, emitted by the recording envelope when the branch passes
6001
+ * `commentable` — gauge needles among the special branches, plus
6002
+ * commentable generic-branch types.
6003
+ */
6004
+ comments_count?: number;
6005
+ /** @description See `comments_count` — the companion URL. */
6006
+ comments_url?: string;
6007
+ /**
6008
+ * Format: int32
6009
+ * @description Position of the result. Two emitters share the key: the recording
6010
+ * envelope emits list position for positioned recordings (kanban lists
6011
+ * among the special branches), and the gauge-needle branch overwrites it
6012
+ * with the needle's own 0–100 gauge position.
6013
+ */
6014
+ position?: number;
6015
+ /**
6016
+ * @description Filename of a file-attachment hit. This and the following file keys are
6017
+ * emitted only by the file-attachment branch — the one branch that omits
6018
+ * the id/title/type/url/app_url envelope keys.
6019
+ */
6020
+ filename?: string;
6021
+ /** @description MIME type of a file-attachment hit. */
6022
+ content_type?: string;
6023
+ /**
6024
+ * Format: int64
6025
+ * @description Size in bytes of a file-attachment hit.
6026
+ */
6027
+ byte_size?: number;
6028
+ /** @description Whether the file can be previewed. */
6029
+ previewable?: boolean;
6030
+ /**
6031
+ * Format: int32
6032
+ * @description Pixel width, emitted only when the file is previewable. May be
6033
+ * float-spelled (`1024.0`) and nullable, like every other blob dimension —
6034
+ * see `RichTextAttachment.width` for the cross-SDK typing note.
6035
+ */
6036
+ width?: number | null;
6037
+ /**
6038
+ * Format: int32
6039
+ * @description See `width` — same conditional emission and nullable/float-spelled
6040
+ * behavior.
6041
+ */
6042
+ height?: number | null;
6043
+ /** @description Full-size preview URL of a file-attachment hit. */
6044
+ preview_url?: string;
6045
+ /** @description Thumbnail URL of a file-attachment hit. */
6046
+ thumbnail_url?: string;
6047
+ /** @description Authenticated download URL of a file-attachment hit. */
6048
+ download_url?: string;
6049
+ /** @description Web (app-host) download URL of a file-attachment hit. */
6050
+ app_download_url?: string;
6051
+ };
6052
+ /**
6053
+ * @description A file attached to a search result, in either of two wire shapes.
6054
+ *
6055
+ * This is an optional-field superset over the two variants the search
6056
+ * projection emits (the TimelineAttachment approach): the rich-text
6057
+ * attachment/blob shape rendered through `attachments/_attachment` +
6058
+ * `blobs/_blob` — the same emitters `RichTextAttachment` models — and the
6059
+ * bespoke six-key aggregate a chat upload line builds inline in
6060
+ * `chats/lines/_upload.json.jbuilder`. Only the four keys both variants
6061
+ * always emit are `@required`; the rest identify their variant.
6062
+ */
6063
+ SearchResultAttachment: {
6064
+ /** @description Original filename (both variants). */
6065
+ filename: string;
6066
+ /** @description MIME type of the file (both variants). */
6067
+ content_type: string;
6068
+ /**
6069
+ * Format: int64
6070
+ * @description Size of the file in bytes (both variants).
6071
+ */
6072
+ byte_size: number;
6073
+ /** @description Authenticated download URL for the file (both variants). */
6074
+ download_url: string;
6075
+ /**
6076
+ * Format: int64
6077
+ * @description Attachment id (rich-text variant).
6078
+ */
6079
+ id?: number;
6080
+ /** @description Signed global id of the attachment (rich-text variant). */
6081
+ sgid?: string;
6082
+ /** @description Whether the blob can be previewed (rich-text variant). */
6083
+ previewable?: boolean;
6084
+ /** @description Full-size preview URL (rich-text variant). */
6085
+ preview_url?: string;
6086
+ /** @description Thumbnail URL (rich-text variant). */
6087
+ thumbnail_url?: string;
6088
+ /**
6089
+ * Format: int32
6090
+ * @description Pixel width (rich-text variant) — null for non-image blobs and may be
6091
+ * float-spelled (`1024.0`); see `RichTextAttachment.width`.
6092
+ */
6093
+ width?: number | null;
6094
+ /**
6095
+ * Format: int32
6096
+ * @description See `width` (rich-text variant).
6097
+ */
6098
+ height?: number | null;
6099
+ /** @description Title of the attachment recording (chat upload-line variant). */
6100
+ title?: string;
6101
+ /** @description Browser preview URL of the blob (chat upload-line variant). */
6102
+ url?: string;
5896
6103
  };
5897
6104
  /**
5898
6105
  * @description A selectable search filter option. `key` is the value passed back as a
@@ -6372,16 +6579,41 @@ export interface components {
6372
6579
  /** Format: int64 */
6373
6580
  id: number;
6374
6581
  status?: string;
6582
+ visible_to_clients: boolean;
6375
6583
  created_at: string;
6376
6584
  updated_at: string;
6377
6585
  title: string;
6378
- name: string;
6379
- enabled: boolean;
6380
- /** Format: int32 */
6381
- position?: number;
6586
+ inherits_status: boolean;
6587
+ /** @description The tool's recordable type, e.g. `Chat::Transcript`, `Todoset`, `Vault`. */
6588
+ type: string;
6382
6589
  url?: string;
6383
6590
  app_url?: string;
6591
+ bookmark_url?: string;
6592
+ /** @description Absent for tool types that are not subscribable. */
6593
+ subscription_url?: string;
6594
+ /**
6595
+ * Format: int32
6596
+ * @description Emitted only for a positioned recording. For a docked tool that makes an
6597
+ * absent position the disabled signal — disabling removes the tool from the
6598
+ * dock without deleting it. Positioning is independent of dockedness, so
6599
+ * this does not generalize: a nested vault is not docked and is positioned.
6600
+ */
6601
+ position?: number;
6602
+ parent?: components["schemas"]["RecordingParent"];
6384
6603
  bucket?: components["schemas"]["RecordingBucket"];
6604
+ creator: components["schemas"]["Person"];
6605
+ /**
6606
+ * @description Not emitted by this projection. The dock array on a project
6607
+ * (`DockItem$name`) carries the tool's slug; this key is absent from every
6608
+ * GetTool/CreateTool/UpdateTool response.
6609
+ */
6610
+ name?: string;
6611
+ /**
6612
+ * @description Not emitted by this projection. The dock array on a project
6613
+ * (`DockItem$enabled`) is the authoritative enabled flag; on a docked tool's
6614
+ * own response, an absent `position` is the equivalent signal.
6615
+ */
6616
+ enabled?: boolean;
6385
6617
  };
6386
6618
  UnauthorizedErrorResponseContent: {
6387
6619
  error: string;
@@ -111,7 +111,7 @@ export declare class CheckinsService extends BaseService {
111
111
  * const result = await client.checkins.reminders();
112
112
  * ```
113
113
  */
114
- reminders(options?: RemindersCheckinOptions): Promise<components["schemas"]["GetQuestionRemindersResponseContent"]>;
114
+ reminders(options?: RemindersCheckinOptions): Promise<ListResult<components["schemas"]["QuestionReminder"]>>;
115
115
  /**
116
116
  * Get a single answer by id
117
117
  * @param answerId - The answer ID
@@ -1 +1 @@
1
- {"version":3,"file":"checkins.d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uB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAmBnG;;;;;;;;;;;OAWG;IACG,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAoBnH;;;;;;;;;;;OAWG;IACG,0BAA0B,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,wCAAwC,GAAG,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"}
@@ -135,7 +135,7 @@ export class CheckinsService extends BaseService {
135
135
  * const result = await client.checkins.reminders();
136
136
  * ```
137
137
  */
138
- async reminders(options?: RemindersCheckinOptions): Promise<components["schemas"]["GetQuestionRemindersResponseContent"]> {
138
+ async reminders(options?: RemindersCheckinOptions): Promise<ListResult<components["schemas"]["QuestionReminder"]>> {
139
139
  return this.requestPaginated(
140
140
  {
141
141
  service: "Checkins",
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { BaseService } from "../../services/base.js";
7
7
  import type { components } from "../schema.js";
8
+ import { ListResult } from "../../pagination.js";
8
9
  import type { PaginationOptions } from "../../pagination.js";
9
10
  /**
10
11
  * Request parameters for updateGaugeNeedle.
@@ -115,7 +116,7 @@ export declare class GaugesService extends BaseService {
115
116
  * const filtered = await client.gauges.listGaugeNeedles(123, { page: 1 });
116
117
  * ```
117
118
  */
118
- listGaugeNeedles(projectId: number, options?: ListGaugeNeedlesGaugeOptions): Promise<components["schemas"]["ListGaugeNeedlesResponseContent"]>;
119
+ listGaugeNeedles(projectId: number, options?: ListGaugeNeedlesGaugeOptions): Promise<ListResult<components["schemas"]["GaugeNeedle"]>>;
119
120
  /**
120
121
  * Create a gauge needle (progress update) for a project
121
122
  * @param projectId - The project ID
@@ -142,6 +143,6 @@ export declare class GaugesService extends BaseService {
142
143
  * const filtered = await client.gauges.listGauges({ bucketIds: "example" });
143
144
  * ```
144
145
  */
145
- listGauges(options?: ListGaugesGaugeOptions): Promise<components["schemas"]["ListGaugesResponseContent"]>;
146
+ listGauges(options?: ListGaugesGaugeOptions): Promise<ListResult<components["schemas"]["Gauge"]>>;
146
147
  }
147
148
  //# sourceMappingURL=gauges.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gauges.d.ts","sourceRoot":"","sources":["../../../src/generated/services/gauges.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,mBAAmB;IACnB,WAAW,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY;IACZ,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,iBAAiB;IACrE,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,mBAAmB;IACnB,WAAW,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,CAAC;IACzD,4E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E,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,+BAA+B,CAAC,CAAC;IAmBpG;;;;;;;;;;;OAWG;IACG,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,6BAA6B,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,kCAAkC,CAAC,CAAC;IAsBjJ;;;;;;;;;;OAUG;IACG,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBzD;;;;;;;;;;;OAWG;IACG,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBjF;;;;;;;;;;;;;OAaG;IACG,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;IAoB5I;;;;;;;;;;;OAWG;IACG,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,6BAA6B,GAAG,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,kCAAkC,CAAC,CAAC;IA2BlJ;;;;;;;;;;;;OAYG;IACG,UAAU,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;CAiBxG"}
@@ -214,7 +214,7 @@ export class GaugesService extends BaseService {
214
214
  * const filtered = await client.gauges.listGaugeNeedles(123, { page: 1 });
215
215
  * ```
216
216
  */
217
- async listGaugeNeedles(projectId: number, options?: ListGaugeNeedlesGaugeOptions): Promise<components["schemas"]["ListGaugeNeedlesResponseContent"]> {
217
+ async listGaugeNeedles(projectId: number, options?: ListGaugeNeedlesGaugeOptions): Promise<ListResult<components["schemas"]["GaugeNeedle"]>> {
218
218
  return this.requestPaginated(
219
219
  {
220
220
  service: "Gauges",
@@ -286,7 +286,7 @@ export class GaugesService extends BaseService {
286
286
  * const filtered = await client.gauges.listGauges({ bucketIds: "example" });
287
287
  * ```
288
288
  */
289
- async listGauges(options?: ListGaugesGaugeOptions): Promise<components["schemas"]["ListGaugesResponseContent"]> {
289
+ async listGauges(options?: ListGaugesGaugeOptions): Promise<ListResult<components["schemas"]["Gauge"]>> {
290
290
  return this.requestPaginated(
291
291
  {
292
292
  service: "Gauges",
@@ -5,6 +5,7 @@
5
5
  */
6
6
  import { BaseService } from "../../services/base.js";
7
7
  import type { components } from "../schema.js";
8
+ import { ListResult } from "../../pagination.js";
8
9
  import type { PaginationOptions } from "../../pagination.js";
9
10
  /**
10
11
  * Options for search.
@@ -59,7 +60,7 @@ export declare class SearchService extends BaseService {
59
60
  * const result = await client.search.search("q");
60
61
  * ```
61
62
  */
62
- search(q: string, options?: SearchSearchOptions): Promise<components["schemas"]["SearchResponseContent"]>;
63
+ search(q: string, options?: SearchSearchOptions): Promise<ListResult<components["schemas"]["SearchResult"]>>;
63
64
  /**
64
65
  * Get search metadata (available filter options)
65
66
  * @returns The search_metadata
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/generated/services/search.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D;qEACiE;IACjE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;I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CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;oCACgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sBAAsB;IACtB,KAAK,CAAC,EAAE,aAAa,GAAG,cAAc,GAAG,cAAc,GAAG,gBAAgB,GAAG,SAAS,CAAC;IACvF,qBAAqB;IACrB,IAAI,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wJAAwJ;IACxJ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAOD;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAE5C;;;;;;;;;;OAUG;IACG,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IAkBlH;;;;;;;;OAQG;IACG,QAAQ,IAAI,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,kCAAkC,CAAC,CAAC;CAcrF"}
@@ -74,7 +74,7 @@ export class SearchService extends BaseService {
74
74
  * const result = await client.search.search("q");
75
75
  * ```
76
76
  */
77
- async search(q: string, options?: SearchSearchOptions): Promise<components["schemas"]["SearchResponseContent"]> {
77
+ async search(q: string, options?: SearchSearchOptions): Promise<ListResult<components["schemas"]["SearchResult"]>> {
78
78
  return this.requestPaginated(
79
79
  {
80
80
  service: "Search",
@@ -23,7 +23,7 @@
23
23
  * | `accounts[].product` / `app_href` | present | absent |
24
24
  * | `accounts[].resource` | absent | present (RFC 8707 indicator) |
25
25
  * | `scope` | absent | present, BC3-issued tokens only |
26
- * | `expires_at` | ISO-8601 string | integer epoch **seconds** |
26
+ * | `expires_at` | ISO-8601 string | ISO-8601 string (integer epoch **seconds** before bc3 #12646; still accepted) |
27
27
  *
28
28
  * Every field either issuer omits is typed optional here. The union is modelled
29
29
  * rather than either shape alone, because a consumer reaches a BC5 issuer just by
@@ -125,7 +125,10 @@ export interface AuthorizationInfo {
125
125
  * list that a caller cannot distinguish from a real one.
126
126
  */
127
127
  export interface RawAuthorizationDocument {
128
- /** ISO-8601 string (Launchpad) or integer epoch seconds (BC5). */
128
+ /**
129
+ * ISO-8601 string from either issuer; integer epoch seconds is BC5's
130
+ * pre-#12646 spelling, kept accepted as compatibility.
131
+ */
129
132
  expires_at?: string | number | null;
130
133
  /** Both issuers always emit this, so it stays required — see the note below. */
131
134
  identity: {
@@ -149,17 +152,21 @@ export interface RawAuthorizationDocument {
149
152
  scope?: string;
150
153
  }
151
154
  /**
152
- * Parses `expires_at` from either issuer's spelling.
155
+ * Parses `expires_at` from any spelling either issuer has ever used.
153
156
  *
154
- * Launchpad sends an ISO-8601 string; bc3 sends `@token.expires_at.to_i`, an
155
- * integer epoch **seconds**. The distinction is the whole point of branching on
156
- * `typeof`: `new Date(2085213356)` treats the number as *milliseconds* and yields
157
- * a date in 1970 — a wrong answer rather than an exception, which then reads as
158
- * an expired credential rather than a schema mismatch.
157
+ * Both issuers send an ISO-8601 string today; bc3 sent `@token.expires_at.to_i`
158
+ * — integer epoch **seconds** — before bc3 #12646 converged it, and the integer
159
+ * spelling stays accepted (recorded documents, older deploys). The `typeof`
160
+ * branch matters because `new Date(2085213356)` treats the number as
161
+ * *milliseconds* and yields a date in 1970 — a wrong answer rather than an
162
+ * exception, which then reads as an expired credential rather than a schema
163
+ * mismatch.
159
164
  *
160
- * bc3 renders `.to_i`, so a nil expiry arrives as `0`, never `null`. A `0`, a
161
- * `null` and an absent field are all "no expiry known" and produce an Invalid
162
- * Date, which is what a `Date`-typed field can say about the absence.
165
+ * A `0`, a `null` and an absent field are all "no expiry known" and produce an
166
+ * Invalid Date, which is what a `Date`-typed field can say about absence. No
167
+ * production issuer emits any of the three — bc3 tokens validate presence and
168
+ * are always set at mint — so the `0` handling is defensive, guarding the
169
+ * RFC 7591 collision where `0` means "never expires".
163
170
  */
164
171
  export declare function parseExpiresAt(value: string | number | null | undefined): Date;
165
172
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"authorization-document.d.ts","sourceRoot":"","sources":["../../src/oauth/authorization-document.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,yCAAyC;IACzC,QAAQ,EAA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;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,wBAAwB,EAC7B,OAAO,GAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAO,GACvC,iBAAiB,CAqCnB"}
1
+ {"version":3,"file":"authorization-document.d.ts","sourceRoot":"","sources":["../../src/oauth/authorization-document.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,yCAAyC;IACzC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4CAA4C;IAC5C,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,M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AA;CAAO,GACvC,iBAAiB,CAqCnB"}
@@ -23,7 +23,7 @@
23
23
  * | `accounts[].product` / `app_href` | present | absent |
24
24
  * | `accounts[].resource` | absent | present (RFC 8707 indicator) |
25
25
  * | `scope` | absent | present, BC3-issued tokens only |
26
- * | `expires_at` | ISO-8601 string | integer epoch **seconds** |
26
+ * | `expires_at` | ISO-8601 string | ISO-8601 string (integer epoch **seconds** before bc3 #12646; still accepted) |
27
27
  *
28
28
  * Every field either issuer omits is typed optional here. The union is modelled
29
29
  * rather than either shape alone, because a consumer reaches a BC5 issuer just by
@@ -33,21 +33,26 @@
33
33
  * @see spec/api-gaps/bc5-authorization-document-shape.md
34
34
  */
35
35
  /**
36
- * Parses `expires_at` from either issuer's spelling.
36
+ * Parses `expires_at` from any spelling either issuer has ever used.
37
37
  *
38
- * Launchpad sends an ISO-8601 string; bc3 sends `@token.expires_at.to_i`, an
39
- * integer epoch **seconds**. The distinction is the whole point of branching on
40
- * `typeof`: `new Date(2085213356)` treats the number as *milliseconds* and yields
41
- * a date in 1970 — a wrong answer rather than an exception, which then reads as
42
- * an expired credential rather than a schema mismatch.
38
+ * Both issuers send an ISO-8601 string today; bc3 sent `@token.expires_at.to_i`
39
+ * — integer epoch **seconds** — before bc3 #12646 converged it, and the integer
40
+ * spelling stays accepted (recorded documents, older deploys). The `typeof`
41
+ * branch matters because `new Date(2085213356)` treats the number as
42
+ * *milliseconds* and yields a date in 1970 — a wrong answer rather than an
43
+ * exception, which then reads as an expired credential rather than a schema
44
+ * mismatch.
43
45
  *
44
- * bc3 renders `.to_i`, so a nil expiry arrives as `0`, never `null`. A `0`, a
45
- * `null` and an absent field are all "no expiry known" and produce an Invalid
46
- * Date, which is what a `Date`-typed field can say about the absence.
46
+ * A `0`, a `null` and an absent field are all "no expiry known" and produce an
47
+ * Invalid Date, which is what a `Date`-typed field can say about absence. No
48
+ * production issuer emits any of the three — bc3 tokens validate presence and
49
+ * are always set at mint — so the `0` handling is defensive, guarding the
50
+ * RFC 7591 collision where `0` means "never expires".
47
51
  */
48
52
  export function parseExpiresAt(value) {
49
53
  if (typeof value === "number") {
50
- // Epoch seconds, not milliseconds. `0` is bc3's rendering of a nil expiry.
54
+ // Epoch seconds, not milliseconds. `0` is the defensive no-expiry sentinel
55
+ // (RFC 7591 gives 0 the meaning "never expires"); no issuer emits it.
51
56
  return value === 0 ? new Date(NaN) : new Date(value * 1000);
52
57
  }
53
58
  if (typeof value === "string" && value !== "") {
@@ -1 +1 @@
1
- {"version":3,"file":"authorization-document.js","sourceRoot":"","sources":["../../src/oauth/authorization-document.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AA0HH;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,cAAc,CAAC,KAAyC;IACtE,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,2EAA2E;QAC3E,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;IAC9D,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QAC9C,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IACD,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,uBAAuB,CACrC,QAA6B,EAC7B,OAAe;IAEf,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC;IAC1F,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,EAAE,QAAQ,EAAE,OAAO,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