@periskope/types 0.6.256 → 0.6.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export type MessageRulesInfoType = Merge<AppendTypes<{
16
16
  }, '.'>, {
17
17
  rule: Tables<'tbl_automation_rules'>[];
18
18
  id: 'message.message_id';
19
- type: `message.${'created' | 'updated' | 'flagged'}`;
19
+ type: `message.${'created' | 'updated' | 'flagged' | 'deleted'}`;
20
20
  org_id: string;
21
21
  }>;
22
22
  export type TicketRulesInfoType = Merge<AppendTypes<{
@@ -26,7 +26,7 @@ export type TicketRulesInfoType = Merge<AppendTypes<{
26
26
  chat: ChatVariablesType;
27
27
  }, '.'>, {
28
28
  id: 'ticket.ticket_id';
29
- type: `ticket.${'created' | 'updated'}`;
29
+ type: `ticket.${'created' | 'updated' | 'closed'}`;
30
30
  org_id: string;
31
31
  rule: Tables<'tbl_automation_rules'>[];
32
32
  }>;
@@ -301,7 +301,7 @@ export declare const isSendMessageOrReplyToMessageAction: (action: Action) => ac
301
301
  export type Rule = OverrideProperties<Tables<'tbl_automation_rules'>, {
302
302
  actions: Action[];
303
303
  conditions: Conditions;
304
- trigger: 'message.created' | 'message.updated' | 'chat.created' | 'ticket.updated' | 'ticket.created' | 'reaction.added' | 'chat.label.updated' | 'message.flagged';
304
+ trigger: 'message.created' | 'message.updated' | 'chat.created' | 'ticket.updated' | 'ticket.created' | 'reaction.added' | 'chat.label.updated' | 'message.flagged' | 'message.deleted' | 'ticket.closed';
305
305
  }>;
306
306
  export declare const RuleNameMap: Record<Rule['trigger'], {
307
307
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"rules.types.d.ts","sourceRoot":"","sources":["../src/rules.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EACL,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ACpB,iBAAiB,GACjB,qBAAqB,GACrB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,mBAAmB,GACnB,sBAAsB,GACtB,sBAAsB,GACtB,eAAe,GACf,cAAc,CAAC;AAEnB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,mBAAmB,CAAC;IAC3B,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;CAClC,CAyOA,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CACzC,IAAI,CAAC,SAAS,CAAC,EACf,KAAK,CACD,MAAM,WAAW,CAAC;IAAE,OAAO,EAAE,oBAAoB,CAAA;CAAE,EAAE,GAAG,CAAC,GACzD,MAAM,WAAW,CAAC;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,EAAE,GAAG,CAAC,GACvD,MAAM,WAAW,CAAC;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,EAAE,GAAG,CAAC,GACnD,MAAM,WAAW,CAAC;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,EAAE,GAAG,CAAC,GACvD,MAAM,WAAW,CAAC;IAAE,QAAQ,EAAE,qBAAqB,CAAA;CAAE,EAAE,GAAG,CAAC,CAC9D,CAsBF,CAAC"}
@@ -204,6 +204,13 @@ exports.SenderVariableNameMap = {
204
204
  placeholder: 'e.g. 919876543210',
205
205
  variable_type: 'string',
206
206
  },
207
+ 'sender.labels': {
208
+ text: 'Sender Contact Labels',
209
+ type: 'dropdown',
210
+ value: 'org.labels',
211
+ filters: ['CONTAINS', 'NCONTAINS'],
212
+ variable_type: 'string',
213
+ },
207
214
  'sender.org_id': {
208
215
  text: 'Org ID',
209
216
  type: 'string',
@@ -641,6 +648,20 @@ exports.RuleNameMap = {
641
648
  org_phone: true,
642
649
  },
643
650
  },
651
+ 'message.deleted': {
652
+ title: 'Message Deleted',
653
+ description: 'When a message is Deleted',
654
+ base_conditions: {
655
+ org_phone: true,
656
+ },
657
+ },
658
+ 'ticket.closed': {
659
+ title: 'Ticket Closed',
660
+ description: 'When a Ticket is Closed',
661
+ base_conditions: {
662
+ org_phone: false,
663
+ },
664
+ },
644
665
  };
645
666
  exports.ActionNameMap = {
646
667
  send_message: {
@@ -704,6 +725,7 @@ exports.ActionNameMap = {
704
725
  'reaction.added',
705
726
  'message.flagged',
706
727
  'chat.label.updated',
728
+ 'ticket.closed',
707
729
  ],
708
730
  },
709
731
  reply_to_message: {
@@ -765,6 +787,7 @@ exports.ActionNameMap = {
765
787
  'message.flagged',
766
788
  'ticket.created',
767
789
  'ticket.updated',
790
+ 'ticket.closed',
768
791
  ],
769
792
  },
770
793
  delete_message: {
@@ -778,6 +801,7 @@ exports.ActionNameMap = {
778
801
  'message.flagged',
779
802
  'ticket.created',
780
803
  'ticket.updated',
804
+ 'ticket.closed',
781
805
  ],
782
806
  },
783
807
  attach_message_to_ticket: {
@@ -832,6 +856,8 @@ exports.ActionNameMap = {
832
856
  'reaction.added',
833
857
  'message.flagged',
834
858
  'chat.label.updated',
859
+ 'message.deleted',
860
+ 'ticket.closed',
835
861
  ],
836
862
  },
837
863
  create_ticket: {
@@ -926,6 +952,7 @@ exports.ActionNameMap = {
926
952
  'message.updated',
927
953
  'reaction.added',
928
954
  'message.flagged',
955
+ 'message.deleted',
929
956
  ],
930
957
  },
931
958
  flag_message: {
@@ -951,6 +978,7 @@ exports.ActionNameMap = {
951
978
  'message.flagged',
952
979
  'ticket.created',
953
980
  'ticket.updated',
981
+ 'ticket.closed',
954
982
  ],
955
983
  },
956
984
  assign_ticket: {
@@ -1020,7 +1048,12 @@ exports.ActionNameMap = {
1020
1048
  required: false,
1021
1049
  },
1022
1050
  },
1023
- validTriggers: ['ticket.updated', 'ticket.created', 'reaction.added'],
1051
+ validTriggers: [
1052
+ 'ticket.updated',
1053
+ 'ticket.created',
1054
+ 'reaction.added',
1055
+ 'message.deleted',
1056
+ ],
1024
1057
  },
1025
1058
  add_chat_label: {
1026
1059
  title: 'Add Chat Label',
@@ -1044,6 +1077,8 @@ exports.ActionNameMap = {
1044
1077
  'reaction.added',
1045
1078
  'chat.label.updated',
1046
1079
  'message.flagged',
1080
+ 'message.deleted',
1081
+ 'ticket.closed',
1047
1082
  ],
1048
1083
  },
1049
1084
  add_ticket_label: {
@@ -1073,6 +1108,8 @@ exports.ActionNameMap = {
1073
1108
  'reaction.added',
1074
1109
  'message.flagged',
1075
1110
  'chat.label.updated',
1111
+ 'message.deleted',
1112
+ 'ticket.closed',
1076
1113
  ],
1077
1114
  inputs: {
1078
1115
  property_id: {
@@ -1152,6 +1189,8 @@ exports.ActionNameMap = {
1152
1189
  'reaction.added',
1153
1190
  'chat.label.updated',
1154
1191
  'message.flagged',
1192
+ 'message.deleted',
1193
+ 'ticket.closed',
1155
1194
  ],
1156
1195
  },
1157
1196
  close_chat: {
@@ -1167,6 +1206,8 @@ exports.ActionNameMap = {
1167
1206
  'reaction.added',
1168
1207
  'chat.label.updated',
1169
1208
  'message.flagged',
1209
+ 'message.deleted',
1210
+ 'ticket.closed',
1170
1211
  ],
1171
1212
  },
1172
1213
  forward_message: {
@@ -1189,6 +1230,7 @@ exports.ActionNameMap = {
1189
1230
  'ticket.created',
1190
1231
  'reaction.added',
1191
1232
  'message.flagged',
1233
+ 'ticket.closed',
1192
1234
  ],
1193
1235
  },
1194
1236
  send_email: {
@@ -1229,6 +1271,8 @@ exports.ActionNameMap = {
1229
1271
  'reaction.added',
1230
1272
  'message.flagged',
1231
1273
  'chat.label.updated',
1274
+ 'message.deleted',
1275
+ 'ticket.closed',
1232
1276
  ],
1233
1277
  },
1234
1278
  send_slack_notification: {
@@ -1243,6 +1287,8 @@ exports.ActionNameMap = {
1243
1287
  'reaction.added',
1244
1288
  'message.flagged',
1245
1289
  'chat.label.updated',
1290
+ 'message.deleted',
1291
+ 'ticket.closed',
1246
1292
  ],
1247
1293
  inputs: {
1248
1294
  webhook_url: {
@@ -1303,6 +1349,8 @@ exports.ActionNameMap = {
1303
1349
  'reaction.added',
1304
1350
  'message.flagged',
1305
1351
  'chat.label.updated',
1352
+ 'message.deleted',
1353
+ 'ticket.closed',
1306
1354
  ],
1307
1355
  },
1308
1356
  };
@@ -1558,5 +1606,7 @@ exports.variablesExclusionList = {
1558
1606
  'reaction.added': [],
1559
1607
  'message.updated': [],
1560
1608
  'message.flagged': [],
1609
+ 'message.deleted': [],
1610
+ 'ticket.closed': [],
1561
1611
  'chat.label.updated': [],
1562
1612
  };
package/dist/types.d.ts CHANGED
@@ -1,3 +1,286 @@
1
+ /// <reference types="stripe/types/crypto/crypto" />
2
+ /// <reference types="stripe/types/shared" />
3
+ /// <reference types="stripe/types/errors" />
4
+ /// <reference types="stripe/types/oauth" />
5
+ /// <reference types="stripe/types/webhooks" />
6
+ /// <reference types="stripe/types/eventtypes" />
7
+ /// <reference types="stripe/types/upcominginvoices" />
8
+ /// <reference types="stripe/types/deprecations" />
9
+ /// <reference types="stripe/types/thinevent" />
10
+ /// <reference types="stripe/types/accountlinksresource" />
11
+ /// <reference types="stripe/types/accountsessionsresource" />
12
+ /// <reference types="stripe/types/accountsresource" />
13
+ /// <reference types="stripe/types/applepaydomainsresource" />
14
+ /// <reference types="stripe/types/applicationfeesresource" />
15
+ /// <reference types="stripe/types/apps/secretsresource" />
16
+ /// <reference types="stripe/types/balanceresource" />
17
+ /// <reference types="stripe/types/balancetransactionsresource" />
18
+ /// <reference types="stripe/types/billing/alertsresource" />
19
+ /// <reference types="stripe/types/billing/creditbalancesummaryresource" />
20
+ /// <reference types="stripe/types/billing/creditbalancetransactionsresource" />
21
+ /// <reference types="stripe/types/billing/creditgrantsresource" />
22
+ /// <reference types="stripe/types/billing/metereventadjustmentsresource" />
23
+ /// <reference types="stripe/types/billing/metereventsresource" />
24
+ /// <reference types="stripe/types/billing/metersresource" />
25
+ /// <reference types="stripe/types/billingportal/configurationsresource" />
26
+ /// <reference types="stripe/types/billingportal/sessionsresource" />
27
+ /// <reference types="stripe/types/chargesresource" />
28
+ /// <reference types="stripe/types/checkout/sessionsresource" />
29
+ /// <reference types="stripe/types/climate/ordersresource" />
30
+ /// <reference types="stripe/types/climate/productsresource" />
31
+ /// <reference types="stripe/types/climate/suppliersresource" />
32
+ /// <reference types="stripe/types/confirmationtokensresource" />
33
+ /// <reference types="stripe/types/countryspecsresource" />
34
+ /// <reference types="stripe/types/couponsresource" />
35
+ /// <reference types="stripe/types/creditnotesresource" />
36
+ /// <reference types="stripe/types/customersessionsresource" />
37
+ /// <reference types="stripe/types/customersresource" />
38
+ /// <reference types="stripe/types/disputesresource" />
39
+ /// <reference types="stripe/types/entitlements/activeentitlementsresource" />
40
+ /// <reference types="stripe/types/entitlements/featuresresource" />
41
+ /// <reference types="stripe/types/ephemeralkeysresource" />
42
+ /// <reference types="stripe/types/eventsresource" />
43
+ /// <reference types="stripe/types/exchangeratesresource" />
44
+ /// <reference types="stripe/types/filelinksresource" />
45
+ /// <reference types="stripe/types/filesresource" />
46
+ /// <reference types="stripe/types/financialconnections/accountsresource" />
47
+ /// <reference types="stripe/types/financialconnections/sessionsresource" />
48
+ /// <reference types="stripe/types/financialconnections/transactionsresource" />
49
+ /// <reference types="stripe/types/forwarding/requestsresource" />
50
+ /// <reference types="stripe/types/identity/verificationreportsresource" />
51
+ /// <reference types="stripe/types/identity/verificationsessionsresource" />
52
+ /// <reference types="stripe/types/invoiceitemsresource" />
53
+ /// <reference types="stripe/types/invoicerenderingtemplatesresource" />
54
+ /// <reference types="stripe/types/invoicesresource" />
55
+ /// <reference types="stripe/types/issuing/authorizationsresource" />
56
+ /// <reference types="stripe/types/issuing/cardholdersresource" />
57
+ /// <reference types="stripe/types/issuing/cardsresource" />
58
+ /// <reference types="stripe/types/issuing/disputesresource" />
59
+ /// <reference types="stripe/types/issuing/personalizationdesignsresource" />
60
+ /// <reference types="stripe/types/issuing/physicalbundlesresource" />
61
+ /// <reference types="stripe/types/issuing/tokensresource" />
62
+ /// <reference types="stripe/types/issuing/transactionsresource" />
63
+ /// <reference types="stripe/types/mandatesresource" />
64
+ /// <reference types="stripe/types/paymentintentsresource" />
65
+ /// <reference types="stripe/types/paymentlinksresource" />
66
+ /// <reference types="stripe/types/paymentmethodconfigurationsresource" />
67
+ /// <reference types="stripe/types/paymentmethoddomainsresource" />
68
+ /// <reference types="stripe/types/paymentmethodsresource" />
69
+ /// <reference types="stripe/types/payoutsresource" />
70
+ /// <reference types="stripe/types/plansresource" />
71
+ /// <reference types="stripe/types/pricesresource" />
72
+ /// <reference types="stripe/types/productsresource" />
73
+ /// <reference types="stripe/types/promotioncodesresource" />
74
+ /// <reference types="stripe/types/quotesresource" />
75
+ /// <reference types="stripe/types/radar/earlyfraudwarningsresource" />
76
+ /// <reference types="stripe/types/radar/valuelistitemsresource" />
77
+ /// <reference types="stripe/types/radar/valuelistsresource" />
78
+ /// <reference types="stripe/types/refundsresource" />
79
+ /// <reference types="stripe/types/reporting/reportrunsresource" />
80
+ /// <reference types="stripe/types/reporting/reporttypesresource" />
81
+ /// <reference types="stripe/types/reviewsresource" />
82
+ /// <reference types="stripe/types/setupattemptsresource" />
83
+ /// <reference types="stripe/types/setupintentsresource" />
84
+ /// <reference types="stripe/types/shippingratesresource" />
85
+ /// <reference types="stripe/types/sigma/scheduledqueryrunsresource" />
86
+ /// <reference types="stripe/types/sourcesresource" />
87
+ /// <reference types="stripe/types/subscriptionitemsresource" />
88
+ /// <reference types="stripe/types/subscriptionschedulesresource" />
89
+ /// <reference types="stripe/types/subscriptionsresource" />
90
+ /// <reference types="stripe/types/tax/calculationsresource" />
91
+ /// <reference types="stripe/types/tax/registrationsresource" />
92
+ /// <reference types="stripe/types/tax/settingsresource" />
93
+ /// <reference types="stripe/types/tax/transactionsresource" />
94
+ /// <reference types="stripe/types/taxcodesresource" />
95
+ /// <reference types="stripe/types/taxidsresource" />
96
+ /// <reference types="stripe/types/taxratesresource" />
97
+ /// <reference types="stripe/types/terminal/configurationsresource" />
98
+ /// <reference types="stripe/types/terminal/connectiontokensresource" />
99
+ /// <reference types="stripe/types/terminal/locationsresource" />
100
+ /// <reference types="stripe/types/terminal/readersresource" />
101
+ /// <reference types="stripe/types/testhelpers/confirmationtokensresource" />
102
+ /// <reference types="stripe/types/testhelpers/customersresource" />
103
+ /// <reference types="stripe/types/testhelpers/issuing/authorizationsresource" />
104
+ /// <reference types="stripe/types/testhelpers/issuing/cardsresource" />
105
+ /// <reference types="stripe/types/testhelpers/issuing/personalizationdesignsresource" />
106
+ /// <reference types="stripe/types/testhelpers/issuing/transactionsresource" />
107
+ /// <reference types="stripe/types/testhelpers/refundsresource" />
108
+ /// <reference types="stripe/types/testhelpers/terminal/readersresource" />
109
+ /// <reference types="stripe/types/testhelpers/testclocksresource" />
110
+ /// <reference types="stripe/types/testhelpers/treasury/inboundtransfersresource" />
111
+ /// <reference types="stripe/types/testhelpers/treasury/outboundpaymentsresource" />
112
+ /// <reference types="stripe/types/testhelpers/treasury/outboundtransfersresource" />
113
+ /// <reference types="stripe/types/testhelpers/treasury/receivedcreditsresource" />
114
+ /// <reference types="stripe/types/testhelpers/treasury/receiveddebitsresource" />
115
+ /// <reference types="stripe/types/tokensresource" />
116
+ /// <reference types="stripe/types/topupsresource" />
117
+ /// <reference types="stripe/types/transfersresource" />
118
+ /// <reference types="stripe/types/treasury/creditreversalsresource" />
119
+ /// <reference types="stripe/types/treasury/debitreversalsresource" />
120
+ /// <reference types="stripe/types/treasury/financialaccountsresource" />
121
+ /// <reference types="stripe/types/treasury/inboundtransfersresource" />
122
+ /// <reference types="stripe/types/treasury/outboundpaymentsresource" />
123
+ /// <reference types="stripe/types/treasury/outboundtransfersresource" />
124
+ /// <reference types="stripe/types/treasury/receivedcreditsresource" />
125
+ /// <reference types="stripe/types/treasury/receiveddebitsresource" />
126
+ /// <reference types="stripe/types/treasury/transactionentriesresource" />
127
+ /// <reference types="stripe/types/treasury/transactionsresource" />
128
+ /// <reference types="stripe/types/v2/billing/metereventadjustmentsresource" />
129
+ /// <reference types="stripe/types/v2/billing/metereventsessionresource" />
130
+ /// <reference types="stripe/types/v2/billing/metereventstreamresource" />
131
+ /// <reference types="stripe/types/v2/billing/metereventsresource" />
132
+ /// <reference types="stripe/types/v2/core/eventdestinationsresource" />
133
+ /// <reference types="stripe/types/v2/eventtypes" />
134
+ /// <reference types="stripe/types/v2/core/eventsresource" />
135
+ /// <reference types="stripe/types/webhookendpointsresource" />
136
+ /// <reference types="stripe/types/accountlinks" />
137
+ /// <reference types="stripe/types/accountsessions" />
138
+ /// <reference types="stripe/types/accounts" />
139
+ /// <reference types="stripe/types/applepaydomains" />
140
+ /// <reference types="stripe/types/applicationfees" />
141
+ /// <reference types="stripe/types/applications" />
142
+ /// <reference types="stripe/types/apps/secrets" />
143
+ /// <reference types="stripe/types/balance" />
144
+ /// <reference types="stripe/types/balancetransactionsources" />
145
+ /// <reference types="stripe/types/balancetransactions" />
146
+ /// <reference types="stripe/types/bankaccounts" />
147
+ /// <reference types="stripe/types/billing/alerttriggereds" />
148
+ /// <reference types="stripe/types/billing/alerts" />
149
+ /// <reference types="stripe/types/billing/creditbalancesummary" />
150
+ /// <reference types="stripe/types/billing/creditbalancetransactions" />
151
+ /// <reference types="stripe/types/billing/creditgrants" />
152
+ /// <reference types="stripe/types/billing/metereventadjustments" />
153
+ /// <reference types="stripe/types/billing/metereventsummaries" />
154
+ /// <reference types="stripe/types/billing/meterevents" />
155
+ /// <reference types="stripe/types/billing/meters" />
156
+ /// <reference types="stripe/types/billingportal/configurations" />
157
+ /// <reference types="stripe/types/billingportal/sessions" />
158
+ /// <reference types="stripe/types/capabilities" />
159
+ /// <reference types="stripe/types/cards" />
160
+ /// <reference types="stripe/types/cashbalances" />
161
+ /// <reference types="stripe/types/charges" />
162
+ /// <reference types="stripe/types/checkout/sessions" />
163
+ /// <reference types="stripe/types/climate/orders" />
164
+ /// <reference types="stripe/types/climate/products" />
165
+ /// <reference types="stripe/types/climate/suppliers" />
166
+ /// <reference types="stripe/types/confirmationtokens" />
167
+ /// <reference types="stripe/types/connectcollectiontransfers" />
168
+ /// <reference types="stripe/types/countryspecs" />
169
+ /// <reference types="stripe/types/coupons" />
170
+ /// <reference types="stripe/types/creditnotelineitems" />
171
+ /// <reference types="stripe/types/creditnotes" />
172
+ /// <reference types="stripe/types/customerbalancetransactions" />
173
+ /// <reference types="stripe/types/customercashbalancetransactions" />
174
+ /// <reference types="stripe/types/customersessions" />
175
+ /// <reference types="stripe/types/customersources" />
176
+ /// <reference types="stripe/types/customers" />
177
+ /// <reference types="stripe/types/discounts" />
178
+ /// <reference types="stripe/types/disputes" />
179
+ /// <reference types="stripe/types/entitlements/activeentitlementsummaries" />
180
+ /// <reference types="stripe/types/entitlements/activeentitlements" />
181
+ /// <reference types="stripe/types/entitlements/features" />
182
+ /// <reference types="stripe/types/ephemeralkeys" />
183
+ /// <reference types="stripe/types/events" />
184
+ /// <reference types="stripe/types/exchangerates" />
185
+ /// <reference types="stripe/types/externalaccounts" />
186
+ /// <reference types="stripe/types/feerefunds" />
187
+ /// <reference types="stripe/types/filelinks" />
188
+ /// <reference types="stripe/types/files" />
189
+ /// <reference types="stripe/types/financialconnections/accountowners" />
190
+ /// <reference types="stripe/types/financialconnections/accountownerships" />
191
+ /// <reference types="stripe/types/financialconnections/accounts" />
192
+ /// <reference types="stripe/types/financialconnections/sessions" />
193
+ /// <reference types="stripe/types/financialconnections/transactions" />
194
+ /// <reference types="stripe/types/forwarding/requests" />
195
+ /// <reference types="stripe/types/fundinginstructions" />
196
+ /// <reference types="stripe/types/identity/verificationreports" />
197
+ /// <reference types="stripe/types/identity/verificationsessions" />
198
+ /// <reference types="stripe/types/invoiceitems" />
199
+ /// <reference types="stripe/types/invoicelineitems" />
200
+ /// <reference types="stripe/types/invoicerenderingtemplates" />
201
+ /// <reference types="stripe/types/invoices" />
202
+ /// <reference types="stripe/types/issuing/authorizations" />
203
+ /// <reference types="stripe/types/issuing/cardholders" />
204
+ /// <reference types="stripe/types/issuing/cards" />
205
+ /// <reference types="stripe/types/issuing/disputes" />
206
+ /// <reference types="stripe/types/issuing/personalizationdesigns" />
207
+ /// <reference types="stripe/types/issuing/physicalbundles" />
208
+ /// <reference types="stripe/types/issuing/tokens" />
209
+ /// <reference types="stripe/types/issuing/transactions" />
210
+ /// <reference types="stripe/types/lineitems" />
211
+ /// <reference types="stripe/types/loginlinks" />
212
+ /// <reference types="stripe/types/mandates" />
213
+ /// <reference types="stripe/types/paymentintents" />
214
+ /// <reference types="stripe/types/paymentlinks" />
215
+ /// <reference types="stripe/types/paymentmethodconfigurations" />
216
+ /// <reference types="stripe/types/paymentmethoddomains" />
217
+ /// <reference types="stripe/types/paymentmethods" />
218
+ /// <reference types="stripe/types/payouts" />
219
+ /// <reference types="stripe/types/persons" />
220
+ /// <reference types="stripe/types/plans" />
221
+ /// <reference types="stripe/types/prices" />
222
+ /// <reference types="stripe/types/productfeatures" />
223
+ /// <reference types="stripe/types/products" />
224
+ /// <reference types="stripe/types/promotioncodes" />
225
+ /// <reference types="stripe/types/quotes" />
226
+ /// <reference types="stripe/types/radar/earlyfraudwarnings" />
227
+ /// <reference types="stripe/types/radar/valuelistitems" />
228
+ /// <reference types="stripe/types/radar/valuelists" />
229
+ /// <reference types="stripe/types/refunds" />
230
+ /// <reference types="stripe/types/reporting/reportruns" />
231
+ /// <reference types="stripe/types/reporting/reporttypes" />
232
+ /// <reference types="stripe/types/reservetransactions" />
233
+ /// <reference types="stripe/types/reviews" />
234
+ /// <reference types="stripe/types/setupattempts" />
235
+ /// <reference types="stripe/types/setupintents" />
236
+ /// <reference types="stripe/types/shippingrates" />
237
+ /// <reference types="stripe/types/sigma/scheduledqueryruns" />
238
+ /// <reference types="stripe/types/sourcemandatenotifications" />
239
+ /// <reference types="stripe/types/sourcetransactions" />
240
+ /// <reference types="stripe/types/sources" />
241
+ /// <reference types="stripe/types/subscriptionitems" />
242
+ /// <reference types="stripe/types/subscriptionschedules" />
243
+ /// <reference types="stripe/types/subscriptions" />
244
+ /// <reference types="stripe/types/tax/calculationlineitems" />
245
+ /// <reference types="stripe/types/tax/calculations" />
246
+ /// <reference types="stripe/types/tax/registrations" />
247
+ /// <reference types="stripe/types/tax/settings" />
248
+ /// <reference types="stripe/types/tax/transactionlineitems" />
249
+ /// <reference types="stripe/types/tax/transactions" />
250
+ /// <reference types="stripe/types/taxcodes" />
251
+ /// <reference types="stripe/types/taxdeductedatsources" />
252
+ /// <reference types="stripe/types/taxids" />
253
+ /// <reference types="stripe/types/taxrates" />
254
+ /// <reference types="stripe/types/terminal/configurations" />
255
+ /// <reference types="stripe/types/terminal/connectiontokens" />
256
+ /// <reference types="stripe/types/terminal/locations" />
257
+ /// <reference types="stripe/types/terminal/readers" />
258
+ /// <reference types="stripe/types/testhelpers/testclocks" />
259
+ /// <reference types="stripe/types/tokens" />
260
+ /// <reference types="stripe/types/topups" />
261
+ /// <reference types="stripe/types/transferreversals" />
262
+ /// <reference types="stripe/types/transfers" />
263
+ /// <reference types="stripe/types/treasury/creditreversals" />
264
+ /// <reference types="stripe/types/treasury/debitreversals" />
265
+ /// <reference types="stripe/types/treasury/financialaccountfeatures" />
266
+ /// <reference types="stripe/types/treasury/financialaccounts" />
267
+ /// <reference types="stripe/types/treasury/inboundtransfers" />
268
+ /// <reference types="stripe/types/treasury/outboundpayments" />
269
+ /// <reference types="stripe/types/treasury/outboundtransfers" />
270
+ /// <reference types="stripe/types/treasury/receivedcredits" />
271
+ /// <reference types="stripe/types/treasury/receiveddebits" />
272
+ /// <reference types="stripe/types/treasury/transactionentries" />
273
+ /// <reference types="stripe/types/treasury/transactions" />
274
+ /// <reference types="stripe/types/usagerecordsummaries" />
275
+ /// <reference types="stripe/types/usagerecords" />
276
+ /// <reference types="stripe/types/v2/billing/metereventadjustments" />
277
+ /// <reference types="stripe/types/v2/billing/metereventsessions" />
278
+ /// <reference types="stripe/types/v2/billing/meterevents" />
279
+ /// <reference types="stripe/types/v2/eventdestinations" />
280
+ /// <reference types="stripe/types/v2/events" />
281
+ /// <reference types="stripe/types/webhookendpoints" />
282
+ /// <reference types="stripe/types/lib" />
283
+ /// <reference types="stripe/types/net/net" />
1
284
  import type { default as _Stripe } from 'stripe';
2
285
  import { Merge, OverrideProperties } from 'type-fest';
3
286
  import { Filter, Rule } from './rules.types';
@@ -695,8 +978,9 @@ export type ChatRuleInfoType = Merge<Pick<Tables<'view_chats'>, 'assigned_to' |
695
978
  [key: string]: string;
696
979
  } | null;
697
980
  }>;
698
- export type SenderRuleInfoType = Merge<Omit<Merge<Tables<'tbl_contacts'>, Tables<'tbl_chat_participants'>>, 'verified_name' | 'verified_level' | 'updated_at' | 'short_name' | 'pushname' | 'periskope_name' | 'org_phone' | 'number' | 'name' | 'label_ids' | 'is_wa_contact' | 'is_user' | 'is_my_contact' | 'is_me' | 'is_imported' | 'is_group' | 'is_blocked' | 'contact_color' | 'business_profile' | 'id' | 'contact_image' | 'contact_type' | 'chat_id' | 'is_business' | 'is_enterprise' | 'is_super_admin' | 'labels'>, {
981
+ export type SenderRuleInfoType = Merge<Omit<Merge<Tables<'tbl_contacts'>, Tables<'tbl_chat_participants'>>, 'verified_name' | 'verified_level' | 'updated_at' | 'short_name' | 'pushname' | 'periskope_name' | 'org_phone' | 'number' | 'name' | 'label_ids' | 'is_wa_contact' | 'is_user' | 'is_my_contact' | 'is_me' | 'is_imported' | 'is_group' | 'is_blocked' | 'contact_color' | 'business_profile' | 'id' | 'contact_image' | 'contact_type' | 'chat_id' | 'is_business' | 'is_enterprise' | 'is_super_admin'>, {
699
982
  is_internal: boolean;
983
+ labels: string[] | null;
700
984
  }>;
701
985
  export type MessageRuleInfoType = {
702
986
  chat: ChatRuleInfoType;