File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6600,25 +6600,25 @@ export type GetPaymentsQueryParams = {
6600
6600
* The ID of the user to query payment information about. You can get the user ID by having the user
6601
6601
* OAuth2 to the Figma REST API.
6602
6602
*/
6603
- user_id ?: number
6603
+ user_id ?: string
6604
6604
/**
6605
6605
* The ID of the Community file to query a user's payment information on. You can get the Community
6606
6606
* file ID from the file's Community page (look for the number after "file/" in the URL). Provide
6607
6607
* exactly one of "community_file_id", "plugin_id", or "widget_id".
6608
6608
*/
6609
- community_file_id ?: number
6609
+ community_file_id ?: string
6610
6610
/**
6611
6611
* The ID of the plugin to query a user's payment information on. You can get the plugin ID from the
6612
6612
* plugin's manifest, or from the plugin's Community page (look for the number after "plugin/" in
6613
6613
* the URL). Provide exactly one of "community_file_id", "plugin_id", or "widget_id".
6614
6614
*/
6615
- plugin_id ?: number
6615
+ plugin_id ?: string
6616
6616
/**
6617
6617
* The ID of the widget to query a user's payment information on. You can get the widget ID from the
6618
6618
* widget's manifest, or from the widget's Community page (look for the number after "widget/" in
6619
6619
* the URL). Provide exactly one of "community_file_id", "plugin_id", or "widget_id".
6620
6620
*/
6621
- widget_id ?: number
6621
+ widget_id ?: string
6622
6622
}
6623
6623
6624
6624
/**
Original file line number Diff line number Diff line change 1
1
openapi : 3.1.0
2
2
info :
3
3
title : Figma API
4
- version : 0.27 .0
4
+ version : 0.28 .0
5
5
description : |-
6
6
This is the OpenAPI specification for the [Figma REST API](https://www.figma.com/developers/api).
7
7
@@ -1668,15 +1668,15 @@ paths:
1668
1668
description : The ID of the user to query payment information about. You can get
1669
1669
the user ID by having the user OAuth2 to the Figma REST API.
1670
1670
schema :
1671
- type : number
1671
+ type : string
1672
1672
- name : community_file_id
1673
1673
in : query
1674
1674
description : The ID of the Community file to query a user's payment information
1675
1675
on. You can get the Community file ID from the file's Community page
1676
1676
(look for the number after "file/" in the URL). Provide exactly one
1677
1677
of "community_file_id", "plugin_id", or "widget_id".
1678
1678
schema :
1679
- type : number
1679
+ type : string
1680
1680
- name : plugin_id
1681
1681
in : query
1682
1682
description : The ID of the plugin to query a user's payment information on. You
@@ -1685,7 +1685,7 @@ paths:
1685
1685
URL). Provide exactly one of "community_file_id", "plugin_id", or
1686
1686
" widget_id" .
1687
1687
schema :
1688
- type : number
1688
+ type : string
1689
1689
- name : widget_id
1690
1690
in : query
1691
1691
description : The ID of the widget to query a user's payment information on. You
@@ -1694,7 +1694,7 @@ paths:
1694
1694
URL). Provide exactly one of "community_file_id", "plugin_id", or
1695
1695
" widget_id" .
1696
1696
schema :
1697
- type : number
1697
+ type : string
1698
1698
responses :
1699
1699
" 200 " :
1700
1700
$ref : " #/components/responses/GetPaymentsResponse"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @figma/rest-api-spec" ,
3
- "version" : " 0.27 .0" ,
3
+ "version" : " 0.28 .0" ,
4
4
"description" : " Typings for the Figma REST API" ,
5
5
"main" : " dist/api_types.ts" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments