11import type { RawAxiosRequestConfig , RawAxiosRequestHeaders } from 'axios'
22import type { OpPatch } from 'json-patch'
33import type { Stream } from 'stream'
4+ import type {
5+ AccessTokenProps ,
6+ CreatePersonalAccessTokenProps as CreatePATProps ,
7+ } from './entities/access-token'
8+ import type { ApiKeyProps , CreateApiKeyProps } from './entities/api-key'
49import type { AppActionProps , CreateAppActionProps } from './entities/app-action'
510import type {
611 AppActionCallProps ,
712 AppActionCallResponse ,
813 CreateAppActionCallProps ,
914} from './entities/app-action-call'
1015import type { AppBundleProps , CreateAppBundleProps } from './entities/app-bundle'
11- import type { ApiKeyProps , CreateApiKeyProps } from './entities/api-key'
12- import type { AppDefinitionProps , CreateAppDefinitionProps } from './entities/app-definition'
16+ import type {
17+ AppDefinitionProps ,
18+ AppInstallationsForOrganizationProps ,
19+ CreateAppDefinitionProps ,
20+ } from './entities/app-definition'
21+ import type { AppDetailsProps , CreateAppDetailsProps } from './entities/app-details'
1322import type { AppInstallationProps , CreateAppInstallationProps } from './entities/app-installation'
23+ import type {
24+ AppSignedRequestProps ,
25+ CreateAppSignedRequestProps ,
26+ } from './entities/app-signed-request'
27+ import type {
28+ AppSigningSecretProps ,
29+ CreateAppSigningSecretProps ,
30+ } from './entities/app-signing-secret'
31+ import type { AppUploadProps } from './entities/app-upload'
1432import type {
1533 AssetFileProp ,
1634 AssetProcessingForLocale ,
1735 AssetProps ,
1836 CreateAssetProps ,
1937} from './entities/asset'
20- import type { ContentTypeProps , CreateContentTypeProps } from './entities/content-type'
38+ import type { AssetKeyProps , CreateAssetKeyProps } from './entities/asset-key'
39+ import type {
40+ BulkActionProps ,
41+ BulkActionPublishPayload ,
42+ BulkActionUnpublishPayload ,
43+ BulkActionValidatePayload ,
44+ } from './entities/bulk-action'
2145import type {
2246 CommentProps ,
2347 CreateCommentParams ,
@@ -32,15 +56,16 @@ import type {
3256 UpdateCommentParams ,
3357 UpdateCommentProps ,
3458} from './entities/comment'
59+ import type { ContentTypeProps , CreateContentTypeProps } from './entities/content-type'
3560import type { EditorInterfaceProps } from './entities/editor-interface'
3661import type { CreateEntryProps , EntryProps , EntryReferenceProps } from './entities/entry'
3762import type { CreateEnvironmentProps , EnvironmentProps } from './entities/environment'
3863import type {
3964 CreateEnvironmentAliasProps ,
4065 EnvironmentAliasProps ,
4166} from './entities/environment-alias'
67+ import type { CreateExtensionProps , ExtensionProps } from './entities/extension'
4268import type { CreateLocaleProps , LocaleProps } from './entities/locale'
43- import type { AppInstallationsForOrganizationProps } from './entities/app-definition'
4469import type { OrganizationProps } from './entities/organization'
4570import type {
4671 CreateOrganizationInvitationProps ,
@@ -51,11 +76,18 @@ import type {
5176 CreatePersonalAccessTokenProps ,
5277 PersonalAccessTokenProps ,
5378} from './entities/personal-access-token'
54- import type {
55- AccessTokenProps ,
56- CreatePersonalAccessTokenProps as CreatePATProps ,
57- } from './entities/access-token'
5879import type { PreviewApiKeyProps } from './entities/preview-api-key'
80+ import type {
81+ ReleasePayload ,
82+ ReleaseProps ,
83+ ReleaseQueryOptions ,
84+ ReleaseValidatePayload ,
85+ } from './entities/release'
86+ import type {
87+ ReleaseAction ,
88+ ReleaseActionProps ,
89+ ReleaseActionQueryOptions ,
90+ } from './entities/release-action'
5991import type { CreateRoleProps , RoleProps } from './entities/role'
6092import type { ScheduledActionProps } from './entities/scheduled-action'
6193import type { SnapshotProps } from './entities/snapshot'
@@ -69,7 +101,6 @@ import type {
69101 CreateTeamSpaceMembershipProps ,
70102 TeamSpaceMembershipProps ,
71103} from './entities/team-space-membership'
72- import type { CreateExtensionProps , ExtensionProps } from './entities/extension'
73104import type { UsageProps } from './entities/usage'
74105import type { UserProps } from './entities/user'
75106import type {
@@ -83,34 +114,6 @@ import type {
83114 WebhookRetryPolicyProps ,
84115 WebhookSigningSecretProps ,
85116} from './entities/webhook'
86- import type { AssetKeyProps , CreateAssetKeyProps } from './entities/asset-key'
87- import type { AppUploadProps } from './entities/app-upload'
88- import type { AppDetailsProps , CreateAppDetailsProps } from './entities/app-details'
89- import type {
90- AppSignedRequestProps ,
91- CreateAppSignedRequestProps ,
92- } from './entities/app-signed-request'
93- import type {
94- AppSigningSecretProps ,
95- CreateAppSigningSecretProps ,
96- } from './entities/app-signing-secret'
97- import type {
98- BulkActionProps ,
99- BulkActionPublishPayload ,
100- BulkActionUnpublishPayload ,
101- BulkActionValidatePayload ,
102- } from './entities/bulk-action'
103- import type {
104- ReleasePayload ,
105- ReleaseProps ,
106- ReleaseQueryOptions ,
107- ReleaseValidatePayload ,
108- } from './entities/release'
109- import type {
110- ReleaseAction ,
111- ReleaseActionProps ,
112- ReleaseActionQueryOptions ,
113- } from './entities/release-action'
114117
115118import type {
116119 CreateTaskParams ,
@@ -121,27 +124,14 @@ import type {
121124 UpdateTaskProps ,
122125} from './entities/task'
123126
127+ import type { AppAccessTokenProps , CreateAppAccessTokenProps } from './entities/app-access-token'
124128import type {
125- CreateWorkflowDefinitionParams ,
126- CreateWorkflowDefinitionProps ,
127- DeleteWorkflowDefinitionParams ,
128- WorkflowDefinitionProps ,
129- WorkflowDefinitionQueryOptions ,
130- } from './entities/workflow-definition'
131- import type {
132- CompleteWorkflowParams ,
133- CreateWorkflowParams ,
134- CreateWorkflowProps ,
135- DeleteWorkflowParams ,
136- WorkflowProps ,
137- WorkflowQueryOptions ,
138- } from './entities/workflow'
139- import type {
140- WorkflowsChangelogEntryProps ,
141- WorkflowsChangelogQueryOptions ,
142- } from './entities/workflows-changelog-entry'
143- import type { UIConfigProps } from './entities/ui-config'
144- import type { UserUIConfigProps } from './entities/user-ui-config'
129+ AppEventSubscriptionProps ,
130+ CreateAppEventSubscriptionProps ,
131+ } from './entities/app-event-subscription'
132+ import type { AppKeyProps , CreateAppKeyProps } from './entities/app-key'
133+ import type { ConceptProps , CreateConceptProps } from './entities/concept'
134+ import type { ConceptSchemeProps , CreateConceptSchemeProps } from './entities/concept-scheme'
145135import type {
146136 CreateEnvironmentTemplateProps ,
147137 EnvironmentTemplateProps ,
@@ -153,14 +143,7 @@ import type {
153143 ValidateEnvironmentTemplateInstallationProps ,
154144} from './entities/environment-template-installation'
155145import type { FunctionProps } from './entities/function'
156- import type {
157- AppEventSubscriptionProps ,
158- CreateAppEventSubscriptionProps ,
159- } from './entities/app-event-subscription'
160- import type { AppKeyProps , CreateAppKeyProps } from './entities/app-key'
161- import type { AppAccessTokenProps , CreateAppAccessTokenProps } from './entities/app-access-token'
162- import type { ConceptProps , CreateConceptProps } from './entities/concept'
163- import type { ConceptSchemeProps , CreateConceptSchemeProps } from './entities/concept-scheme'
146+ import type { ResourceProps , ResourceQueryOptions } from './entities/resource'
164147import type {
165148 ResourceProviderProps ,
166149 UpsertResourceProviderProps ,
@@ -170,7 +153,27 @@ import type {
170153 SpaceEnvResourceTypeProps ,
171154 UpsertResourceTypeProps ,
172155} from './entities/resource-type'
173- import type { ResourceProps , ResourceQueryOptions } from './entities/resource'
156+ import type { UIConfigProps } from './entities/ui-config'
157+ import type { UserUIConfigProps } from './entities/user-ui-config'
158+ import type {
159+ CompleteWorkflowParams ,
160+ CreateWorkflowParams ,
161+ CreateWorkflowProps ,
162+ DeleteWorkflowParams ,
163+ WorkflowProps ,
164+ WorkflowQueryOptions ,
165+ } from './entities/workflow'
166+ import type {
167+ CreateWorkflowDefinitionParams ,
168+ CreateWorkflowDefinitionProps ,
169+ DeleteWorkflowDefinitionParams ,
170+ WorkflowDefinitionProps ,
171+ WorkflowDefinitionQueryOptions ,
172+ } from './entities/workflow-definition'
173+ import type {
174+ WorkflowsChangelogEntryProps ,
175+ WorkflowsChangelogQueryOptions ,
176+ } from './entities/workflows-changelog-entry'
174177
175178export interface DefaultElements < TPlainObject extends object = object > {
176179 toPlainObject ( ) : TPlainObject
@@ -724,6 +727,8 @@ type MRInternal<UA extends boolean> = {
724727 ( opts : MROpts < 'Upload' , 'create' , UA > ) : MRReturn < 'Entry' , 'create' >
725728 ( opts : MROpts < 'Upload' , 'delete' , UA > ) : MRReturn < 'Entry' , 'delete' >
726729
730+ ( opts : MROpts < 'UploadCredential' , 'create' , UA > ) : MRReturn < 'UploadCredential' , 'create' >
731+
727732 ( opts : MROpts < 'Usage' , 'getManyForSpace' , UA > ) : MRReturn < 'Usage' , 'getManyForSpace' >
728733 ( opts : MROpts < 'Usage' , 'getManyForOrganization' , UA > ) : MRReturn < 'Usage' , 'getManyForOrganization' >
729734
@@ -1877,6 +1882,12 @@ export type MRActions = {
18771882 }
18781883 delete : { params : GetSpaceEnvironmentUploadParams ; return : any }
18791884 }
1885+ UploadCredential : {
1886+ create : {
1887+ params : GetSpaceEnvironmentParams
1888+ return : any
1889+ }
1890+ }
18801891 Usage : {
18811892 getManyForSpace : {
18821893 params : { organizationId : string } & QueryParams
0 commit comments