@@ -28,6 +28,8 @@ declare class TrelloBoard {
2828
2929 searchCardsFilter ( boardId : string , filter : string ) : Promise < any > ;
3030
31+ getCustomField ( customFieldId : string ) : Promise < any > ;
32+
3133}
3234
3335declare class TrelloCard {
@@ -42,6 +44,8 @@ declare class TrelloCard {
4244
4345 del ( cardId : string ) : Promise < any > ;
4446
47+ setCustomField ( cardId : string , customFieldId : string ) : Promise < any > ;
48+
4549}
4650
4751declare class TrelloChecklist {
@@ -58,6 +62,21 @@ declare class TrelloChecklist {
5862
5963}
6064
65+ declare class TrelloCustomField {
66+
67+ create ( params : any ) : Promise < any > ;
68+
69+ search ( customFieldId : string ) : Promise < any > ;
70+
71+ searchField ( customFieldId : string , fieldName : string ) : Promise < any > ;
72+
73+ update ( customFieldId : string , params : any ) : Promise < any > ;
74+
75+ del ( customFieldId : string ) : Promise < any > ;
76+
77+ }
78+
79+
6180declare class TrelloEnterprise {
6281
6382 search ( enterpriseID : string ) : Promise < any > ;
@@ -151,6 +170,7 @@ declare class TrelloNodeApi {
151170 board : TrelloBoard ;
152171 card : TrelloCard ;
153172 checklist : TrelloChecklist ;
173+ customField : TrelloCustomField ;
154174 enterprise : TrelloEnterprise ;
155175 label : TrelloLabel ;
156176 list : TrelloList ;
0 commit comments