@lessly/sdk-app 92.12.1 → 93.0.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/CHANGELOG.md +11 -6
- package/dist/_types/gen/client.gen.d.ts +6 -5
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +12 -8
- package/dist/_types/gen/types.gen.d.ts +20 -9
- package/dist/index.cjs +26 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +26 -24
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +15 -10
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +13 -9
- package/dist/organization/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +23 -22
- package/src/gen/client.gen.ts +11 -8
- package/src/gen/manifest.gen.ts +3 -2
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +17 -11
- package/src/gen/types.gen.ts +24 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
3
|
"description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "93.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
-
"sdkContentHash": "sha256:
|
|
213
|
+
"sdkContentHash": "sha256:28b3ddfd5de35b606496c3c3b15a966f1ec57120e75f14ab7efbc62f83502f25"
|
|
214
214
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -5937,47 +5937,48 @@ export const bindings: BindingsMap = {
|
|
|
5937
5937
|
"readOnly": true
|
|
5938
5938
|
}
|
|
5939
5939
|
},
|
|
5940
|
-
"billing-
|
|
5941
|
-
"get": {
|
|
5942
|
-
"level": "read",
|
|
5943
|
-
"method": "GET",
|
|
5944
|
-
"operationKey": "organization_billing_budgets_get",
|
|
5945
|
-
"path": "/governance/api/v1/billing/budgets",
|
|
5946
|
-
"readOnly": true
|
|
5947
|
-
}
|
|
5948
|
-
},
|
|
5949
|
-
"billing-caps": {
|
|
5940
|
+
"billing-budget": {
|
|
5950
5941
|
"clear": {
|
|
5951
5942
|
"level": "write",
|
|
5952
5943
|
"method": "DELETE",
|
|
5953
|
-
"operationKey": "
|
|
5954
|
-
"
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
"
|
|
5944
|
+
"operationKey": "organization_billing_budget_clear",
|
|
5945
|
+
"path": "/governance/api/v1/billing/budgets",
|
|
5946
|
+
"readOnly": false
|
|
5947
|
+
},
|
|
5948
|
+
"resume": {
|
|
5949
|
+
"level": "write",
|
|
5950
|
+
"method": "POST",
|
|
5951
|
+
"operationKey": "organization_billing_budget_resume",
|
|
5952
|
+
"path": "/governance/api/v1/billing/budgets/resume",
|
|
5961
5953
|
"readOnly": false
|
|
5962
5954
|
},
|
|
5963
5955
|
"set": {
|
|
5964
5956
|
"level": "write",
|
|
5965
5957
|
"method": "PUT",
|
|
5966
|
-
"operationKey": "
|
|
5958
|
+
"operationKey": "organization_billing_budget_set",
|
|
5967
5959
|
"params": [
|
|
5968
5960
|
{
|
|
5969
5961
|
"in": "body",
|
|
5970
|
-
"name": "
|
|
5962
|
+
"name": "amount_minor"
|
|
5971
5963
|
},
|
|
5972
5964
|
{
|
|
5973
5965
|
"in": "body",
|
|
5974
|
-
"name": "
|
|
5966
|
+
"name": "action"
|
|
5975
5967
|
}
|
|
5976
5968
|
],
|
|
5977
|
-
"path": "/governance/api/v1/billing/budgets
|
|
5969
|
+
"path": "/governance/api/v1/billing/budgets",
|
|
5978
5970
|
"readOnly": false
|
|
5979
5971
|
}
|
|
5980
5972
|
},
|
|
5973
|
+
"billing-budgets": {
|
|
5974
|
+
"get": {
|
|
5975
|
+
"level": "read",
|
|
5976
|
+
"method": "GET",
|
|
5977
|
+
"operationKey": "organization_billing_budgets_get",
|
|
5978
|
+
"path": "/governance/api/v1/billing/budgets",
|
|
5979
|
+
"readOnly": true
|
|
5980
|
+
}
|
|
5981
|
+
},
|
|
5981
5982
|
"bindings": {
|
|
5982
5983
|
"list": {
|
|
5983
5984
|
"level": "read",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -619,12 +619,14 @@ import type {
|
|
|
619
619
|
ObserveWebhooksUpdateOutput,
|
|
620
620
|
OrganizationAuthMeInput,
|
|
621
621
|
OrganizationAuthMeOutput,
|
|
622
|
+
OrganizationBillingBudgetClearInput,
|
|
623
|
+
OrganizationBillingBudgetClearOutput,
|
|
624
|
+
OrganizationBillingBudgetResumeInput,
|
|
625
|
+
OrganizationBillingBudgetResumeOutput,
|
|
626
|
+
OrganizationBillingBudgetSetInput,
|
|
627
|
+
OrganizationBillingBudgetSetOutput,
|
|
622
628
|
OrganizationBillingBudgetsGetInput,
|
|
623
629
|
OrganizationBillingBudgetsGetOutput,
|
|
624
|
-
OrganizationBillingCapsClearInput,
|
|
625
|
-
OrganizationBillingCapsClearOutput,
|
|
626
|
-
OrganizationBillingCapsSetInput,
|
|
627
|
-
OrganizationBillingCapsSetOutput,
|
|
628
630
|
OrganizationBindingsListInput,
|
|
629
631
|
OrganizationBindingsListOutput,
|
|
630
632
|
OrganizationClickupInstallInput,
|
|
@@ -1779,13 +1781,14 @@ export interface GeneratedClient {
|
|
|
1779
1781
|
auth: {
|
|
1780
1782
|
me: ((input: OrganizationAuthMeInput) => Promise<OrganizationAuthMeOutput>) & Operation;
|
|
1781
1783
|
};
|
|
1784
|
+
'billing-budget': {
|
|
1785
|
+
clear: ((input: OrganizationBillingBudgetClearInput) => Promise<OrganizationBillingBudgetClearOutput>) & Operation;
|
|
1786
|
+
resume: ((input: OrganizationBillingBudgetResumeInput) => Promise<OrganizationBillingBudgetResumeOutput>) & Operation;
|
|
1787
|
+
set: ((input: OrganizationBillingBudgetSetInput) => Promise<OrganizationBillingBudgetSetOutput>) & Operation;
|
|
1788
|
+
};
|
|
1782
1789
|
'billing-budgets': {
|
|
1783
1790
|
get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
|
|
1784
1791
|
};
|
|
1785
|
-
'billing-caps': {
|
|
1786
|
-
clear: ((input: OrganizationBillingCapsClearInput) => Promise<OrganizationBillingCapsClearOutput>) & Operation;
|
|
1787
|
-
set: ((input: OrganizationBillingCapsSetInput) => Promise<OrganizationBillingCapsSetOutput>) & Operation;
|
|
1788
|
-
};
|
|
1789
1792
|
bindings: {
|
|
1790
1793
|
list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
|
|
1791
1794
|
};
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -313,9 +313,10 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
313
313
|
'observe_webhooks_rotate_secret': 'admin',
|
|
314
314
|
'observe_webhooks_update': 'write',
|
|
315
315
|
'organization_auth_me': 'read',
|
|
316
|
+
'organization_billing_budget_clear': 'write',
|
|
317
|
+
'organization_billing_budget_resume': 'write',
|
|
318
|
+
'organization_billing_budget_set': 'write',
|
|
316
319
|
'organization_billing_budgets_get': 'read',
|
|
317
|
-
'organization_billing_caps_clear': 'write',
|
|
318
|
-
'organization_billing_caps_set': 'write',
|
|
319
320
|
'organization_bindings_list': 'read',
|
|
320
321
|
'organization_clickup_install': 'read',
|
|
321
322
|
'organization_clickup_list-installations': 'read',
|
|
@@ -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,
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetClearInput, OrganizationBillingBudgetClearOutput, OrganizationBillingBudgetResumeInput, OrganizationBillingBudgetResumeOutput, OrganizationBillingBudgetSetInput, OrganizationBillingBudgetSetOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, 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, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, 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,10 +3,11 @@ import type { GeneratedClient } from '../client.gen';
|
|
|
3
3
|
import type {
|
|
4
4
|
OrganizationAuthMeInput,
|
|
5
5
|
OrganizationAuthMeOutput,
|
|
6
|
+
OrganizationBillingBudgetClearInput,
|
|
7
|
+
OrganizationBillingBudgetResumeInput,
|
|
8
|
+
OrganizationBillingBudgetSetInput,
|
|
6
9
|
OrganizationBillingBudgetsGetInput,
|
|
7
10
|
OrganizationBillingBudgetsGetOutput,
|
|
8
|
-
OrganizationBillingCapsClearInput,
|
|
9
|
-
OrganizationBillingCapsSetInput,
|
|
10
11
|
OrganizationBindingsListInput,
|
|
11
12
|
OrganizationBindingsListOutput,
|
|
12
13
|
OrganizationClickupInstallInput,
|
|
@@ -132,19 +133,24 @@ export const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: Orga
|
|
|
132
133
|
queryFn: () => sdk['organization']['auth']['me'](input),
|
|
133
134
|
});
|
|
134
135
|
|
|
135
|
-
export const
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
export const organizationBillingBudgetClearMutationOptions = (sdk: GeneratedClient) => ({
|
|
137
|
+
mutationKey: ['organization', 'billing-budget', 'clear'],
|
|
138
|
+
mutationFn: (input: OrganizationBillingBudgetClearInput) => sdk['organization']['billing-budget']['clear'](input),
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
export const organizationBillingBudgetResumeMutationOptions = (sdk: GeneratedClient) => ({
|
|
142
|
+
mutationKey: ['organization', 'billing-budget', 'resume'],
|
|
143
|
+
mutationFn: (input: OrganizationBillingBudgetResumeInput) => sdk['organization']['billing-budget']['resume'](input),
|
|
138
144
|
});
|
|
139
145
|
|
|
140
|
-
export const
|
|
141
|
-
mutationKey: ['organization', 'billing-
|
|
142
|
-
mutationFn: (input:
|
|
146
|
+
export const organizationBillingBudgetSetMutationOptions = (sdk: GeneratedClient) => ({
|
|
147
|
+
mutationKey: ['organization', 'billing-budget', 'set'],
|
|
148
|
+
mutationFn: (input: OrganizationBillingBudgetSetInput) => sdk['organization']['billing-budget']['set'](input),
|
|
143
149
|
});
|
|
144
150
|
|
|
145
|
-
export const
|
|
146
|
-
|
|
147
|
-
|
|
151
|
+
export const organizationBillingBudgetsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationBillingBudgetsGetInput) => ({
|
|
152
|
+
queryKey: ['organization', 'billing-budgets', 'get', input] as const,
|
|
153
|
+
queryFn: () => sdk['organization']['billing-budgets']['get'](input),
|
|
148
154
|
});
|
|
149
155
|
|
|
150
156
|
export const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -87890,28 +87890,42 @@ displayName: string
|
|
|
87890
87890
|
identityType: string
|
|
87891
87891
|
}
|
|
87892
87892
|
|
|
87893
|
-
export interface
|
|
87893
|
+
export interface OrganizationBillingBudgetClearInput {
|
|
87894
87894
|
|
|
87895
87895
|
}
|
|
87896
87896
|
|
|
87897
|
-
export interface
|
|
87897
|
+
export interface OrganizationBillingBudgetClearOutput {
|
|
87898
87898
|
[k: string]: unknown
|
|
87899
87899
|
}
|
|
87900
87900
|
|
|
87901
|
-
export interface
|
|
87902
|
-
|
|
87901
|
+
export interface OrganizationBillingBudgetResumeInput {
|
|
87902
|
+
|
|
87903
87903
|
}
|
|
87904
87904
|
|
|
87905
|
-
export interface
|
|
87905
|
+
export interface OrganizationBillingBudgetResumeOutput {
|
|
87906
87906
|
[k: string]: unknown
|
|
87907
87907
|
}
|
|
87908
87908
|
|
|
87909
|
-
export interface
|
|
87910
|
-
|
|
87911
|
-
|
|
87909
|
+
export interface OrganizationBillingBudgetSetInput {
|
|
87910
|
+
/**
|
|
87911
|
+
* At 100%: "pause" stops chargeable compute and blocks new chargeable work until Resume; "alerts_only" only notifies. Default: "pause".
|
|
87912
|
+
*/
|
|
87913
|
+
action?: ("pause" | "alerts_only")
|
|
87914
|
+
/**
|
|
87915
|
+
* Monthly limit for extra charges, in integer minor units of the organization currency. Example: 50000 = EUR 500.00.
|
|
87916
|
+
*/
|
|
87917
|
+
amount_minor: number
|
|
87912
87918
|
}
|
|
87913
87919
|
|
|
87914
|
-
export interface
|
|
87920
|
+
export interface OrganizationBillingBudgetSetOutput {
|
|
87921
|
+
[k: string]: unknown
|
|
87922
|
+
}
|
|
87923
|
+
|
|
87924
|
+
export interface OrganizationBillingBudgetsGetInput {
|
|
87925
|
+
|
|
87926
|
+
}
|
|
87927
|
+
|
|
87928
|
+
export interface OrganizationBillingBudgetsGetOutput {
|
|
87915
87929
|
[k: string]: unknown
|
|
87916
87930
|
}
|
|
87917
87931
|
|
|
@@ -88529,6 +88543,7 @@ export interface OrganizationMemberListOutput {
|
|
|
88529
88543
|
members: {
|
|
88530
88544
|
id: string
|
|
88531
88545
|
role: string
|
|
88546
|
+
email: (string | null)
|
|
88532
88547
|
status: string
|
|
88533
88548
|
userId: string
|
|
88534
88549
|
products: {
|