@lessly/sdk-app 30.4.0 → 30.6.0

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.
Files changed (42) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.d.cts +1 -1
  4. package/dist/brain/index.d.ts +1 -1
  5. package/dist/{client.gen-D6GSULBV.d.cts → client.gen-DK6VpzBG.d.cts} +441 -4
  6. package/dist/{client.gen-D6GSULBV.d.ts → client.gen-DK6VpzBG.d.ts} +441 -4
  7. package/dist/consent/index.d.cts +1 -1
  8. package/dist/consent/index.d.ts +1 -1
  9. package/dist/deployment/index.d.cts +1 -1
  10. package/dist/deployment/index.d.ts +1 -1
  11. package/dist/index.cjs +144 -0
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +144 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/mail/index.d.cts +2 -2
  18. package/dist/mail/index.d.ts +2 -2
  19. package/dist/organization/index.d.cts +1 -1
  20. package/dist/organization/index.d.ts +1 -1
  21. package/dist/playground/index.d.cts +1 -1
  22. package/dist/playground/index.d.ts +1 -1
  23. package/dist/realtime/index.d.cts +1 -1
  24. package/dist/realtime/index.d.ts +1 -1
  25. package/dist/support/index.cjs +40 -0
  26. package/dist/support/index.cjs.map +1 -1
  27. package/dist/support/index.d.cts +34 -2
  28. package/dist/support/index.d.ts +34 -2
  29. package/dist/support/index.js +33 -1
  30. package/dist/support/index.js.map +1 -1
  31. package/dist/tracking/index.d.cts +1 -1
  32. package/dist/tracking/index.d.ts +1 -1
  33. package/dist/users/index.d.cts +1 -1
  34. package/dist/users/index.d.ts +1 -1
  35. package/dist/waitlist/index.d.cts +1 -1
  36. package/dist/waitlist/index.d.ts +1 -1
  37. package/package.json +2 -2
  38. package/src/gen/bindings.gen.ts +144 -0
  39. package/src/gen/client.gen.ts +30 -0
  40. package/src/gen/support/index.ts +1 -1
  41. package/src/gen/support/queryOptions.gen.ts +51 -0
  42. package/src/gen/types.gen.ts +443 -3
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient, l0 as UsersApikeysCreateInput, l1 as UsersApikeysCreateOutput, l2 as UsersApikeysListInput, l3 as UsersApikeysListOutput, l4 as UsersApikeysRevokeInput, l5 as UsersApikeysRevokeOutput, l6 as UsersAuditListInput, l7 as UsersAuditListOutput, l8 as UsersConfigGetInput, l9 as UsersConfigGetOutput, la as UsersConfigUpsertInput, lb as UsersConfigUpsertOutput, lc as UsersFactorsListInput, ld as UsersFactorsListOutput, le as UsersFactorsResetInput, lf as UsersFactorsResetOutput, lg as UsersKeysListInput, lh as UsersKeysListOutput, li as UsersKeysRevokeInput, lj as UsersKeysRevokeOutput, lk as UsersKeysRotateInput, ll as UsersKeysRotateOutput, lm as UsersOpsRetentionGetInput, ln as UsersOpsRetentionGetOutput, lo as UsersOpsSloGetInput, lp as UsersOpsSloGetOutput, lq as UsersSessionsGetInput, lr as UsersSessionsGetOutput, ls as UsersSessionsImpersonateInput, lt as UsersSessionsImpersonateOutput, lu as UsersSessionsListInput, lv as UsersSessionsListOutput, lw as UsersSessionsRevokeInput, lx as UsersSessionsRevokeOutput, ly as UsersStatsGetInput, lz as UsersStatsGetOutput, lA as UsersUsersBanInput, lB as UsersUsersBanOutput, lC as UsersUsersCreateInput, lD as UsersUsersCreateOutput, lE as UsersUsersDeleteInput, lF as UsersUsersDeleteOutput, lG as UsersUsersEraseInput, lH as UsersUsersEraseOutput, lI as UsersUsersExportInput, lJ as UsersUsersExportOutput, lK as UsersUsersGetInput, lL as UsersUsersGetOutput, lM as UsersUsersImportInput, lN as UsersUsersImportOutput, lO as UsersUsersInviteInput, lP as UsersUsersInviteOutput, lQ as UsersUsersListInput, lR as UsersUsersListOutput, lS as UsersUsersSetPrimaryIdentifierInput, lT as UsersUsersSetPrimaryIdentifierOutput, lU as UsersUsersUnbanInput, lV as UsersUsersUnbanOutput, lW as UsersUsersUpdateInput, lX as UsersUsersUpdateOutput, lY as UsersWaitlistEraseInput, lZ as UsersWaitlistEraseOutput, l_ as UsersWaitlistFunnelInput, l$ as UsersWaitlistFunnelOutput, m0 as UsersWaitlistImportInput, m1 as UsersWaitlistImportOutput, m2 as UsersWaitlistInviteInput, m3 as UsersWaitlistInviteOutput, m4 as UsersWaitlistListInput, m5 as UsersWaitlistListOutput, m6 as UsersWebhooksCreateInput, m7 as UsersWebhooksCreateOutput, m8 as UsersWebhooksDeleteInput, m9 as UsersWebhooksDeleteOutput, ma as UsersWebhooksDeliveriesListInput, mb as UsersWebhooksDeliveriesListOutput, mc as UsersWebhooksGetInput, md as UsersWebhooksGetOutput, me as UsersWebhooksListInput, mf as UsersWebhooksListOutput, mg as UsersWebhooksRotateSecretInput, mh as UsersWebhooksRotateSecretOutput, mi as UsersWebhooksUpdateInput, mj as UsersWebhooksUpdateOutput } from '../client.gen-D6GSULBV.js';
1
+ import { G as GeneratedClient, lg as UsersApikeysCreateInput, lh as UsersApikeysCreateOutput, li as UsersApikeysListInput, lj as UsersApikeysListOutput, lk as UsersApikeysRevokeInput, ll as UsersApikeysRevokeOutput, lm as UsersAuditListInput, ln as UsersAuditListOutput, lo as UsersConfigGetInput, lp as UsersConfigGetOutput, lq as UsersConfigUpsertInput, lr as UsersConfigUpsertOutput, ls as UsersFactorsListInput, lt as UsersFactorsListOutput, lu as UsersFactorsResetInput, lv as UsersFactorsResetOutput, lw as UsersKeysListInput, lx as UsersKeysListOutput, ly as UsersKeysRevokeInput, lz as UsersKeysRevokeOutput, lA as UsersKeysRotateInput, lB as UsersKeysRotateOutput, lC as UsersOpsRetentionGetInput, lD as UsersOpsRetentionGetOutput, lE as UsersOpsSloGetInput, lF as UsersOpsSloGetOutput, lG as UsersSessionsGetInput, lH as UsersSessionsGetOutput, lI as UsersSessionsImpersonateInput, lJ as UsersSessionsImpersonateOutput, lK as UsersSessionsListInput, lL as UsersSessionsListOutput, lM as UsersSessionsRevokeInput, lN as UsersSessionsRevokeOutput, lO as UsersStatsGetInput, lP as UsersStatsGetOutput, lQ as UsersUsersBanInput, lR as UsersUsersBanOutput, lS as UsersUsersCreateInput, lT as UsersUsersCreateOutput, lU as UsersUsersDeleteInput, lV as UsersUsersDeleteOutput, lW as UsersUsersEraseInput, lX as UsersUsersEraseOutput, lY as UsersUsersExportInput, lZ as UsersUsersExportOutput, l_ as UsersUsersGetInput, l$ as UsersUsersGetOutput, m0 as UsersUsersImportInput, m1 as UsersUsersImportOutput, m2 as UsersUsersInviteInput, m3 as UsersUsersInviteOutput, m4 as UsersUsersListInput, m5 as UsersUsersListOutput, m6 as UsersUsersSetPrimaryIdentifierInput, m7 as UsersUsersSetPrimaryIdentifierOutput, m8 as UsersUsersUnbanInput, m9 as UsersUsersUnbanOutput, ma as UsersUsersUpdateInput, mb as UsersUsersUpdateOutput, mc as UsersWaitlistEraseInput, md as UsersWaitlistEraseOutput, me as UsersWaitlistFunnelInput, mf as UsersWaitlistFunnelOutput, mg as UsersWaitlistImportInput, mh as UsersWaitlistImportOutput, mi as UsersWaitlistInviteInput, mj as UsersWaitlistInviteOutput, mk as UsersWaitlistListInput, ml as UsersWaitlistListOutput, mm as UsersWebhooksCreateInput, mn as UsersWebhooksCreateOutput, mo as UsersWebhooksDeleteInput, mp as UsersWebhooksDeleteOutput, mq as UsersWebhooksDeliveriesListInput, mr as UsersWebhooksDeliveriesListOutput, ms as UsersWebhooksGetInput, mt as UsersWebhooksGetOutput, mu as UsersWebhooksListInput, mv as UsersWebhooksListOutput, mw as UsersWebhooksRotateSecretInput, mx as UsersWebhooksRotateSecretOutput, my as UsersWebhooksUpdateInput, mz as UsersWebhooksUpdateOutput } from '../client.gen-DK6VpzBG.js';
2
2
 
3
3
  declare const usersApikeysCreateMutationOptions: (sdk: GeneratedClient) => {
4
4
  mutationKey: string[];
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient, mk as WaitlistConfigGetInput, ml as WaitlistConfigGetOutput, mm as WaitlistConfigUpsertInput, mn as WaitlistConfigUpsertOutput, mo as WaitlistEmbedGetInput, mp as WaitlistEmbedGetOutput, mq as WaitlistInvitesSendInput, mr as WaitlistInvitesSendOutput, ms as WaitlistSignupsEraseInput, mt as WaitlistSignupsEraseOutput, mu as WaitlistSignupsFunnelInput, mv as WaitlistSignupsFunnelOutput, mw as WaitlistSignupsListInput, mx as WaitlistSignupsListOutput } from '../client.gen-D6GSULBV.cjs';
1
+ import { G as GeneratedClient, mA as WaitlistConfigGetInput, mB as WaitlistConfigGetOutput, mC as WaitlistConfigUpsertInput, mD as WaitlistConfigUpsertOutput, mE as WaitlistEmbedGetInput, mF as WaitlistEmbedGetOutput, mG as WaitlistInvitesSendInput, mH as WaitlistInvitesSendOutput, mI as WaitlistSignupsEraseInput, mJ as WaitlistSignupsEraseOutput, mK as WaitlistSignupsFunnelInput, mL as WaitlistSignupsFunnelOutput, mM as WaitlistSignupsListInput, mN as WaitlistSignupsListOutput } from '../client.gen-DK6VpzBG.cjs';
2
2
 
3
3
  declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
4
4
  queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
@@ -1,4 +1,4 @@
1
- import { G as GeneratedClient, mk as WaitlistConfigGetInput, ml as WaitlistConfigGetOutput, mm as WaitlistConfigUpsertInput, mn as WaitlistConfigUpsertOutput, mo as WaitlistEmbedGetInput, mp as WaitlistEmbedGetOutput, mq as WaitlistInvitesSendInput, mr as WaitlistInvitesSendOutput, ms as WaitlistSignupsEraseInput, mt as WaitlistSignupsEraseOutput, mu as WaitlistSignupsFunnelInput, mv as WaitlistSignupsFunnelOutput, mw as WaitlistSignupsListInput, mx as WaitlistSignupsListOutput } from '../client.gen-D6GSULBV.js';
1
+ import { G as GeneratedClient, mA as WaitlistConfigGetInput, mB as WaitlistConfigGetOutput, mC as WaitlistConfigUpsertInput, mD as WaitlistConfigUpsertOutput, mE as WaitlistEmbedGetInput, mF as WaitlistEmbedGetOutput, mG as WaitlistInvitesSendInput, mH as WaitlistInvitesSendOutput, mI as WaitlistSignupsEraseInput, mJ as WaitlistSignupsEraseOutput, mK as WaitlistSignupsFunnelInput, mL as WaitlistSignupsFunnelOutput, mM as WaitlistSignupsListInput, mN as WaitlistSignupsListOutput } from '../client.gen-DK6VpzBG.js';
2
2
 
3
3
  declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
4
4
  queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "30.4.0",
3
+ "version": "30.6.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -101,5 +101,5 @@
101
101
  "require": "./dist/waitlist/index.cjs"
102
102
  }
103
103
  },
104
- "sdkContentHash": "sha256:b5e732da3b12c1feb37cb4ddc6a1ead3257ce3137c76a702d088cb4eecc51626"
104
+ "sdkContentHash": "sha256:b9d6d2b4348ada79046612d70546a82724877b1767f804218cb57d573bcdfdf3"
105
105
  }
@@ -5197,6 +5197,14 @@ export const bindings: BindingsMap = {
5197
5197
  "in": "query",
5198
5198
  "name": "visibility"
5199
5199
  },
5200
+ {
5201
+ "in": "query",
5202
+ "name": "since"
5203
+ },
5204
+ {
5205
+ "in": "query",
5206
+ "name": "cursor"
5207
+ },
5200
5208
  {
5201
5209
  "in": "query",
5202
5210
  "name": "limit"
@@ -5441,6 +5449,142 @@ export const bindings: BindingsMap = {
5441
5449
  "path": "/support/threads/:id/status",
5442
5450
  "readOnly": false
5443
5451
  }
5452
+ },
5453
+ "webhook": {
5454
+ "create": {
5455
+ "method": "POST",
5456
+ "params": [
5457
+ {
5458
+ "in": "body",
5459
+ "name": "url"
5460
+ },
5461
+ {
5462
+ "in": "body",
5463
+ "name": "eventTypes"
5464
+ },
5465
+ {
5466
+ "in": "body",
5467
+ "name": "description"
5468
+ }
5469
+ ],
5470
+ "path": "/support/webhooks",
5471
+ "readOnly": false
5472
+ },
5473
+ "delete": {
5474
+ "method": "DELETE",
5475
+ "params": [
5476
+ {
5477
+ "in": "path",
5478
+ "name": "id"
5479
+ }
5480
+ ],
5481
+ "path": "/support/webhooks/:id",
5482
+ "readOnly": false
5483
+ },
5484
+ "get": {
5485
+ "method": "GET",
5486
+ "params": [
5487
+ {
5488
+ "in": "path",
5489
+ "name": "id"
5490
+ }
5491
+ ],
5492
+ "path": "/support/webhooks/:id",
5493
+ "readOnly": true
5494
+ },
5495
+ "list": {
5496
+ "method": "GET",
5497
+ "path": "/support/webhooks",
5498
+ "readOnly": true
5499
+ },
5500
+ "redeliver": {
5501
+ "method": "POST",
5502
+ "params": [
5503
+ {
5504
+ "in": "body",
5505
+ "name": "id"
5506
+ }
5507
+ ],
5508
+ "path": "/support/webhook-deliveries/redeliver",
5509
+ "readOnly": false
5510
+ },
5511
+ "update": {
5512
+ "method": "PATCH",
5513
+ "params": [
5514
+ {
5515
+ "in": "body",
5516
+ "name": "url"
5517
+ },
5518
+ {
5519
+ "in": "body",
5520
+ "name": "eventTypes"
5521
+ },
5522
+ {
5523
+ "in": "body",
5524
+ "name": "description"
5525
+ },
5526
+ {
5527
+ "in": "body",
5528
+ "name": "status"
5529
+ },
5530
+ {
5531
+ "in": "path",
5532
+ "name": "id"
5533
+ }
5534
+ ],
5535
+ "path": "/support/webhooks/:id",
5536
+ "readOnly": false
5537
+ }
5538
+ },
5539
+ "webhook-deliveries": {
5540
+ "list": {
5541
+ "method": "GET",
5542
+ "params": [
5543
+ {
5544
+ "in": "query",
5545
+ "name": "webhookId"
5546
+ },
5547
+ {
5548
+ "in": "query",
5549
+ "name": "state"
5550
+ },
5551
+ {
5552
+ "in": "query",
5553
+ "name": "eventType"
5554
+ },
5555
+ {
5556
+ "in": "query",
5557
+ "name": "createdFrom"
5558
+ },
5559
+ {
5560
+ "in": "query",
5561
+ "name": "createdTo"
5562
+ },
5563
+ {
5564
+ "in": "query",
5565
+ "name": "limit"
5566
+ },
5567
+ {
5568
+ "in": "query",
5569
+ "name": "offset"
5570
+ }
5571
+ ],
5572
+ "path": "/support/webhook-deliveries",
5573
+ "readOnly": true
5574
+ }
5575
+ },
5576
+ "webhook-rotate": {
5577
+ "secret": {
5578
+ "method": "POST",
5579
+ "params": [
5580
+ {
5581
+ "in": "path",
5582
+ "name": "id"
5583
+ }
5584
+ ],
5585
+ "path": "/support/webhooks/:id/rotate-secret",
5586
+ "readOnly": false
5587
+ }
5444
5588
  }
5445
5589
  },
5446
5590
  "tracking": {
@@ -682,6 +682,22 @@ import type {
682
682
  SupportThreadStatusSetOutput,
683
683
  SupportThreadUpdateInput,
684
684
  SupportThreadUpdateOutput,
685
+ SupportWebhookCreateInput,
686
+ SupportWebhookCreateOutput,
687
+ SupportWebhookDeleteInput,
688
+ SupportWebhookDeleteOutput,
689
+ SupportWebhookDeliveriesListInput,
690
+ SupportWebhookDeliveriesListOutput,
691
+ SupportWebhookGetInput,
692
+ SupportWebhookGetOutput,
693
+ SupportWebhookListInput,
694
+ SupportWebhookListOutput,
695
+ SupportWebhookRedeliverInput,
696
+ SupportWebhookRedeliverOutput,
697
+ SupportWebhookRotateSecretInput,
698
+ SupportWebhookRotateSecretOutput,
699
+ SupportWebhookUpdateInput,
700
+ SupportWebhookUpdateOutput,
685
701
  TrackingDomainsCreateInput,
686
702
  TrackingDomainsCreateOutput,
687
703
  TrackingDomainsDeleteInput,
@@ -1481,6 +1497,20 @@ export interface GeneratedClient {
1481
1497
  'thread-status': {
1482
1498
  set(input: SupportThreadStatusSetInput): Promise<SupportThreadStatusSetOutput>;
1483
1499
  };
1500
+ webhook: {
1501
+ create(input: SupportWebhookCreateInput): Promise<SupportWebhookCreateOutput>;
1502
+ delete(input: SupportWebhookDeleteInput): Promise<SupportWebhookDeleteOutput>;
1503
+ get(input: SupportWebhookGetInput): Promise<SupportWebhookGetOutput>;
1504
+ list(input: SupportWebhookListInput): Promise<SupportWebhookListOutput>;
1505
+ redeliver(input: SupportWebhookRedeliverInput): Promise<SupportWebhookRedeliverOutput>;
1506
+ update(input: SupportWebhookUpdateInput): Promise<SupportWebhookUpdateOutput>;
1507
+ };
1508
+ 'webhook-deliveries': {
1509
+ list(input: SupportWebhookDeliveriesListInput): Promise<SupportWebhookDeliveriesListOutput>;
1510
+ };
1511
+ 'webhook-rotate': {
1512
+ secret(input: SupportWebhookRotateSecretInput): Promise<SupportWebhookRotateSecretOutput>;
1513
+ };
1484
1514
  };
1485
1515
  tracking: {
1486
1516
  domains: {
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageListInput, SupportMessageListOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput } from '../types.gen';
3
+ export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageListInput, SupportMessageListOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
@@ -28,6 +28,17 @@ import type {
28
28
  SupportThreadListOutput,
29
29
  SupportThreadStatusSetInput,
30
30
  SupportThreadUpdateInput,
31
+ SupportWebhookCreateInput,
32
+ SupportWebhookDeleteInput,
33
+ SupportWebhookDeliveriesListInput,
34
+ SupportWebhookDeliveriesListOutput,
35
+ SupportWebhookGetInput,
36
+ SupportWebhookGetOutput,
37
+ SupportWebhookListInput,
38
+ SupportWebhookListOutput,
39
+ SupportWebhookRedeliverInput,
40
+ SupportWebhookRotateSecretInput,
41
+ SupportWebhookUpdateInput,
31
42
  } from '../types.gen';
32
43
 
33
44
  export const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({
@@ -129,3 +140,43 @@ export const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({
129
140
  mutationKey: ['support', 'thread', 'update'],
130
141
  mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),
131
142
  });
143
+
144
+ export const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({
145
+ mutationKey: ['support', 'webhook', 'create'],
146
+ mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),
147
+ });
148
+
149
+ export const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({
150
+ mutationKey: ['support', 'webhook', 'delete'],
151
+ mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),
152
+ });
153
+
154
+ export const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({
155
+ queryKey: ['support', 'webhook-deliveries', 'list', input] as const,
156
+ queryFn: () => sdk['support']['webhook-deliveries']['list'](input),
157
+ });
158
+
159
+ export const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({
160
+ queryKey: ['support', 'webhook', 'get', input] as const,
161
+ queryFn: () => sdk['support']['webhook']['get'](input),
162
+ });
163
+
164
+ export const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({
165
+ queryKey: ['support', 'webhook', 'list', input] as const,
166
+ queryFn: () => sdk['support']['webhook']['list'](input),
167
+ });
168
+
169
+ export const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({
170
+ mutationKey: ['support', 'webhook', 'redeliver'],
171
+ mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),
172
+ });
173
+
174
+ export const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
175
+ mutationKey: ['support', 'webhook-rotate', 'secret'],
176
+ mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),
177
+ });
178
+
179
+ export const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({
180
+ mutationKey: ['support', 'webhook', 'update'],
181
+ mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),
182
+ });