This repository was archived by the owner on Mar 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +13
-2
lines changed Expand file tree Collapse file tree 5 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 22 "private" : true ,
33 "name" : " patch" ,
44 "description" : " " ,
5- "version" : " 1.0.0 " ,
5+ "version" : " 1.0.1 " ,
66 "main" : " index.js" ,
77 "scripts" : {
88 "build" : " yarn run clean && yarn tsc" ,
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export const CreateOrder: ZapierCreate<CreateData> = {
2525 noun : "order" ,
2626 display : {
2727 label : "Create Order" ,
28+ important : true ,
2829 description : "Creates a new order." ,
2930 } ,
3031 operation : {
Original file line number Diff line number Diff line change @@ -26,7 +26,15 @@ export default {
2626 beforeRequest : [ addApiKeyHeader ] ,
2727 authentication : {
2828 type : "custom" ,
29- fields : [ { key : "apiKey" , type : "string" } ] ,
29+ fields : [
30+ {
31+ key : "apiKey" ,
32+ type : "string" ,
33+ helpText :
34+ "Can be found on the [API Keys](https://dashboard.usepatch.com/api_keys) page of the Patch dashboard" ,
35+ } ,
36+ ] ,
37+ connectionLabel : "Patch" ,
3038 test : async ( z : ZObject ) : Promise < void > => {
3139 const response = await z . request ( "https://api.usepatch.com/v1/orders" , {
3240 json : { page : 1 } ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export const OrderTrigger: ZapierTrigger = {
1515 noun : "order" ,
1616 display : {
1717 label : "New Order" ,
18+ important : true ,
1819 description : "Triggers when a new order is created." ,
1920 } ,
2021 operation : {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ type ZapierBase<BundleConfig> = {
99 noun : string ;
1010 display : {
1111 label : string ;
12+ important ?: boolean ;
1213 description : string ;
1314 } ;
1415 operation : {
You can’t perform that action at this time.
0 commit comments