Skip to content

Commit 4053425

Browse files
new ticket components: catches by coderabit
1 parent 7fbf1d0 commit 4053425

File tree

6 files changed

+199
-44
lines changed

6 files changed

+199
-44
lines changed

components/ticketsauce/actions/get-event-details/get-event-details.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default {
66
description: "Get details for a specified event. [See documentation](https://speca.io/ticketsauce/ticketsauce-public-api?key=204000d6bda66da78315e721920f43aa#event-details)",
77
version: "0.0.1",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
openWorldHint: true,
12+
readOnlyHint: true,
13+
},
914
props: {
1015
ticketsauce,
1116
partnerId: {
@@ -38,7 +43,7 @@ export default {
3843
default: "0",
3944
options: [
4045
"0",
41-
"1"
46+
"1",
4247
],
4348
},
4449
includePerformers: {

components/ticketsauce/actions/get-events/get-events.mjs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default {
66
description: "Get a list of all events owned by the authenticated account. [See documentation](https://speca.io/ticketsauce/ticketsauce-public-api?key=204000d6bda66da78315e721920f43aa#list-of-events)",
77
version: "0.0.1",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
openWorldHint: true,
12+
readOnlyHint: true,
13+
},
914
props: {
1015
ticketsauce,
1116
partnerId: {
@@ -48,7 +53,7 @@ export default {
4853
options: [
4954
"public",
5055
"all",
51-
"unlisted"
56+
"unlisted",
5257
],
5358
},
5459
sortBy: {
@@ -59,7 +64,7 @@ export default {
5964
options: [
6065
"date",
6166
"name",
62-
"city"
67+
"city",
6368
],
6469
},
6570
sortDir: {
@@ -69,7 +74,7 @@ export default {
6974
optional: true,
7075
options: [
7176
"asc",
72-
"desc"
77+
"desc",
7378
],
7479
},
7580
includePerformers: {
@@ -84,19 +89,16 @@ export default {
8489
partner_id: this.partnerId,
8590
organization_id: this.organizationId,
8691
start_after: this.startAfter,
87-
start_before: this.startBefore,
88-
start_phrase: this.startPhrase,
89-
end_after: this.endAfter,
9092
end_before: this.endBefore,
91-
created_after: this.createdAfter,
92-
created_before: this.createdBefore,
9393
active_only: this.activeOnly,
9494
privacy_type: this.privacyType,
9595
sort_by: this.sortBy,
9696
sort_dir: this.sortDir,
9797
include_performers: this.includePerformers,
9898
};
9999

100-
return this.ticketsauce.listEvents({ params });
100+
return this.ticketsauce.listEvents({
101+
params,
102+
});
101103
},
102-
};
104+
};

components/ticketsauce/actions/get-order-details/get-order-details.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default {
66
description: "Get details for the specified order. [See documentation](https://speca.io/ticketsauce/ticketsauce-public-api?key=204000d6bda66da78315e721920f43aa#order-details)",
77
version: "0.0.1",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
openWorldHint: true,
12+
readOnlyHint: true,
13+
},
914
props: {
1015
ticketsauce,
1116
partnerId: {

components/ticketsauce/actions/get-orders/get-orders.mjs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default {
66
description: "Get a list of orders from the specified event. [See documentation](https://speca.io/ticketsauce/ticketsauce-public-api?key=204000d6bda66da78315e721920f43aa#orders)",
77
version: "0.0.1",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
openWorldHint: true,
12+
readOnlyHint: true,
13+
},
914
props: {
1015
ticketsauce,
1116
partnerId: {
@@ -100,7 +105,7 @@ export default {
100105
default: "date",
101106
options: [
102107
"date",
103-
"name"
108+
"name",
104109
],
105110
},
106111
sortDir: {
@@ -111,7 +116,7 @@ export default {
111116
default: "asc",
112117
options: [
113118
"asc",
114-
"desc"
119+
"desc",
115120
],
116121
},
117122
totalAbove: {
@@ -137,7 +142,6 @@ export default {
137142
return_line_item_fees: this.returnLineItemFees,
138143
ordered_after: this.orderedAfter,
139144
ordered_before: this.orderedBefore,
140-
ordered_phrase: this.orderedPhrase,
141145
modified_after: this.modifiedAfter,
142146
modified_before: this.modifiedBefore,
143147
sort_by: this.sortBy,

components/ticketsauce/actions/get-ticket-checkin-ids/get-ticket-checkin-ids.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default {
66
description: "Get a list of ticket check-in IDs from the specified event. [See documentation](https://speca.io/ticketsauce/ticketsauce-public-api?key=204000d6bda66da78315e721920f43aa#ticket-checkin-ids)",
77
version: "0.0.1",
88
type: "action",
9+
annotations: {
10+
destructiveHint: false,
11+
openWorldHint: true,
12+
readOnlyHint: true,
13+
},
914
props: {
1015
ticketsauce,
1116
partnerId: {

0 commit comments

Comments
 (0)