Skip to content

Commit 47fac71

Browse files
feat(api): api update
1 parent 28ab67e commit 47fac71

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/grid%2Fspreadsheet-api-1ab2fc3d8f3148930e93143508a6b0616f518304292780e73b6e617f2d9a8544.yml
3-
openapi_spec_hash: ae93f3385420957c590f188e8657dd31
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/grid%2Fspreadsheet-api-97a8b2fdb2c7930fbffc14523f9ee1da1d9ae75f16c06ea5fa04504baa742ad4.yml
3+
openapi_spec_hash: 43b9f0d159bb21f3f95df35628f864f1
44
config_hash: d3f4645d9a93970cbead53b83c49a2c4

src/resources/workbooks.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,13 @@ export interface WorkbookRenderChartParams {
701701
* the request
702702
*/
703703
apply?: Array<WorkbookRenderChartParams.Apply> | null;
704+
705+
/**
706+
* Hex color code for the chart's background matte, e.g. '#FFFFFF' for white, if
707+
* not specified, the chart will have a transparent background. Note, this is
708+
* currently only supported for PNG images.
709+
*/
710+
matte?: string | null;
704711
}
705712

706713
export namespace WorkbookRenderChartParams {
@@ -788,13 +795,6 @@ export namespace WorkbookRenderChartParams {
788795
*/
789796
legendVisible?: 'false' | 'true' | null;
790797

791-
/**
792-
* Hex color code for the chart's background matte, e.g. '#FFFFFF' for white, if
793-
* not specified, the chart will have a transparent background. Note, this is
794-
* currently only supported for PNG images.
795-
*/
796-
matte?: string | null;
797-
798798
/**
799799
* Number format pattern used for formatting labels on the chart.
800800
*/

tests/api-resources/workbooks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ describe('resource workbooks', () => {
9393
legend: '=D2:D142',
9494
legendLines: '=E2:E142',
9595
legendVisible: 'false',
96-
matte: '#FFFFFF',
9796
numberFormat: '#,##0.0',
9897
sortBy: 0,
9998
sortOrder: '',
@@ -104,6 +103,7 @@ describe('resource workbooks', () => {
104103
values: 'none',
105104
},
106105
apply: [{ target: 'A2', value: 1234 }],
106+
matte: '#FFFFFF',
107107
});
108108
});
109109

0 commit comments

Comments
 (0)