in src/Worker.ts [476:490]
async getRecordIdAndAttachmentIdsFromCard() {
const client = await this.kintoneClientCreator.createKintoneClient([
this.apps.cards.token,
]);
const cardInfo = await ApiExecutor.getRecordIdAndAttachmentIdsFromCard(
client,
this.apps.cards.id,
this.trelloAction.data
);
if (cardInfo === undefined) {
throw new Error("Card is no such exists");
}
return cardInfo;
}