Skip to content

Commit e759d35

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 4.27.3 (#221)
* ## Typescript SDK Changes Detected: * `stackone.messaging.getMessage()`: `response.data.attachments.[]` **Changed** **Breaking** ⚠️ * `stackone.messaging.listConversationMessages()`: `response.data.[].attachments.[]` **Changed** **Breaking** ⚠️ * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 2c7c05c commit e759d35

17 files changed

+113
-53
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 7fa83af8-9e8e-4410-b7e2-cf1d0eaf688b
33
management:
4-
docChecksum: 79340aa5acac7bac49fe0ab26153b1eb
4+
docChecksum: 754ca6eedd5564433b1b775d5d3d0cd8
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.615.2
7-
generationVersion: 2.698.4
8-
releaseVersion: 4.27.2
9-
configChecksum: c4ea81fff4c3c353206b73a55a7d5ac1
6+
speakeasyVersion: 1.617.1
7+
generationVersion: 2.701.8
8+
releaseVersion: 4.27.3
9+
configChecksum: 44ba8f4c97c4bbb03f5fd7b63606be71
1010
repoURL: https://github.com/StackOneHQ/stackone-client-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/StackOneHQ/stackone-client-typescript
@@ -13675,7 +13675,7 @@ examples:
1367513675
x-account-id: "<id>"
1367613676
responses:
1367713677
"200":
13678-
application/json: {"data": {"author": null, "content": {"html": "<p>Hello world</p>", "plain": "Hello world"}, "created_at": "2024-03-20T10:00:00Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_message_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2024-03-20T10:00:00Z"}}
13678+
application/json: {"data": {"attachments": [{"file_name": "document.pdf", "file_size": 1024, "file_type": "application/pdf", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "author": null, "content": {"html": "<p>Hello world</p>", "plain": "Hello world"}, "created_at": "2024-03-20T10:00:00Z", "id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "parent_message_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "updated_at": "2024-03-20T10:00:00Z"}}
1367913679
"400":
1368013680
application/json: {"data": {"headers": {}, "message": "Bad Request", "statusCode": 400}, "message": "Bad Request", "provider_errors": [{"headers": {}, "raw": {}, "status": 400, "url": "https://api.provider.com/v1/resource"}], "statusCode": 400, "timestamp": "2023-05-30T00:00:00.000Z"}
1368113681
"401":
@@ -14484,4 +14484,5 @@ examplesVersion: 1.0.2
1448414484
generatedTests: {}
1448514485
releaseNotes: |
1448614486
## Typescript SDK Changes Detected:
14487-
* `stackone.accounting.createCompanyJournal()`: `response` **Changed** **Breaking** :warning:
14487+
* `stackone.messaging.getMessage()`: `response.data.attachments.[]` **Changed** **Breaking** :warning:
14488+
* `stackone.messaging.listConversationMessages()`: `response.data.[].attachments.[]` **Changed** **Breaking** :warning:

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.615.2
1+
speakeasyVersion: 1.617.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:c8c1656796b6eb35021af318bb0697c57ac0c5f1ef5dfdffc25be0a94bac3fb2
6-
sourceBlobDigest: sha256:f35b77adc8af7099f3c90cc355e7b1682903ededcefcfeaef1cc9e8c7719823a
5+
sourceRevisionDigest: sha256:8680aafec8de6c7ac41da44a09fcf1c462c2add778c429fe60df6b3966c9c7f5
6+
sourceBlobDigest: sha256:01409fb1de971568100b320cd7277ebced5ec4f4ebc12b7d836b7764002cc402
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757952998
9+
- speakeasy-sdk-regen-1757967382
1010
- 1.0.0
1111
targets:
1212
StackOneTypeScriptClient:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:c8c1656796b6eb35021af318bb0697c57ac0c5f1ef5dfdffc25be0a94bac3fb2
16-
sourceBlobDigest: sha256:f35b77adc8af7099f3c90cc355e7b1682903ededcefcfeaef1cc9e8c7719823a
15+
sourceRevisionDigest: sha256:8680aafec8de6c7ac41da44a09fcf1c462c2add778c429fe60df6b3966c9c7f5
16+
sourceBlobDigest: sha256:01409fb1de971568100b320cd7277ebced5ec4f4ebc12b7d836b7764002cc402
1717
codeSamplesNamespace: code-samples-typescript-stackonetypescriptclient
18-
codeSamplesRevisionDigest: sha256:e29556a2d53aa9b4ad85cfca4f4d5dd9dbc15a5041c77edc0c7d785439e85050
18+
codeSamplesRevisionDigest: sha256:c1758469c1c5ecdc8a890749adc9f294007caff4001bf3f0b29eaeb33c2bde8a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,4 +1906,14 @@ Based on:
19061906
### Generated
19071907
- [typescript v4.27.2] .
19081908
### Releases
1909-
- [NPM v4.27.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.2 - .
1909+
- [NPM v4.27.2] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.2 - .
1910+
1911+
## 2025-09-16 15:24:53
1912+
### Changes
1913+
Based on:
1914+
- OpenAPI Doc
1915+
- Speakeasy CLI 1.617.1 (2.701.8) https://github.com/speakeasy-api/speakeasy
1916+
### Generated
1917+
- [typescript v4.27.3] .
1918+
### Releases
1919+
- [NPM v4.27.3] https://www.npmjs.com/package/@stackone/stackone-client-ts/v/4.27.3 - .

β€Ždocs/sdk/models/operations/messaginggetmessageresponse.mdβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ let value: MessagingGetMessageResponse = {
1313
"<value 2>",
1414
"<value 3>",
1515
],
16+
"key1": [
17+
"<value 1>",
18+
"<value 2>",
19+
"<value 3>",
20+
],
21+
"key2": [],
1622
},
17-
statusCode: 853538,
23+
statusCode: 919910,
1824
};
1925
```
2026

β€Ždocs/sdk/models/operations/messaginglistconversationmessagesresponse.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ let value: MessagingListConversationMessagesResponse = {
1111
"key": [
1212
"<value 1>",
1313
"<value 2>",
14+
"<value 3>",
1415
],
1516
"key1": [
1617
"<value 1>",
17-
"<value 2>",
18-
"<value 3>",
1918
],
2019
},
21-
statusCode: 499661,
20+
statusCode: 102170,
2221
};
2322
```
2423

β€Ždocs/sdk/models/shared/messagingmessage.mdβ€Ž

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
import { MessagingMessage } from "@stackone/stackone-client-ts/sdk/models/shared";
77

88
let value: MessagingMessage = {
9+
attachments: [
10+
{
11+
fileName: "document.pdf",
12+
fileSize: 1024,
13+
fileType: "application/pdf",
14+
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
15+
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
16+
},
17+
],
918
author: {
1019
active: true,
1120
createdAt: new Date("2021-01-01T01:01:01.000Z"),
@@ -37,7 +46,7 @@ let value: MessagingMessage = {
3746

3847
| Field | Type | Required | Description | Example |
3948
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
40-
| `attachments` | *string*[] | :heavy_minus_sign: | List of attachments in the message | |
49+
| `attachments` | [shared.MessagingAttachment](../../../sdk/models/shared/messagingattachment.md)[] | :heavy_minus_sign: | List of attachments in the message | |
4150
| `author` | [shared.Author](../../../sdk/models/shared/author.md) | :heavy_minus_sign: | Author of the message | |
4251
| `content` | [shared.MessagingMessageContent](../../../sdk/models/shared/messagingmessagecontent.md) | :heavy_minus_sign: | Content of the message | {<br/>"html": "\u003cp\u003eHello world\u003c/p\u003e",<br/>"plain": "Hello world"<br/>} |
4352
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Timestamp when the message was created | 2024-03-20T10:00:00Z |

β€Ždocs/sdk/models/shared/messagingmessageresult.mdβ€Ž

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,16 @@ import { MessagingMessageResult } from "@stackone/stackone-client-ts/sdk/models/
77

88
let value: MessagingMessageResult = {
99
data: {
10-
author: {
11-
active: true,
12-
createdAt: new Date("2021-01-01T01:01:01.000Z"),
13-
14-
externalReference: "al60043",
15-
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
16-
name: "John Dew",
17-
phoneNumber: "+1234567890",
18-
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
19-
unifiedCustomFields: {
20-
"my_project_custom_field_1": "REF-1236",
21-
"my_project_custom_field_2": "some other value",
10+
attachments: [
11+
{
12+
fileName: "document.pdf",
13+
fileSize: 1024,
14+
fileType: "application/pdf",
15+
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
16+
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
2217
},
23-
updatedAt: new Date("2021-01-01T01:01:01.000Z"),
24-
},
18+
],
19+
author: null,
2520
content: {
2621
html: "<p>Hello world</p>",
2722
plain: "Hello world",

β€Ždocs/sdk/models/shared/messagingmessageresultdata.mdβ€Ž

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
import { MessagingMessageResultData } from "@stackone/stackone-client-ts/sdk/models/shared";
77

88
let value: MessagingMessageResultData = {
9+
attachments: [
10+
{
11+
fileName: "document.pdf",
12+
fileSize: 1024,
13+
fileType: "application/pdf",
14+
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
15+
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
16+
},
17+
],
918
author: {
1019
active: true,
1120
createdAt: new Date("2021-01-01T01:01:01.000Z"),
@@ -37,7 +46,7 @@ let value: MessagingMessageResultData = {
3746

3847
| Field | Type | Required | Description | Example |
3948
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
40-
| `attachments` | *string*[] | :heavy_minus_sign: | List of attachments in the message | |
49+
| `attachments` | [shared.MessagingAttachment](../../../sdk/models/shared/messagingattachment.md)[] | :heavy_minus_sign: | List of attachments in the message | |
4150
| `author` | [shared.MessagingMessageResultAuthor](../../../sdk/models/shared/messagingmessageresultauthor.md) | :heavy_minus_sign: | Author of the message | |
4251
| `content` | [shared.MessagingMessageResultContent](../../../sdk/models/shared/messagingmessageresultcontent.md) | :heavy_minus_sign: | Content of the message | {<br/>"html": "\u003cp\u003eHello world\u003c/p\u003e",<br/>"plain": "Hello world"<br/>} |
4352
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Timestamp when the message was created | 2024-03-20T10:00:00Z |

β€Ždocs/sdk/models/shared/messagingmessagespaginated.mdβ€Ž

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,22 @@ import { MessagingMessagesPaginated } from "@stackone/stackone-client-ts/sdk/mod
88
let value: MessagingMessagesPaginated = {
99
data: [
1010
{
11-
author: null,
11+
attachments: null,
12+
author: {
13+
active: true,
14+
createdAt: new Date("2021-01-01T01:01:01.000Z"),
15+
16+
externalReference: "al60043",
17+
id: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
18+
name: "John Dew",
19+
phoneNumber: "+1234567890",
20+
remoteId: "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
21+
unifiedCustomFields: {
22+
"my_project_custom_field_1": "REF-1236",
23+
"my_project_custom_field_2": "some other value",
24+
},
25+
updatedAt: new Date("2021-01-01T01:01:01.000Z"),
26+
},
1227
content: {
1328
html: "<p>Hello world</p>",
1429
plain: "Hello world",

β€Žexamples/package-lock.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)