@lessly/sdk-app 64.2.0 → 65.1.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/_types/gen/client.gen.d.ts +6 -34
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +13 -1
- package/dist/_types/gen/types.gen.d.ts +71 -257
- package/dist/index.cjs +77 -185
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10910 -20
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +15 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +13 -1
- package/dist/organization/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +74 -176
- package/src/gen/client.gen.ts +11 -63
- package/src/gen/manifest.gen.ts +4 -18
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +19 -0
- package/src/gen/types.gen.ts +77 -299
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -62
- package/dist/chunk-6MZMAF4Y.js +0 -11012
- package/dist/chunk-6MZMAF4Y.js.map +0 -1
- package/dist/playground/index.cjs +0 -96
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -70
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -105
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -6659,6 +6659,79 @@ export const bindings: BindingsMap = {
|
|
|
6659
6659
|
"readOnly": true
|
|
6660
6660
|
}
|
|
6661
6661
|
},
|
|
6662
|
+
"principal-grants": {
|
|
6663
|
+
"approve": {
|
|
6664
|
+
"level": "write",
|
|
6665
|
+
"method": "POST",
|
|
6666
|
+
"operationKey": "organization_principal-grants_approve",
|
|
6667
|
+
"params": [
|
|
6668
|
+
{
|
|
6669
|
+
"in": "path",
|
|
6670
|
+
"name": "productId"
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
"in": "body",
|
|
6674
|
+
"name": "principalKind"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"in": "body",
|
|
6678
|
+
"name": "principalId"
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
"in": "body",
|
|
6682
|
+
"name": "tools"
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/approve",
|
|
6686
|
+
"readOnly": false
|
|
6687
|
+
},
|
|
6688
|
+
"list": {
|
|
6689
|
+
"level": "read",
|
|
6690
|
+
"method": "GET",
|
|
6691
|
+
"operationKey": "organization_principal-grants_list",
|
|
6692
|
+
"params": [
|
|
6693
|
+
{
|
|
6694
|
+
"in": "path",
|
|
6695
|
+
"name": "productId"
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"in": "query",
|
|
6699
|
+
"name": "principalKind"
|
|
6700
|
+
}
|
|
6701
|
+
],
|
|
6702
|
+
"path": "/governance/api/v1/products/:productId/principal-grants",
|
|
6703
|
+
"readOnly": true
|
|
6704
|
+
},
|
|
6705
|
+
"revoke": {
|
|
6706
|
+
"level": "admin",
|
|
6707
|
+
"method": "POST",
|
|
6708
|
+
"operationKey": "organization_principal-grants_revoke",
|
|
6709
|
+
"params": [
|
|
6710
|
+
{
|
|
6711
|
+
"in": "path",
|
|
6712
|
+
"name": "productId"
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"in": "body",
|
|
6716
|
+
"name": "principalKind"
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"in": "body",
|
|
6720
|
+
"name": "principalId"
|
|
6721
|
+
},
|
|
6722
|
+
{
|
|
6723
|
+
"in": "body",
|
|
6724
|
+
"name": "tools"
|
|
6725
|
+
},
|
|
6726
|
+
{
|
|
6727
|
+
"in": "body",
|
|
6728
|
+
"name": "reason"
|
|
6729
|
+
}
|
|
6730
|
+
],
|
|
6731
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/revoke",
|
|
6732
|
+
"readOnly": false
|
|
6733
|
+
}
|
|
6734
|
+
},
|
|
6662
6735
|
"product": {
|
|
6663
6736
|
"create": {
|
|
6664
6737
|
"level": "write",
|
|
@@ -7116,173 +7189,6 @@ export const bindings: BindingsMap = {
|
|
|
7116
7189
|
}
|
|
7117
7190
|
}
|
|
7118
7191
|
},
|
|
7119
|
-
"playground": {
|
|
7120
|
-
"analytics": {
|
|
7121
|
-
"overview": {
|
|
7122
|
-
"level": "read",
|
|
7123
|
-
"method": "POST",
|
|
7124
|
-
"operationKey": "playground_analytics_overview",
|
|
7125
|
-
"params": [
|
|
7126
|
-
{
|
|
7127
|
-
"in": "body",
|
|
7128
|
-
"name": "limit"
|
|
7129
|
-
}
|
|
7130
|
-
],
|
|
7131
|
-
"path": "/playground/analytics/overview",
|
|
7132
|
-
"readOnly": true
|
|
7133
|
-
}
|
|
7134
|
-
},
|
|
7135
|
-
"billing": {
|
|
7136
|
-
"entitlements": {
|
|
7137
|
-
"level": "read",
|
|
7138
|
-
"method": "POST",
|
|
7139
|
-
"operationKey": "playground_billing_entitlements",
|
|
7140
|
-
"path": "/playground/billing/entitlements",
|
|
7141
|
-
"readOnly": true
|
|
7142
|
-
},
|
|
7143
|
-
"record-usage": {
|
|
7144
|
-
"level": "write",
|
|
7145
|
-
"method": "POST",
|
|
7146
|
-
"operationKey": "playground_billing_record-usage",
|
|
7147
|
-
"params": [
|
|
7148
|
-
{
|
|
7149
|
-
"in": "body",
|
|
7150
|
-
"name": "value"
|
|
7151
|
-
}
|
|
7152
|
-
],
|
|
7153
|
-
"path": "/playground/billing/usage",
|
|
7154
|
-
"readOnly": false
|
|
7155
|
-
}
|
|
7156
|
-
},
|
|
7157
|
-
"clickup": {
|
|
7158
|
-
"create-task": {
|
|
7159
|
-
"level": "write",
|
|
7160
|
-
"method": "POST",
|
|
7161
|
-
"operationKey": "playground_clickup_create-task",
|
|
7162
|
-
"params": [
|
|
7163
|
-
{
|
|
7164
|
-
"in": "body",
|
|
7165
|
-
"name": "listId"
|
|
7166
|
-
},
|
|
7167
|
-
{
|
|
7168
|
-
"in": "body",
|
|
7169
|
-
"name": "name"
|
|
7170
|
-
}
|
|
7171
|
-
],
|
|
7172
|
-
"path": "/playground/clickup/tasks",
|
|
7173
|
-
"readOnly": false
|
|
7174
|
-
},
|
|
7175
|
-
"get-last-webhook": {
|
|
7176
|
-
"level": "read",
|
|
7177
|
-
"method": "GET",
|
|
7178
|
-
"operationKey": "playground_clickup_get-last-webhook",
|
|
7179
|
-
"path": "/playground/clickup/webhooks/last",
|
|
7180
|
-
"readOnly": true
|
|
7181
|
-
},
|
|
7182
|
-
"get-overview": {
|
|
7183
|
-
"level": "read",
|
|
7184
|
-
"method": "GET",
|
|
7185
|
-
"operationKey": "playground_clickup_get-overview",
|
|
7186
|
-
"path": "/playground/clickup/overview",
|
|
7187
|
-
"readOnly": true
|
|
7188
|
-
}
|
|
7189
|
-
},
|
|
7190
|
-
"gdrive": {
|
|
7191
|
-
"get-last-change": {
|
|
7192
|
-
"level": "read",
|
|
7193
|
-
"method": "GET",
|
|
7194
|
-
"operationKey": "playground_gdrive_get-last-change",
|
|
7195
|
-
"path": "/playground/gdrive/changes/last",
|
|
7196
|
-
"readOnly": true
|
|
7197
|
-
},
|
|
7198
|
-
"read-file": {
|
|
7199
|
-
"level": "read",
|
|
7200
|
-
"method": "POST",
|
|
7201
|
-
"operationKey": "playground_gdrive_read-file",
|
|
7202
|
-
"params": [
|
|
7203
|
-
{
|
|
7204
|
-
"in": "body",
|
|
7205
|
-
"name": "fileId"
|
|
7206
|
-
}
|
|
7207
|
-
],
|
|
7208
|
-
"path": "/playground/gdrive/file",
|
|
7209
|
-
"readOnly": true
|
|
7210
|
-
}
|
|
7211
|
-
},
|
|
7212
|
-
"googleads": {
|
|
7213
|
-
"read-customer": {
|
|
7214
|
-
"level": "read",
|
|
7215
|
-
"method": "POST",
|
|
7216
|
-
"operationKey": "playground_googleads_read-customer",
|
|
7217
|
-
"path": "/playground/googleads/customer",
|
|
7218
|
-
"readOnly": true
|
|
7219
|
-
}
|
|
7220
|
-
},
|
|
7221
|
-
"lifecycle": {
|
|
7222
|
-
"get-state": {
|
|
7223
|
-
"level": "read",
|
|
7224
|
-
"method": "GET",
|
|
7225
|
-
"operationKey": "playground_lifecycle_get-state",
|
|
7226
|
-
"path": "/playground/lifecycle/state",
|
|
7227
|
-
"readOnly": true
|
|
7228
|
-
},
|
|
7229
|
-
"list-events": {
|
|
7230
|
-
"level": "read",
|
|
7231
|
-
"method": "GET",
|
|
7232
|
-
"operationKey": "playground_lifecycle_list-events",
|
|
7233
|
-
"path": "/playground/lifecycle/events",
|
|
7234
|
-
"readOnly": true
|
|
7235
|
-
}
|
|
7236
|
-
},
|
|
7237
|
-
"webhook": {
|
|
7238
|
-
"get-last": {
|
|
7239
|
-
"level": "read",
|
|
7240
|
-
"method": "GET",
|
|
7241
|
-
"operationKey": "playground_webhook_get-last",
|
|
7242
|
-
"path": "/playground/webhooks/last",
|
|
7243
|
-
"readOnly": true
|
|
7244
|
-
}
|
|
7245
|
-
},
|
|
7246
|
-
"workflow": {
|
|
7247
|
-
"echo": {
|
|
7248
|
-
"level": "write",
|
|
7249
|
-
"method": "POST",
|
|
7250
|
-
"operationKey": "playground_workflow_echo",
|
|
7251
|
-
"params": [
|
|
7252
|
-
{
|
|
7253
|
-
"in": "body",
|
|
7254
|
-
"name": "note"
|
|
7255
|
-
},
|
|
7256
|
-
{
|
|
7257
|
-
"in": "body",
|
|
7258
|
-
"name": "tags"
|
|
7259
|
-
}
|
|
7260
|
-
],
|
|
7261
|
-
"path": "/playground/workflow/echo",
|
|
7262
|
-
"readOnly": false
|
|
7263
|
-
},
|
|
7264
|
-
"echo-list": {
|
|
7265
|
-
"level": "read",
|
|
7266
|
-
"method": "GET",
|
|
7267
|
-
"operationKey": "playground_workflow_echo-list",
|
|
7268
|
-
"path": "/playground/workflow/echoes",
|
|
7269
|
-
"readOnly": true
|
|
7270
|
-
},
|
|
7271
|
-
"ping": {
|
|
7272
|
-
"level": "write",
|
|
7273
|
-
"method": "POST",
|
|
7274
|
-
"operationKey": "playground_workflow_ping",
|
|
7275
|
-
"params": [
|
|
7276
|
-
{
|
|
7277
|
-
"in": "body",
|
|
7278
|
-
"name": "kind"
|
|
7279
|
-
}
|
|
7280
|
-
],
|
|
7281
|
-
"path": "/playground/workflow/ping",
|
|
7282
|
-
"readOnly": false
|
|
7283
|
-
}
|
|
7284
|
-
}
|
|
7285
|
-
},
|
|
7286
7192
|
"realtime": {
|
|
7287
7193
|
"archive": {
|
|
7288
7194
|
"export": {
|
|
@@ -11000,12 +10906,4 @@ export const bindings: BindingsMap = {
|
|
|
11000
10906
|
}
|
|
11001
10907
|
};
|
|
11002
10908
|
|
|
11003
|
-
export const wsBindings: WsBindingsMap = {
|
|
11004
|
-
"playground": {
|
|
11005
|
-
"ws": {
|
|
11006
|
-
"echo": {
|
|
11007
|
-
"path": "/playground/ws/echo"
|
|
11008
|
-
}
|
|
11009
|
-
}
|
|
11010
|
-
}
|
|
11011
|
-
};
|
|
10909
|
+
export const wsBindings: WsBindingsMap = {};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -711,6 +711,12 @@ import type {
|
|
|
711
711
|
OrganizationMembersAssignRoleOutput,
|
|
712
712
|
OrganizationPermissionCatalogInput,
|
|
713
713
|
OrganizationPermissionCatalogOutput,
|
|
714
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
715
|
+
OrganizationPrincipalGrantsApproveOutput,
|
|
716
|
+
OrganizationPrincipalGrantsListInput,
|
|
717
|
+
OrganizationPrincipalGrantsListOutput,
|
|
718
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
719
|
+
OrganizationPrincipalGrantsRevokeOutput,
|
|
714
720
|
OrganizationProductCreateInput,
|
|
715
721
|
OrganizationProductCreateOutput,
|
|
716
722
|
OrganizationProductListAccessInput,
|
|
@@ -769,36 +775,6 @@ import type {
|
|
|
769
775
|
OrganizationXInstallOutput,
|
|
770
776
|
OrganizationYoutubeInstallInput,
|
|
771
777
|
OrganizationYoutubeInstallOutput,
|
|
772
|
-
PlaygroundAnalyticsOverviewInput,
|
|
773
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
774
|
-
PlaygroundBillingEntitlementsInput,
|
|
775
|
-
PlaygroundBillingEntitlementsOutput,
|
|
776
|
-
PlaygroundBillingRecordUsageInput,
|
|
777
|
-
PlaygroundBillingRecordUsageOutput,
|
|
778
|
-
PlaygroundClickupCreateTaskInput,
|
|
779
|
-
PlaygroundClickupCreateTaskOutput,
|
|
780
|
-
PlaygroundClickupGetLastWebhookInput,
|
|
781
|
-
PlaygroundClickupGetLastWebhookOutput,
|
|
782
|
-
PlaygroundClickupGetOverviewInput,
|
|
783
|
-
PlaygroundClickupGetOverviewOutput,
|
|
784
|
-
PlaygroundGdriveGetLastChangeInput,
|
|
785
|
-
PlaygroundGdriveGetLastChangeOutput,
|
|
786
|
-
PlaygroundGdriveReadFileInput,
|
|
787
|
-
PlaygroundGdriveReadFileOutput,
|
|
788
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
789
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
790
|
-
PlaygroundLifecycleGetStateInput,
|
|
791
|
-
PlaygroundLifecycleGetStateOutput,
|
|
792
|
-
PlaygroundLifecycleListEventsInput,
|
|
793
|
-
PlaygroundLifecycleListEventsOutput,
|
|
794
|
-
PlaygroundWebhookGetLastInput,
|
|
795
|
-
PlaygroundWebhookGetLastOutput,
|
|
796
|
-
PlaygroundWorkflowEchoInput,
|
|
797
|
-
PlaygroundWorkflowEchoListInput,
|
|
798
|
-
PlaygroundWorkflowEchoListOutput,
|
|
799
|
-
PlaygroundWorkflowEchoOutput,
|
|
800
|
-
PlaygroundWorkflowPingInput,
|
|
801
|
-
PlaygroundWorkflowPingOutput,
|
|
802
778
|
RealtimeArchiveExportInput,
|
|
803
779
|
RealtimeArchiveExportOutput,
|
|
804
780
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1819,6 +1795,11 @@ export interface GeneratedClient {
|
|
|
1819
1795
|
permission: {
|
|
1820
1796
|
catalog: ((input: OrganizationPermissionCatalogInput) => Promise<OrganizationPermissionCatalogOutput>) & Operation;
|
|
1821
1797
|
};
|
|
1798
|
+
'principal-grants': {
|
|
1799
|
+
approve: ((input: OrganizationPrincipalGrantsApproveInput) => Promise<OrganizationPrincipalGrantsApproveOutput>) & Operation;
|
|
1800
|
+
list: ((input: OrganizationPrincipalGrantsListInput) => Promise<OrganizationPrincipalGrantsListOutput>) & Operation;
|
|
1801
|
+
revoke: ((input: OrganizationPrincipalGrantsRevokeInput) => Promise<OrganizationPrincipalGrantsRevokeOutput>) & Operation;
|
|
1802
|
+
};
|
|
1822
1803
|
product: {
|
|
1823
1804
|
create: ((input: OrganizationProductCreateInput) => Promise<OrganizationProductCreateOutput>) & Operation;
|
|
1824
1805
|
list: ((input: OrganizationProductListInput) => Promise<OrganizationProductListOutput>) & Operation;
|
|
@@ -1868,39 +1849,6 @@ export interface GeneratedClient {
|
|
|
1868
1849
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1869
1850
|
};
|
|
1870
1851
|
};
|
|
1871
|
-
playground: {
|
|
1872
|
-
analytics: {
|
|
1873
|
-
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1874
|
-
};
|
|
1875
|
-
billing: {
|
|
1876
|
-
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1877
|
-
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1878
|
-
};
|
|
1879
|
-
clickup: {
|
|
1880
|
-
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1881
|
-
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1882
|
-
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1883
|
-
};
|
|
1884
|
-
gdrive: {
|
|
1885
|
-
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1886
|
-
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1887
|
-
};
|
|
1888
|
-
googleads: {
|
|
1889
|
-
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1890
|
-
};
|
|
1891
|
-
lifecycle: {
|
|
1892
|
-
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1893
|
-
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1894
|
-
};
|
|
1895
|
-
webhook: {
|
|
1896
|
-
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1897
|
-
};
|
|
1898
|
-
workflow: {
|
|
1899
|
-
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1900
|
-
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1901
|
-
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1902
|
-
};
|
|
1903
|
-
};
|
|
1904
1852
|
realtime: {
|
|
1905
1853
|
archive: {
|
|
1906
1854
|
export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { ToolLevel, ToolComposition } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', '
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -359,6 +359,9 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
359
359
|
'organization_member_unshare-product': 'admin',
|
|
360
360
|
'organization_members_assign-role': 'admin',
|
|
361
361
|
'organization_permission_catalog': 'read',
|
|
362
|
+
'organization_principal-grants_approve': 'write',
|
|
363
|
+
'organization_principal-grants_list': 'read',
|
|
364
|
+
'organization_principal-grants_revoke': 'admin',
|
|
362
365
|
'organization_product_create': 'write',
|
|
363
366
|
'organization_product_list': 'read',
|
|
364
367
|
'organization_product_list-access': 'read',
|
|
@@ -388,21 +391,6 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
388
391
|
'organization_support_threads_list': 'read',
|
|
389
392
|
'organization_x_install': 'read',
|
|
390
393
|
'organization_youtube_install': 'read',
|
|
391
|
-
'playground_analytics_overview': 'read',
|
|
392
|
-
'playground_billing_entitlements': 'read',
|
|
393
|
-
'playground_billing_record-usage': 'write',
|
|
394
|
-
'playground_clickup_create-task': 'write',
|
|
395
|
-
'playground_clickup_get-last-webhook': 'read',
|
|
396
|
-
'playground_clickup_get-overview': 'read',
|
|
397
|
-
'playground_gdrive_get-last-change': 'read',
|
|
398
|
-
'playground_gdrive_read-file': 'read',
|
|
399
|
-
'playground_googleads_read-customer': 'read',
|
|
400
|
-
'playground_lifecycle_get-state': 'read',
|
|
401
|
-
'playground_lifecycle_list-events': 'read',
|
|
402
|
-
'playground_webhook_get-last': 'read',
|
|
403
|
-
'playground_workflow_echo': 'write',
|
|
404
|
-
'playground_workflow_echo-list': 'read',
|
|
405
|
-
'playground_workflow_ping': 'write',
|
|
406
394
|
'realtime_archive_export': 'admin',
|
|
407
395
|
'realtime_archive_export_status': 'read',
|
|
408
396
|
'realtime_archive_get': 'read',
|
|
@@ -634,6 +622,4 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
634
622
|
'mail_template_publish': {"label":"Publish template"},
|
|
635
623
|
'mail_template_update': {"label":"Update template"},
|
|
636
624
|
'mail_usage_get': {"label":"Get usage"},
|
|
637
|
-
'playground_workflow_echo': {"pii":["input.note"],"label":"Store workflow echo"},
|
|
638
|
-
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
639
625
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
@@ -76,6 +76,10 @@ import type {
|
|
|
76
76
|
OrganizationMembersAssignRoleInput,
|
|
77
77
|
OrganizationPermissionCatalogInput,
|
|
78
78
|
OrganizationPermissionCatalogOutput,
|
|
79
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
80
|
+
OrganizationPrincipalGrantsListInput,
|
|
81
|
+
OrganizationPrincipalGrantsListOutput,
|
|
82
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
79
83
|
OrganizationProductCreateInput,
|
|
80
84
|
OrganizationProductListAccessInput,
|
|
81
85
|
OrganizationProductListAccessOutput,
|
|
@@ -393,6 +397,21 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
393
397
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
394
398
|
});
|
|
395
399
|
|
|
400
|
+
export const organizationPrincipalGrantsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
401
|
+
mutationKey: ['organization', 'principal-grants', 'approve'],
|
|
402
|
+
mutationFn: (input: OrganizationPrincipalGrantsApproveInput) => sdk['organization']['principal-grants']['approve'](input),
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
export const organizationPrincipalGrantsListQueryOptions = (sdk: GeneratedClient, input: OrganizationPrincipalGrantsListInput) => ({
|
|
406
|
+
queryKey: ['organization', 'principal-grants', 'list', input] as const,
|
|
407
|
+
queryFn: () => sdk['organization']['principal-grants']['list'](input),
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
export const organizationPrincipalGrantsRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
411
|
+
mutationKey: ['organization', 'principal-grants', 'revoke'],
|
|
412
|
+
mutationFn: (input: OrganizationPrincipalGrantsRevokeInput) => sdk['organization']['principal-grants']['revoke'](input),
|
|
413
|
+
});
|
|
414
|
+
|
|
396
415
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
397
416
|
mutationKey: ['organization', 'product', 'create'],
|
|
398
417
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|