@lessly/sdk-app 0.1.11 → 0.2.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.
- package/dist/client.gen-kP64GHhc.d.cts +75 -0
- package/dist/client.gen-kP64GHhc.d.ts +75 -0
- package/dist/index.cjs +23 -735
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -735
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +16 -0
- package/dist/mail/index.cjs.map +1 -0
- package/dist/mail/index.d.cts +13 -0
- package/dist/mail/index.d.ts +13 -0
- package/dist/mail/index.js +13 -0
- package/dist/mail/index.js.map +1 -0
- package/dist/playground/index.cjs +0 -55
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.d.cts +2 -46
- package/dist/playground/index.d.ts +2 -46
- package/dist/playground/index.js +1 -45
- package/dist/playground/index.js.map +1 -1
- package/dist/tracking/index.cjs +26 -0
- package/dist/tracking/index.cjs.map +1 -0
- package/dist/tracking/index.d.cts +20 -0
- package/dist/tracking/index.d.ts +20 -0
- package/dist/tracking/index.js +21 -0
- package/dist/tracking/index.js.map +1 -0
- package/package.json +11 -7
- package/src/gen/bindings.gen.ts +23 -735
- package/src/gen/client.gen.ts +25 -219
- package/src/gen/mail/index.ts +3 -0
- package/src/gen/mail/queryOptions.gen.ts +17 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +1 -1
- package/src/gen/playground/queryOptions.gen.ts +0 -76
- package/src/gen/tracking/index.ts +3 -0
- package/src/gen/tracking/queryOptions.gen.ts +31 -0
- package/src/gen/types.gen.ts +27 -900
- package/dist/client.gen-DtgaSZYB.d.cts +0 -909
- package/dist/client.gen-DtgaSZYB.d.ts +0 -909
- package/dist/organization/index.cjs +0 -251
- package/dist/organization/index.cjs.map +0 -1
- package/dist/organization/index.d.cts +0 -200
- package/dist/organization/index.d.ts +0 -200
- package/dist/organization/index.js +0 -201
- package/dist/organization/index.js.map +0 -1
- package/src/gen/organization/index.ts +0 -3
- package/src/gen/organization/queryOptions.gen.ts +0 -318
package/src/gen/client.gen.ts
CHANGED
|
@@ -1,237 +1,43 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
OrganizationClickupInstallInput,
|
|
8
|
-
OrganizationClickupInstallOutput,
|
|
9
|
-
OrganizationClickupListInstallationsInput,
|
|
10
|
-
OrganizationClickupListInstallationsOutput,
|
|
11
|
-
OrganizationCloudflareInstallInput,
|
|
12
|
-
OrganizationCloudflareInstallOutput,
|
|
13
|
-
OrganizationConnectorsAttachInput,
|
|
14
|
-
OrganizationConnectorsAttachOutput,
|
|
15
|
-
OrganizationConnectorsDeleteInput,
|
|
16
|
-
OrganizationConnectorsDeleteOutput,
|
|
17
|
-
OrganizationConnectorsDetachInput,
|
|
18
|
-
OrganizationConnectorsDetachOutput,
|
|
19
|
-
OrganizationConnectorsListAttachmentsInput,
|
|
20
|
-
OrganizationConnectorsListAttachmentsOutput,
|
|
21
|
-
OrganizationConnectorsListInput,
|
|
22
|
-
OrganizationConnectorsListOrgInput,
|
|
23
|
-
OrganizationConnectorsListOrgOutput,
|
|
24
|
-
OrganizationConnectorsListOutput,
|
|
25
|
-
OrganizationConnectorsRemoveInput,
|
|
26
|
-
OrganizationConnectorsRemoveOutput,
|
|
27
|
-
OrganizationDomainsAddInput,
|
|
28
|
-
OrganizationDomainsAddOutput,
|
|
29
|
-
OrganizationDomainsGetInput,
|
|
30
|
-
OrganizationDomainsGetOutput,
|
|
31
|
-
OrganizationDomainsListInput,
|
|
32
|
-
OrganizationDomainsListOutput,
|
|
33
|
-
OrganizationDomainsRemoveInput,
|
|
34
|
-
OrganizationDomainsRemoveOutput,
|
|
35
|
-
OrganizationExtensionsInstallInput,
|
|
36
|
-
OrganizationExtensionsInstallOutput,
|
|
37
|
-
OrganizationExtensionsListInput,
|
|
38
|
-
OrganizationExtensionsListInstalledInput,
|
|
39
|
-
OrganizationExtensionsListInstalledOutput,
|
|
40
|
-
OrganizationExtensionsListOutput,
|
|
41
|
-
OrganizationExtensionsUninstallInput,
|
|
42
|
-
OrganizationExtensionsUninstallOutput,
|
|
43
|
-
OrganizationGdriveInstallInput,
|
|
44
|
-
OrganizationGdriveInstallOutput,
|
|
45
|
-
OrganizationGithubInstallInput,
|
|
46
|
-
OrganizationGithubInstallOutput,
|
|
47
|
-
OrganizationGithubListInstallationsInput,
|
|
48
|
-
OrganizationGithubListInstallationsOutput,
|
|
49
|
-
OrganizationGoogleadsInstallInput,
|
|
50
|
-
OrganizationGoogleadsInstallOutput,
|
|
51
|
-
OrganizationMemberAcceptInviteInput,
|
|
52
|
-
OrganizationMemberAcceptInviteOutput,
|
|
53
|
-
OrganizationMemberInviteInput,
|
|
54
|
-
OrganizationMemberInviteOutput,
|
|
55
|
-
OrganizationMemberListInput,
|
|
56
|
-
OrganizationMemberListInvitationsInput,
|
|
57
|
-
OrganizationMemberListInvitationsOutput,
|
|
58
|
-
OrganizationMemberListOutput,
|
|
59
|
-
OrganizationMemberListProductAccessInput,
|
|
60
|
-
OrganizationMemberListProductAccessOutput,
|
|
61
|
-
OrganizationMemberRemoveInput,
|
|
62
|
-
OrganizationMemberRemoveOutput,
|
|
63
|
-
OrganizationMemberRevokeInvitationInput,
|
|
64
|
-
OrganizationMemberRevokeInvitationOutput,
|
|
65
|
-
OrganizationMemberSetRoleInput,
|
|
66
|
-
OrganizationMemberSetRoleOutput,
|
|
67
|
-
OrganizationMemberShareProductInput,
|
|
68
|
-
OrganizationMemberShareProductOutput,
|
|
69
|
-
OrganizationMemberUnshareProductInput,
|
|
70
|
-
OrganizationMemberUnshareProductOutput,
|
|
71
|
-
OrganizationMembersAssignRoleInput,
|
|
72
|
-
OrganizationMembersAssignRoleOutput,
|
|
73
|
-
OrganizationPermissionCatalogInput,
|
|
74
|
-
OrganizationPermissionCatalogOutput,
|
|
75
|
-
OrganizationProductAcceptInvitationInput,
|
|
76
|
-
OrganizationProductAcceptInvitationOutput,
|
|
77
|
-
OrganizationProductCreateInput,
|
|
78
|
-
OrganizationProductCreateOutput,
|
|
79
|
-
OrganizationProductInviteInput,
|
|
80
|
-
OrganizationProductInviteOutput,
|
|
81
|
-
OrganizationProductListInput,
|
|
82
|
-
OrganizationProductListInvitationsInput,
|
|
83
|
-
OrganizationProductListInvitationsOutput,
|
|
84
|
-
OrganizationProductListMembersInput,
|
|
85
|
-
OrganizationProductListMembersOutput,
|
|
86
|
-
OrganizationProductListOutput,
|
|
87
|
-
OrganizationProductRevokeInvitationInput,
|
|
88
|
-
OrganizationProductRevokeInvitationOutput,
|
|
89
|
-
OrganizationProductSelectInput,
|
|
90
|
-
OrganizationProductSelectOutput,
|
|
91
|
-
OrganizationRolesCreateInput,
|
|
92
|
-
OrganizationRolesCreateOutput,
|
|
93
|
-
OrganizationRolesDeleteInput,
|
|
94
|
-
OrganizationRolesDeleteOutput,
|
|
95
|
-
OrganizationRolesGetInput,
|
|
96
|
-
OrganizationRolesGetOutput,
|
|
97
|
-
OrganizationRolesListInput,
|
|
98
|
-
OrganizationRolesListOutput,
|
|
99
|
-
OrganizationRolesUpdateInput,
|
|
100
|
-
OrganizationRolesUpdateOutput,
|
|
101
|
-
PlaygroundAnalyticsOverviewInput,
|
|
102
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
103
|
-
PlaygroundBillingEntitlementsInput,
|
|
104
|
-
PlaygroundBillingEntitlementsOutput,
|
|
3
|
+
MailAudiencesAddContactInput,
|
|
4
|
+
MailAudiencesAddContactOutput,
|
|
5
|
+
MailTemplateListInput,
|
|
6
|
+
MailTemplateListOutput,
|
|
105
7
|
PlaygroundBillingRecordUsageInput,
|
|
106
8
|
PlaygroundBillingRecordUsageOutput,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
PlaygroundGdriveReadFileInput,
|
|
116
|
-
PlaygroundGdriveReadFileOutput,
|
|
117
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
118
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
119
|
-
PlaygroundLifecycleGetStateInput,
|
|
120
|
-
PlaygroundLifecycleGetStateOutput,
|
|
121
|
-
PlaygroundLifecycleListEventsInput,
|
|
122
|
-
PlaygroundLifecycleListEventsOutput,
|
|
123
|
-
PlaygroundWebhookGetLastInput,
|
|
124
|
-
PlaygroundWebhookGetLastOutput,
|
|
9
|
+
TrackingDomainsCreateInput,
|
|
10
|
+
TrackingDomainsCreateOutput,
|
|
11
|
+
TrackingDomainsGetInput,
|
|
12
|
+
TrackingDomainsGetOutput,
|
|
13
|
+
TrackingDomainsListInput,
|
|
14
|
+
TrackingDomainsListOutput,
|
|
15
|
+
TrackingEventNamesListInput,
|
|
16
|
+
TrackingEventNamesListOutput,
|
|
125
17
|
} from './types.gen';
|
|
126
18
|
|
|
127
19
|
export interface GeneratedClient {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
20
|
+
mail: {
|
|
21
|
+
audiences: {
|
|
22
|
+
'add-contact'(input: MailAudiencesAddContactInput): Promise<MailAudiencesAddContactOutput>;
|
|
131
23
|
};
|
|
132
|
-
|
|
133
|
-
list(input:
|
|
134
|
-
};
|
|
135
|
-
clickup: {
|
|
136
|
-
install(input: OrganizationClickupInstallInput): Promise<OrganizationClickupInstallOutput>;
|
|
137
|
-
'list-installations'(input: OrganizationClickupListInstallationsInput): Promise<OrganizationClickupListInstallationsOutput>;
|
|
138
|
-
};
|
|
139
|
-
cloudflare: {
|
|
140
|
-
install(input: OrganizationCloudflareInstallInput): Promise<OrganizationCloudflareInstallOutput>;
|
|
141
|
-
};
|
|
142
|
-
connectors: {
|
|
143
|
-
attach(input: OrganizationConnectorsAttachInput): Promise<OrganizationConnectorsAttachOutput>;
|
|
144
|
-
delete(input: OrganizationConnectorsDeleteInput): Promise<OrganizationConnectorsDeleteOutput>;
|
|
145
|
-
detach(input: OrganizationConnectorsDetachInput): Promise<OrganizationConnectorsDetachOutput>;
|
|
146
|
-
list(input: OrganizationConnectorsListInput): Promise<OrganizationConnectorsListOutput>;
|
|
147
|
-
'list-attachments'(input: OrganizationConnectorsListAttachmentsInput): Promise<OrganizationConnectorsListAttachmentsOutput>;
|
|
148
|
-
'list-org'(input: OrganizationConnectorsListOrgInput): Promise<OrganizationConnectorsListOrgOutput>;
|
|
149
|
-
remove(input: OrganizationConnectorsRemoveInput): Promise<OrganizationConnectorsRemoveOutput>;
|
|
150
|
-
};
|
|
151
|
-
domains: {
|
|
152
|
-
add(input: OrganizationDomainsAddInput): Promise<OrganizationDomainsAddOutput>;
|
|
153
|
-
get(input: OrganizationDomainsGetInput): Promise<OrganizationDomainsGetOutput>;
|
|
154
|
-
list(input: OrganizationDomainsListInput): Promise<OrganizationDomainsListOutput>;
|
|
155
|
-
remove(input: OrganizationDomainsRemoveInput): Promise<OrganizationDomainsRemoveOutput>;
|
|
156
|
-
};
|
|
157
|
-
extensions: {
|
|
158
|
-
install(input: OrganizationExtensionsInstallInput): Promise<OrganizationExtensionsInstallOutput>;
|
|
159
|
-
list(input: OrganizationExtensionsListInput): Promise<OrganizationExtensionsListOutput>;
|
|
160
|
-
'list-installed'(input: OrganizationExtensionsListInstalledInput): Promise<OrganizationExtensionsListInstalledOutput>;
|
|
161
|
-
uninstall(input: OrganizationExtensionsUninstallInput): Promise<OrganizationExtensionsUninstallOutput>;
|
|
162
|
-
};
|
|
163
|
-
gdrive: {
|
|
164
|
-
install(input: OrganizationGdriveInstallInput): Promise<OrganizationGdriveInstallOutput>;
|
|
165
|
-
};
|
|
166
|
-
github: {
|
|
167
|
-
install(input: OrganizationGithubInstallInput): Promise<OrganizationGithubInstallOutput>;
|
|
168
|
-
'list-installations'(input: OrganizationGithubListInstallationsInput): Promise<OrganizationGithubListInstallationsOutput>;
|
|
169
|
-
};
|
|
170
|
-
googleads: {
|
|
171
|
-
install(input: OrganizationGoogleadsInstallInput): Promise<OrganizationGoogleadsInstallOutput>;
|
|
172
|
-
};
|
|
173
|
-
member: {
|
|
174
|
-
'accept-invite'(input: OrganizationMemberAcceptInviteInput): Promise<OrganizationMemberAcceptInviteOutput>;
|
|
175
|
-
invite(input: OrganizationMemberInviteInput): Promise<OrganizationMemberInviteOutput>;
|
|
176
|
-
list(input: OrganizationMemberListInput): Promise<OrganizationMemberListOutput>;
|
|
177
|
-
'list-invitations'(input: OrganizationMemberListInvitationsInput): Promise<OrganizationMemberListInvitationsOutput>;
|
|
178
|
-
'list-product-access'(input: OrganizationMemberListProductAccessInput): Promise<OrganizationMemberListProductAccessOutput>;
|
|
179
|
-
remove(input: OrganizationMemberRemoveInput): Promise<OrganizationMemberRemoveOutput>;
|
|
180
|
-
'revoke-invitation'(input: OrganizationMemberRevokeInvitationInput): Promise<OrganizationMemberRevokeInvitationOutput>;
|
|
181
|
-
'set-role'(input: OrganizationMemberSetRoleInput): Promise<OrganizationMemberSetRoleOutput>;
|
|
182
|
-
'share-product'(input: OrganizationMemberShareProductInput): Promise<OrganizationMemberShareProductOutput>;
|
|
183
|
-
'unshare-product'(input: OrganizationMemberUnshareProductInput): Promise<OrganizationMemberUnshareProductOutput>;
|
|
184
|
-
};
|
|
185
|
-
members: {
|
|
186
|
-
'assign-role'(input: OrganizationMembersAssignRoleInput): Promise<OrganizationMembersAssignRoleOutput>;
|
|
187
|
-
};
|
|
188
|
-
permission: {
|
|
189
|
-
catalog(input: OrganizationPermissionCatalogInput): Promise<OrganizationPermissionCatalogOutput>;
|
|
190
|
-
};
|
|
191
|
-
product: {
|
|
192
|
-
'accept-invitation'(input: OrganizationProductAcceptInvitationInput): Promise<OrganizationProductAcceptInvitationOutput>;
|
|
193
|
-
create(input: OrganizationProductCreateInput): Promise<OrganizationProductCreateOutput>;
|
|
194
|
-
invite(input: OrganizationProductInviteInput): Promise<OrganizationProductInviteOutput>;
|
|
195
|
-
list(input: OrganizationProductListInput): Promise<OrganizationProductListOutput>;
|
|
196
|
-
'list-invitations'(input: OrganizationProductListInvitationsInput): Promise<OrganizationProductListInvitationsOutput>;
|
|
197
|
-
'list-members'(input: OrganizationProductListMembersInput): Promise<OrganizationProductListMembersOutput>;
|
|
198
|
-
'revoke-invitation'(input: OrganizationProductRevokeInvitationInput): Promise<OrganizationProductRevokeInvitationOutput>;
|
|
199
|
-
select(input: OrganizationProductSelectInput): Promise<OrganizationProductSelectOutput>;
|
|
200
|
-
};
|
|
201
|
-
roles: {
|
|
202
|
-
create(input: OrganizationRolesCreateInput): Promise<OrganizationRolesCreateOutput>;
|
|
203
|
-
delete(input: OrganizationRolesDeleteInput): Promise<OrganizationRolesDeleteOutput>;
|
|
204
|
-
get(input: OrganizationRolesGetInput): Promise<OrganizationRolesGetOutput>;
|
|
205
|
-
list(input: OrganizationRolesListInput): Promise<OrganizationRolesListOutput>;
|
|
206
|
-
update(input: OrganizationRolesUpdateInput): Promise<OrganizationRolesUpdateOutput>;
|
|
24
|
+
template: {
|
|
25
|
+
list(input: MailTemplateListInput): Promise<MailTemplateListOutput>;
|
|
207
26
|
};
|
|
208
27
|
};
|
|
209
28
|
playground: {
|
|
210
|
-
analytics: {
|
|
211
|
-
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
212
|
-
};
|
|
213
29
|
billing: {
|
|
214
|
-
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
215
30
|
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
216
31
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
224
|
-
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
225
|
-
};
|
|
226
|
-
googleads: {
|
|
227
|
-
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
228
|
-
};
|
|
229
|
-
lifecycle: {
|
|
230
|
-
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
231
|
-
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
32
|
+
};
|
|
33
|
+
tracking: {
|
|
34
|
+
domains: {
|
|
35
|
+
create(input: TrackingDomainsCreateInput): Promise<TrackingDomainsCreateOutput>;
|
|
36
|
+
get(input: TrackingDomainsGetInput): Promise<TrackingDomainsGetOutput>;
|
|
37
|
+
list(input: TrackingDomainsListInput): Promise<TrackingDomainsListOutput>;
|
|
232
38
|
};
|
|
233
|
-
|
|
234
|
-
|
|
39
|
+
'event-names': {
|
|
40
|
+
list(input: TrackingEventNamesListInput): Promise<TrackingEventNamesListOutput>;
|
|
235
41
|
};
|
|
236
42
|
};
|
|
237
43
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
MailAudiencesAddContactInput,
|
|
5
|
+
MailTemplateListInput,
|
|
6
|
+
MailTemplateListOutput,
|
|
7
|
+
} from '../types.gen';
|
|
8
|
+
|
|
9
|
+
export const mailAudiencesAddContactMutationOptions = (sdk: GeneratedClient) => ({
|
|
10
|
+
mutationKey: ['mail', 'audiences', 'add-contact'],
|
|
11
|
+
mutationFn: (input: MailAudiencesAddContactInput) => sdk['mail']['audiences']['add-contact'](input),
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export const mailTemplateListQueryOptions = (sdk: GeneratedClient, input: MailTemplateListInput) => ({
|
|
15
|
+
queryKey: ['mail', 'template', 'list', input] as const,
|
|
16
|
+
queryFn: () => sdk['mail']['template']['list'](input),
|
|
17
|
+
});
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['
|
|
2
|
+
export const namespaces = ['mail', 'playground', 'tracking'] as const;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type {
|
|
3
|
+
export type { PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput } from '../types.gen';
|
|
@@ -1,86 +1,10 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
-
PlaygroundAnalyticsOverviewInput,
|
|
5
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
-
PlaygroundBillingEntitlementsInput,
|
|
7
|
-
PlaygroundBillingEntitlementsOutput,
|
|
8
4
|
PlaygroundBillingRecordUsageInput,
|
|
9
|
-
PlaygroundClickupCreateTaskInput,
|
|
10
|
-
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
-
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
-
PlaygroundClickupGetOverviewInput,
|
|
13
|
-
PlaygroundClickupGetOverviewOutput,
|
|
14
|
-
PlaygroundGdriveGetLastChangeInput,
|
|
15
|
-
PlaygroundGdriveGetLastChangeOutput,
|
|
16
|
-
PlaygroundGdriveReadFileInput,
|
|
17
|
-
PlaygroundGdriveReadFileOutput,
|
|
18
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
19
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
20
|
-
PlaygroundLifecycleGetStateInput,
|
|
21
|
-
PlaygroundLifecycleGetStateOutput,
|
|
22
|
-
PlaygroundLifecycleListEventsInput,
|
|
23
|
-
PlaygroundLifecycleListEventsOutput,
|
|
24
|
-
PlaygroundWebhookGetLastInput,
|
|
25
|
-
PlaygroundWebhookGetLastOutput,
|
|
26
5
|
} from '../types.gen';
|
|
27
6
|
|
|
28
|
-
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
29
|
-
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
30
|
-
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
34
|
-
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
35
|
-
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
36
|
-
});
|
|
37
|
-
|
|
38
7
|
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
39
8
|
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
40
9
|
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
41
10
|
});
|
|
42
|
-
|
|
43
|
-
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
44
|
-
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
45
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
49
|
-
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
50
|
-
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
54
|
-
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
55
|
-
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
59
|
-
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
60
|
-
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
64
|
-
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
65
|
-
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
69
|
-
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
70
|
-
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
74
|
-
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
75
|
-
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
79
|
-
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
80
|
-
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
84
|
-
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
85
|
-
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
86
|
-
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { TrackingDomainsCreateInput, TrackingDomainsCreateOutput, TrackingDomainsGetInput, TrackingDomainsGetOutput, TrackingDomainsListInput, TrackingDomainsListOutput, TrackingEventNamesListInput, TrackingEventNamesListOutput } from '../types.gen';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
TrackingDomainsCreateInput,
|
|
5
|
+
TrackingDomainsGetInput,
|
|
6
|
+
TrackingDomainsGetOutput,
|
|
7
|
+
TrackingDomainsListInput,
|
|
8
|
+
TrackingDomainsListOutput,
|
|
9
|
+
TrackingEventNamesListInput,
|
|
10
|
+
TrackingEventNamesListOutput,
|
|
11
|
+
} from '../types.gen';
|
|
12
|
+
|
|
13
|
+
export const trackingDomainsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
14
|
+
mutationKey: ['tracking', 'domains', 'create'],
|
|
15
|
+
mutationFn: (input: TrackingDomainsCreateInput) => sdk['tracking']['domains']['create'](input),
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export const trackingDomainsGetQueryOptions = (sdk: GeneratedClient, input: TrackingDomainsGetInput) => ({
|
|
19
|
+
queryKey: ['tracking', 'domains', 'get', input] as const,
|
|
20
|
+
queryFn: () => sdk['tracking']['domains']['get'](input),
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const trackingDomainsListQueryOptions = (sdk: GeneratedClient, input: TrackingDomainsListInput) => ({
|
|
24
|
+
queryKey: ['tracking', 'domains', 'list', input] as const,
|
|
25
|
+
queryFn: () => sdk['tracking']['domains']['list'](input),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export const trackingEventNamesListQueryOptions = (sdk: GeneratedClient, input: TrackingEventNamesListInput) => ({
|
|
29
|
+
queryKey: ['tracking', 'event-names', 'list', input] as const,
|
|
30
|
+
queryFn: () => sdk['tracking']['event-names']['list'](input),
|
|
31
|
+
});
|