@mittwald/api-client 4.333.0 → 4.335.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.
@@ -41,6 +41,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
41
41
  customerId: string;
42
42
  deletedAt?: string | undefined;
43
43
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
44
+ modelTermsApprovalRequired: boolean;
44
45
  nextTokenReset: string;
45
46
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
46
47
  tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
@@ -91,9 +92,24 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
91
92
  } | undefined;
92
93
  }) => import("@mittwald/react-use-promise").AsyncResource<{
93
94
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
95
+ modelTermsApprovalRequired: boolean;
94
96
  nextTokenReset?: string | undefined;
95
97
  projectId: string;
96
98
  }>;
99
+ /** Get a list of currently active models. */
100
+ customerGetDetailedModels: (conf: {
101
+ customerId: string;
102
+ headers?: {
103
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
104
+ } | undefined;
105
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
106
+ /** Get a list of currently active models. */
107
+ projectGetDetailedModels: (conf: {
108
+ projectId: string;
109
+ headers?: {
110
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
111
+ } | undefined;
112
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
97
113
  };
98
114
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
99
115
  /** Get an App. */
@@ -314,6 +330,10 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
314
330
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
315
331
  "x-access-token"?: string | undefined;
316
332
  } | undefined;
333
+ queryParameters?: {
334
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
335
+ onlyRecommended?: boolean | undefined;
336
+ } | undefined;
317
337
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
318
338
  /** Get runtime status belonging to an AppInstallation. */
319
339
  retrieveStatus: (conf: {
@@ -480,6 +500,17 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
480
500
  }>;
481
501
  };
482
502
  declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
503
+ /** Call pull-image webhook */
504
+ callPullImageWebhookForService: (conf: {
505
+ queryParameters: {
506
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
507
+ token: string;
508
+ };
509
+ stackId: string;
510
+ headers?: {
511
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
512
+ } | undefined;
513
+ }) => import("@mittwald/react-use-promise").AsyncResource<never>;
483
514
  /** List Registries belonging to a Project. */
484
515
  listRegistries: (conf: {
485
516
  projectId: string;
@@ -1687,6 +1718,19 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1687
1718
  }>;
1688
1719
  };
1689
1720
  declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1721
+ /** List Invites belonging to a Customer. */
1722
+ listInvitesForCustomer: (conf: {
1723
+ customerId: string;
1724
+ headers?: {
1725
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1726
+ "x-access-token"?: string | undefined;
1727
+ } | undefined;
1728
+ queryParameters?: {
1729
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1730
+ limit?: number | undefined;
1731
+ skip?: number | undefined;
1732
+ } | undefined;
1733
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1690
1734
  /** Get all customer profiles the authenticated user has access to. */
1691
1735
  listCustomers: (conf?: {
1692
1736
  headers?: {
@@ -1715,47 +1759,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1715
1759
  recommendationCode?: string | undefined;
1716
1760
  walletId: string;
1717
1761
  }>;
1718
- /** Get a customer profile. */
1719
- getCustomer: (conf: {
1720
- customerId: string;
1721
- headers?: {
1722
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1723
- "x-access-token"?: string | undefined;
1724
- } | undefined;
1725
- }) => import("@mittwald/react-use-promise").AsyncResource<{
1726
- activeSuspension?: {
1727
- createdAt: string;
1728
- } | undefined;
1729
- avatarRefId?: string | undefined;
1730
- categoryId?: string | undefined;
1731
- creationDate: string;
1732
- customerId: string;
1733
- customerNumber: string;
1734
- deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
1735
- executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
1736
- flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
1737
- isAllowedToPlaceOrders?: boolean | undefined;
1738
- isBanned?: boolean | undefined;
1739
- isInDefaultOfPayment?: boolean | undefined;
1740
- isMailAddressInvalid?: boolean | undefined;
1741
- levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
1742
- memberCount: number;
1743
- name: string;
1744
- owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
1745
- projectCount: number;
1746
- vatId?: string | undefined;
1747
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
1748
- }>;
1749
- /** Check if the customer profile has a valid contract partner configured. */
1750
- isCustomerLegallyCompetent: (conf: {
1751
- customerId: string;
1752
- headers?: {
1753
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1754
- "x-access-token"?: string | undefined;
1755
- } | undefined;
1756
- }) => import("@mittwald/react-use-promise").AsyncResource<{
1757
- isLegallyCompetent?: boolean | undefined;
1758
- }>;
1759
1762
  /** Get a CustomerInvite. */
1760
1763
  getCustomerInvite: (conf: {
1761
1764
  customerInviteId: string;
@@ -1795,19 +1798,37 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1795
1798
  role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
1796
1799
  userId: string;
1797
1800
  }>;
1798
- /** List Invites belonging to a Customer. */
1799
- listInvitesForCustomer: (conf: {
1801
+ /** Get a customer profile. */
1802
+ getCustomer: (conf: {
1800
1803
  customerId: string;
1801
1804
  headers?: {
1802
1805
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1803
1806
  "x-access-token"?: string | undefined;
1804
1807
  } | undefined;
1805
- queryParameters?: {
1806
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1807
- limit?: number | undefined;
1808
- skip?: number | undefined;
1808
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1809
+ activeSuspension?: {
1810
+ createdAt: string;
1809
1811
  } | undefined;
1810
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1812
+ avatarRefId?: string | undefined;
1813
+ categoryId?: string | undefined;
1814
+ creationDate: string;
1815
+ customerId: string;
1816
+ customerNumber: string;
1817
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
1818
+ executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
1819
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
1820
+ isAllowedToPlaceOrders?: boolean | undefined;
1821
+ isBanned?: boolean | undefined;
1822
+ isInDefaultOfPayment?: boolean | undefined;
1823
+ isMailAddressInvalid?: boolean | undefined;
1824
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
1825
+ memberCount: number;
1826
+ name: string;
1827
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
1828
+ projectCount: number;
1829
+ vatId?: string | undefined;
1830
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
1831
+ }>;
1811
1832
  /** Get a CustomerInvite by token. */
1812
1833
  getCustomerTokenInvite: (conf: {
1813
1834
  headers: {
@@ -1826,8 +1847,18 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1826
1847
  message?: string | undefined;
1827
1848
  role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
1828
1849
  }>;
1829
- /** List CustomerMemberships belonging to the executing user. */
1830
- listCustomerMemberships: (conf?: {
1850
+ /** Check if the customer profile has a valid contract partner configured. */
1851
+ isCustomerLegallyCompetent: (conf: {
1852
+ customerId: string;
1853
+ headers?: {
1854
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1855
+ "x-access-token"?: string | undefined;
1856
+ } | undefined;
1857
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1858
+ isLegallyCompetent?: boolean | undefined;
1859
+ }>;
1860
+ /** List CustomerInvites belonging to the executing user. */
1861
+ listCustomerInvites: (conf?: {
1831
1862
  headers?: {
1832
1863
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1833
1864
  "x-access-token"?: string | undefined;
@@ -1837,13 +1868,10 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1837
1868
  limit?: number | undefined;
1838
1869
  skip?: number | undefined;
1839
1870
  page?: number | undefined;
1840
- hasExpiry?: boolean | undefined;
1841
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
1842
1871
  } | undefined;
1843
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
1844
- /** List Memberships belonging to a Customer. */
1845
- listMembershipsForCustomer: (conf: {
1846
- customerId: string;
1872
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1873
+ /** List CustomerMemberships belonging to the executing user. */
1874
+ listCustomerMemberships: (conf?: {
1847
1875
  headers?: {
1848
1876
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1849
1877
  "x-access-token"?: string | undefined;
@@ -1852,12 +1880,14 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1852
1880
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1853
1881
  limit?: number | undefined;
1854
1882
  skip?: number | undefined;
1883
+ page?: number | undefined;
1855
1884
  hasExpiry?: boolean | undefined;
1856
1885
  role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
1857
1886
  } | undefined;
1858
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
1859
- /** List CustomerInvites belonging to the executing user. */
1860
- listCustomerInvites: (conf?: {
1887
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
1888
+ /** List Memberships belonging to a Customer. */
1889
+ listMembershipsForCustomer: (conf: {
1890
+ customerId: string;
1861
1891
  headers?: {
1862
1892
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1863
1893
  "x-access-token"?: string | undefined;
@@ -1866,9 +1896,10 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1866
1896
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1867
1897
  limit?: number | undefined;
1868
1898
  skip?: number | undefined;
1869
- page?: number | undefined;
1899
+ hasExpiry?: boolean | undefined;
1900
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
1870
1901
  } | undefined;
1871
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
1902
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
1872
1903
  };
1873
1904
  declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1874
1905
  /** List MySQLDatabases belonging to a Project. */
@@ -3062,6 +3093,59 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3062
3093
  }>;
3063
3094
  };
3064
3095
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3096
+ /** List Invites belonging to a Project. */
3097
+ listInvitesForProject: (conf: {
3098
+ projectId: string;
3099
+ headers?: {
3100
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3101
+ "x-access-token"?: string | undefined;
3102
+ } | undefined;
3103
+ queryParameters?: {
3104
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3105
+ limit?: number | undefined;
3106
+ skip?: number | undefined;
3107
+ } | undefined;
3108
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
3109
+ /** Get a ProjectInvite. */
3110
+ getProjectInvite: (conf: {
3111
+ projectInviteId: string;
3112
+ headers?: {
3113
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3114
+ "x-access-token"?: string | undefined;
3115
+ } | undefined;
3116
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3117
+ avatarRefId?: string | undefined;
3118
+ id: string;
3119
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
3120
+ mailAddress: string;
3121
+ membershipExpiresAt?: string | undefined;
3122
+ message?: string | undefined;
3123
+ projectDescription: string;
3124
+ projectId: string;
3125
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3126
+ }>;
3127
+ /** Get a ProjectMembership */
3128
+ getProjectMembership: (conf: {
3129
+ projectMembershipId: string;
3130
+ headers?: {
3131
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3132
+ "x-access-token"?: string | undefined;
3133
+ } | undefined;
3134
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3135
+ avatarRef?: string | undefined;
3136
+ email: string;
3137
+ expiresAt?: string | undefined;
3138
+ firstName: string;
3139
+ id: string;
3140
+ inherited: boolean;
3141
+ inviteId?: string | undefined;
3142
+ lastName: string;
3143
+ memberSince?: string | undefined;
3144
+ mfa: boolean;
3145
+ projectId: string;
3146
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3147
+ userId: string;
3148
+ }>;
3065
3149
  /** Get a Project. */
3066
3150
  getProject: (conf: {
3067
3151
  projectId: string;
@@ -3102,6 +3186,46 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3102
3186
  webStorageUsageInBytes: number;
3103
3187
  webStorageUsageInBytesSetAt: string;
3104
3188
  }>;
3189
+ /** Get a ProjectInvite by token. */
3190
+ getProjectTokenInvite: (conf: {
3191
+ headers: {
3192
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3193
+ token: string;
3194
+ "x-access-token"?: string | undefined;
3195
+ };
3196
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3197
+ avatarRefId?: string | undefined;
3198
+ id: string;
3199
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
3200
+ mailAddress: string;
3201
+ membershipExpiresAt?: string | undefined;
3202
+ message?: string | undefined;
3203
+ projectDescription: string;
3204
+ projectId: string;
3205
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3206
+ }>;
3207
+ /** Get the executing user's membership in a Project. */
3208
+ getSelfMembershipForProject: (conf: {
3209
+ projectId: string;
3210
+ headers?: {
3211
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3212
+ "x-access-token"?: string | undefined;
3213
+ } | undefined;
3214
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3215
+ avatarRef?: string | undefined;
3216
+ email: string;
3217
+ expiresAt?: string | undefined;
3218
+ firstName: string;
3219
+ id: string;
3220
+ inherited: boolean;
3221
+ inviteId?: string | undefined;
3222
+ lastName: string;
3223
+ memberSince?: string | undefined;
3224
+ mfa: boolean;
3225
+ projectId: string;
3226
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3227
+ userId: string;
3228
+ }>;
3105
3229
  /** Get a Server. */
3106
3230
  getServer: (conf: {
3107
3231
  serverId: string;
@@ -3125,6 +3249,52 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3125
3249
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
3126
3250
  storage: string;
3127
3251
  }>;
3252
+ /** List Memberships belonging to a Project. */
3253
+ listMembershipsForProject: (conf: {
3254
+ projectId: string;
3255
+ headers?: {
3256
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3257
+ "x-access-token"?: string | undefined;
3258
+ } | undefined;
3259
+ queryParameters?: {
3260
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3261
+ limit?: number | undefined;
3262
+ skip?: number | undefined;
3263
+ hasExpiry?: boolean | undefined;
3264
+ isInherited?: boolean | undefined;
3265
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
3266
+ hasMfa?: boolean | undefined;
3267
+ } | undefined;
3268
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
3269
+ /** List ProjectInvites belonging to the executing user. */
3270
+ listProjectInvites: (conf?: {
3271
+ headers?: {
3272
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3273
+ "x-access-token"?: string | undefined;
3274
+ } | undefined;
3275
+ queryParameters?: {
3276
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3277
+ limit?: number | undefined;
3278
+ skip?: number | undefined;
3279
+ page?: number | undefined;
3280
+ } | undefined;
3281
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
3282
+ /** List ProjectMemberships belonging to the executing user. */
3283
+ listProjectMemberships: (conf?: {
3284
+ headers?: {
3285
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3286
+ "x-access-token"?: string | undefined;
3287
+ } | undefined;
3288
+ queryParameters?: {
3289
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3290
+ limit?: number | undefined;
3291
+ skip?: number | undefined;
3292
+ page?: number | undefined;
3293
+ hasExpiry?: boolean | undefined;
3294
+ isInherited?: boolean | undefined;
3295
+ role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
3296
+ } | undefined;
3297
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
3128
3298
  /** List Projects belonging to the executing user. */
3129
3299
  listProjects: (conf?: {
3130
3300
  headers?: {
@@ -3219,145 +3389,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3219
3389
  notificationThresholdInBytes?: number | undefined;
3220
3390
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
3221
3391
  }>;
3222
- /** Get a ProjectInvite. */
3223
- getProjectInvite: (conf: {
3224
- projectInviteId: string;
3225
- headers?: {
3226
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3227
- "x-access-token"?: string | undefined;
3228
- } | undefined;
3229
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3230
- avatarRefId?: string | undefined;
3231
- id: string;
3232
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
3233
- mailAddress: string;
3234
- membershipExpiresAt?: string | undefined;
3235
- message?: string | undefined;
3236
- projectDescription: string;
3237
- projectId: string;
3238
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3239
- }>;
3240
- /** Get the executing user's membership in a Project. */
3241
- getSelfMembershipForProject: (conf: {
3242
- projectId: string;
3243
- headers?: {
3244
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3245
- "x-access-token"?: string | undefined;
3246
- } | undefined;
3247
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3248
- avatarRef?: string | undefined;
3249
- email: string;
3250
- expiresAt?: string | undefined;
3251
- firstName: string;
3252
- id: string;
3253
- inherited: boolean;
3254
- inviteId?: string | undefined;
3255
- lastName: string;
3256
- memberSince?: string | undefined;
3257
- mfa: boolean;
3258
- projectId: string;
3259
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3260
- userId: string;
3261
- }>;
3262
- /** Get a ProjectMembership */
3263
- getProjectMembership: (conf: {
3264
- projectMembershipId: string;
3265
- headers?: {
3266
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3267
- "x-access-token"?: string | undefined;
3268
- } | undefined;
3269
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3270
- avatarRef?: string | undefined;
3271
- email: string;
3272
- expiresAt?: string | undefined;
3273
- firstName: string;
3274
- id: string;
3275
- inherited: boolean;
3276
- inviteId?: string | undefined;
3277
- lastName: string;
3278
- memberSince?: string | undefined;
3279
- mfa: boolean;
3280
- projectId: string;
3281
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3282
- userId: string;
3283
- }>;
3284
- /** List Invites belonging to a Project. */
3285
- listInvitesForProject: (conf: {
3286
- projectId: string;
3287
- headers?: {
3288
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3289
- "x-access-token"?: string | undefined;
3290
- } | undefined;
3291
- queryParameters?: {
3292
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3293
- limit?: number | undefined;
3294
- skip?: number | undefined;
3295
- } | undefined;
3296
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
3297
- /** Get a ProjectInvite by token. */
3298
- getProjectTokenInvite: (conf: {
3299
- headers: {
3300
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3301
- token: string;
3302
- "x-access-token"?: string | undefined;
3303
- };
3304
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3305
- avatarRefId?: string | undefined;
3306
- id: string;
3307
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
3308
- mailAddress: string;
3309
- membershipExpiresAt?: string | undefined;
3310
- message?: string | undefined;
3311
- projectDescription: string;
3312
- projectId: string;
3313
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
3314
- }>;
3315
- /** List ProjectMemberships belonging to the executing user. */
3316
- listProjectMemberships: (conf?: {
3317
- headers?: {
3318
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3319
- "x-access-token"?: string | undefined;
3320
- } | undefined;
3321
- queryParameters?: {
3322
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3323
- limit?: number | undefined;
3324
- skip?: number | undefined;
3325
- page?: number | undefined;
3326
- hasExpiry?: boolean | undefined;
3327
- isInherited?: boolean | undefined;
3328
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
3329
- } | undefined;
3330
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
3331
- /** List ProjectInvites belonging to the executing user. */
3332
- listProjectInvites: (conf?: {
3333
- headers?: {
3334
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3335
- "x-access-token"?: string | undefined;
3336
- } | undefined;
3337
- queryParameters?: {
3338
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3339
- limit?: number | undefined;
3340
- skip?: number | undefined;
3341
- page?: number | undefined;
3342
- } | undefined;
3343
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
3344
- /** List Memberships belonging to a Project. */
3345
- listMembershipsForProject: (conf: {
3346
- projectId: string;
3347
- headers?: {
3348
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3349
- "x-access-token"?: string | undefined;
3350
- } | undefined;
3351
- queryParameters?: {
3352
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3353
- limit?: number | undefined;
3354
- skip?: number | undefined;
3355
- hasExpiry?: boolean | undefined;
3356
- isInherited?: boolean | undefined;
3357
- role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
3358
- hasMfa?: boolean | undefined;
3359
- } | undefined;
3360
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
3361
3392
  };
3362
3393
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3363
3394
  /** List directories belonging to a Project. */