@mittwald/api-client 4.333.0 → 4.334.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/esm/generated/v2/client-react.js +26 -24
- package/dist/esm/generated/v2/client.js +56 -54
- package/dist/esm/generated/v2/descriptors.js +186 -180
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +211 -200
- package/dist/types/generated/v2/client.d.ts +1886 -1796
- package/dist/types/generated/v2/descriptors.d.ts +62 -60
- package/dist/types/generated/v2/types.d.ts +5266 -5168
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -480,6 +480,17 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
480
480
|
}>;
|
|
481
481
|
};
|
|
482
482
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
483
|
+
/** Call pull-image webhook */
|
|
484
|
+
callPullImageWebhookForService: (conf: {
|
|
485
|
+
queryParameters: {
|
|
486
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
487
|
+
token: string;
|
|
488
|
+
};
|
|
489
|
+
stackId: string;
|
|
490
|
+
headers?: {
|
|
491
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
492
|
+
} | undefined;
|
|
493
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<never>;
|
|
483
494
|
/** List Registries belonging to a Project. */
|
|
484
495
|
listRegistries: (conf: {
|
|
485
496
|
projectId: string;
|
|
@@ -1687,6 +1698,19 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1687
1698
|
}>;
|
|
1688
1699
|
};
|
|
1689
1700
|
declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1701
|
+
/** List Invites belonging to a Customer. */
|
|
1702
|
+
listInvitesForCustomer: (conf: {
|
|
1703
|
+
customerId: string;
|
|
1704
|
+
headers?: {
|
|
1705
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1706
|
+
"x-access-token"?: string | undefined;
|
|
1707
|
+
} | undefined;
|
|
1708
|
+
queryParameters?: {
|
|
1709
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1710
|
+
limit?: number | undefined;
|
|
1711
|
+
skip?: number | undefined;
|
|
1712
|
+
} | undefined;
|
|
1713
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
|
|
1690
1714
|
/** Get all customer profiles the authenticated user has access to. */
|
|
1691
1715
|
listCustomers: (conf?: {
|
|
1692
1716
|
headers?: {
|
|
@@ -1715,47 +1739,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1715
1739
|
recommendationCode?: string | undefined;
|
|
1716
1740
|
walletId: string;
|
|
1717
1741
|
}>;
|
|
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
1742
|
/** Get a CustomerInvite. */
|
|
1760
1743
|
getCustomerInvite: (conf: {
|
|
1761
1744
|
customerInviteId: string;
|
|
@@ -1795,19 +1778,37 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1795
1778
|
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
1796
1779
|
userId: string;
|
|
1797
1780
|
}>;
|
|
1798
|
-
/**
|
|
1799
|
-
|
|
1781
|
+
/** Get a customer profile. */
|
|
1782
|
+
getCustomer: (conf: {
|
|
1800
1783
|
customerId: string;
|
|
1801
1784
|
headers?: {
|
|
1802
1785
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1803
1786
|
"x-access-token"?: string | undefined;
|
|
1804
1787
|
} | undefined;
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
skip?: number | undefined;
|
|
1788
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1789
|
+
activeSuspension?: {
|
|
1790
|
+
createdAt: string;
|
|
1809
1791
|
} | undefined;
|
|
1810
|
-
|
|
1792
|
+
avatarRefId?: string | undefined;
|
|
1793
|
+
categoryId?: string | undefined;
|
|
1794
|
+
creationDate: string;
|
|
1795
|
+
customerId: string;
|
|
1796
|
+
customerNumber: string;
|
|
1797
|
+
deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
|
|
1798
|
+
executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
1799
|
+
flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
|
|
1800
|
+
isAllowedToPlaceOrders?: boolean | undefined;
|
|
1801
|
+
isBanned?: boolean | undefined;
|
|
1802
|
+
isInDefaultOfPayment?: boolean | undefined;
|
|
1803
|
+
isMailAddressInvalid?: boolean | undefined;
|
|
1804
|
+
levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
|
|
1805
|
+
memberCount: number;
|
|
1806
|
+
name: string;
|
|
1807
|
+
owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
1808
|
+
projectCount: number;
|
|
1809
|
+
vatId?: string | undefined;
|
|
1810
|
+
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
|
|
1811
|
+
}>;
|
|
1811
1812
|
/** Get a CustomerInvite by token. */
|
|
1812
1813
|
getCustomerTokenInvite: (conf: {
|
|
1813
1814
|
headers: {
|
|
@@ -1826,8 +1827,18 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1826
1827
|
message?: string | undefined;
|
|
1827
1828
|
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
1828
1829
|
}>;
|
|
1829
|
-
/**
|
|
1830
|
-
|
|
1830
|
+
/** Check if the customer profile has a valid contract partner configured. */
|
|
1831
|
+
isCustomerLegallyCompetent: (conf: {
|
|
1832
|
+
customerId: string;
|
|
1833
|
+
headers?: {
|
|
1834
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1835
|
+
"x-access-token"?: string | undefined;
|
|
1836
|
+
} | undefined;
|
|
1837
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1838
|
+
isLegallyCompetent?: boolean | undefined;
|
|
1839
|
+
}>;
|
|
1840
|
+
/** List CustomerInvites belonging to the executing user. */
|
|
1841
|
+
listCustomerInvites: (conf?: {
|
|
1831
1842
|
headers?: {
|
|
1832
1843
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1833
1844
|
"x-access-token"?: string | undefined;
|
|
@@ -1837,13 +1848,10 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1837
1848
|
limit?: number | undefined;
|
|
1838
1849
|
skip?: number | undefined;
|
|
1839
1850
|
page?: number | undefined;
|
|
1840
|
-
hasExpiry?: boolean | undefined;
|
|
1841
|
-
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
|
|
1842
1851
|
} | undefined;
|
|
1843
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
1844
|
-
/** List
|
|
1845
|
-
|
|
1846
|
-
customerId: string;
|
|
1852
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
|
|
1853
|
+
/** List CustomerMemberships belonging to the executing user. */
|
|
1854
|
+
listCustomerMemberships: (conf?: {
|
|
1847
1855
|
headers?: {
|
|
1848
1856
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1849
1857
|
"x-access-token"?: string | undefined;
|
|
@@ -1852,12 +1860,14 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1852
1860
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1853
1861
|
limit?: number | undefined;
|
|
1854
1862
|
skip?: number | undefined;
|
|
1863
|
+
page?: number | undefined;
|
|
1855
1864
|
hasExpiry?: boolean | undefined;
|
|
1856
1865
|
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
|
|
1857
1866
|
} | undefined;
|
|
1858
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1859
|
-
/** List
|
|
1860
|
-
|
|
1867
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1868
|
+
/** List Memberships belonging to a Customer. */
|
|
1869
|
+
listMembershipsForCustomer: (conf: {
|
|
1870
|
+
customerId: string;
|
|
1861
1871
|
headers?: {
|
|
1862
1872
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1863
1873
|
"x-access-token"?: string | undefined;
|
|
@@ -1866,9 +1876,10 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1866
1876
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1867
1877
|
limit?: number | undefined;
|
|
1868
1878
|
skip?: number | undefined;
|
|
1869
|
-
|
|
1879
|
+
hasExpiry?: boolean | undefined;
|
|
1880
|
+
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
|
|
1870
1881
|
} | undefined;
|
|
1871
|
-
}
|
|
1882
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1872
1883
|
};
|
|
1873
1884
|
declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1874
1885
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -3062,6 +3073,59 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3062
3073
|
}>;
|
|
3063
3074
|
};
|
|
3064
3075
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3076
|
+
/** List Invites belonging to a Project. */
|
|
3077
|
+
listInvitesForProject: (conf: {
|
|
3078
|
+
projectId: string;
|
|
3079
|
+
headers?: {
|
|
3080
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3081
|
+
"x-access-token"?: string | undefined;
|
|
3082
|
+
} | undefined;
|
|
3083
|
+
queryParameters?: {
|
|
3084
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3085
|
+
limit?: number | undefined;
|
|
3086
|
+
skip?: number | undefined;
|
|
3087
|
+
} | undefined;
|
|
3088
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
|
|
3089
|
+
/** Get a ProjectInvite. */
|
|
3090
|
+
getProjectInvite: (conf: {
|
|
3091
|
+
projectInviteId: string;
|
|
3092
|
+
headers?: {
|
|
3093
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3094
|
+
"x-access-token"?: string | undefined;
|
|
3095
|
+
} | undefined;
|
|
3096
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3097
|
+
avatarRefId?: string | undefined;
|
|
3098
|
+
id: string;
|
|
3099
|
+
information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
3100
|
+
mailAddress: string;
|
|
3101
|
+
membershipExpiresAt?: string | undefined;
|
|
3102
|
+
message?: string | undefined;
|
|
3103
|
+
projectDescription: string;
|
|
3104
|
+
projectId: string;
|
|
3105
|
+
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
3106
|
+
}>;
|
|
3107
|
+
/** Get a ProjectMembership */
|
|
3108
|
+
getProjectMembership: (conf: {
|
|
3109
|
+
projectMembershipId: string;
|
|
3110
|
+
headers?: {
|
|
3111
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3112
|
+
"x-access-token"?: string | undefined;
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3115
|
+
avatarRef?: string | undefined;
|
|
3116
|
+
email: string;
|
|
3117
|
+
expiresAt?: string | undefined;
|
|
3118
|
+
firstName: string;
|
|
3119
|
+
id: string;
|
|
3120
|
+
inherited: boolean;
|
|
3121
|
+
inviteId?: string | undefined;
|
|
3122
|
+
lastName: string;
|
|
3123
|
+
memberSince?: string | undefined;
|
|
3124
|
+
mfa: boolean;
|
|
3125
|
+
projectId: string;
|
|
3126
|
+
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
3127
|
+
userId: string;
|
|
3128
|
+
}>;
|
|
3065
3129
|
/** Get a Project. */
|
|
3066
3130
|
getProject: (conf: {
|
|
3067
3131
|
projectId: string;
|
|
@@ -3102,6 +3166,46 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3102
3166
|
webStorageUsageInBytes: number;
|
|
3103
3167
|
webStorageUsageInBytesSetAt: string;
|
|
3104
3168
|
}>;
|
|
3169
|
+
/** Get a ProjectInvite by token. */
|
|
3170
|
+
getProjectTokenInvite: (conf: {
|
|
3171
|
+
headers: {
|
|
3172
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3173
|
+
token: string;
|
|
3174
|
+
"x-access-token"?: string | undefined;
|
|
3175
|
+
};
|
|
3176
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3177
|
+
avatarRefId?: string | undefined;
|
|
3178
|
+
id: string;
|
|
3179
|
+
information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
3180
|
+
mailAddress: string;
|
|
3181
|
+
membershipExpiresAt?: string | undefined;
|
|
3182
|
+
message?: string | undefined;
|
|
3183
|
+
projectDescription: string;
|
|
3184
|
+
projectId: string;
|
|
3185
|
+
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
3186
|
+
}>;
|
|
3187
|
+
/** Get the executing user's membership in a Project. */
|
|
3188
|
+
getSelfMembershipForProject: (conf: {
|
|
3189
|
+
projectId: string;
|
|
3190
|
+
headers?: {
|
|
3191
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3192
|
+
"x-access-token"?: string | undefined;
|
|
3193
|
+
} | undefined;
|
|
3194
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3195
|
+
avatarRef?: string | undefined;
|
|
3196
|
+
email: string;
|
|
3197
|
+
expiresAt?: string | undefined;
|
|
3198
|
+
firstName: string;
|
|
3199
|
+
id: string;
|
|
3200
|
+
inherited: boolean;
|
|
3201
|
+
inviteId?: string | undefined;
|
|
3202
|
+
lastName: string;
|
|
3203
|
+
memberSince?: string | undefined;
|
|
3204
|
+
mfa: boolean;
|
|
3205
|
+
projectId: string;
|
|
3206
|
+
role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
3207
|
+
userId: string;
|
|
3208
|
+
}>;
|
|
3105
3209
|
/** Get a Server. */
|
|
3106
3210
|
getServer: (conf: {
|
|
3107
3211
|
serverId: string;
|
|
@@ -3125,6 +3229,52 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3125
3229
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
3126
3230
|
storage: string;
|
|
3127
3231
|
}>;
|
|
3232
|
+
/** List Memberships belonging to a Project. */
|
|
3233
|
+
listMembershipsForProject: (conf: {
|
|
3234
|
+
projectId: string;
|
|
3235
|
+
headers?: {
|
|
3236
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3237
|
+
"x-access-token"?: string | undefined;
|
|
3238
|
+
} | undefined;
|
|
3239
|
+
queryParameters?: {
|
|
3240
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3241
|
+
limit?: number | undefined;
|
|
3242
|
+
skip?: number | undefined;
|
|
3243
|
+
hasExpiry?: boolean | undefined;
|
|
3244
|
+
isInherited?: boolean | undefined;
|
|
3245
|
+
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
|
|
3246
|
+
hasMfa?: boolean | undefined;
|
|
3247
|
+
} | undefined;
|
|
3248
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
3249
|
+
/** List ProjectInvites belonging to the executing user. */
|
|
3250
|
+
listProjectInvites: (conf?: {
|
|
3251
|
+
headers?: {
|
|
3252
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3253
|
+
"x-access-token"?: string | undefined;
|
|
3254
|
+
} | undefined;
|
|
3255
|
+
queryParameters?: {
|
|
3256
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3257
|
+
limit?: number | undefined;
|
|
3258
|
+
skip?: number | undefined;
|
|
3259
|
+
page?: number | undefined;
|
|
3260
|
+
} | undefined;
|
|
3261
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
|
|
3262
|
+
/** List ProjectMemberships belonging to the executing user. */
|
|
3263
|
+
listProjectMemberships: (conf?: {
|
|
3264
|
+
headers?: {
|
|
3265
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3266
|
+
"x-access-token"?: string | undefined;
|
|
3267
|
+
} | undefined;
|
|
3268
|
+
queryParameters?: {
|
|
3269
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3270
|
+
limit?: number | undefined;
|
|
3271
|
+
skip?: number | undefined;
|
|
3272
|
+
page?: number | undefined;
|
|
3273
|
+
hasExpiry?: boolean | undefined;
|
|
3274
|
+
isInherited?: boolean | undefined;
|
|
3275
|
+
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
|
|
3276
|
+
} | undefined;
|
|
3277
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
3128
3278
|
/** List Projects belonging to the executing user. */
|
|
3129
3279
|
listProjects: (conf?: {
|
|
3130
3280
|
headers?: {
|
|
@@ -3219,145 +3369,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3219
3369
|
notificationThresholdInBytes?: number | undefined;
|
|
3220
3370
|
statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
|
|
3221
3371
|
}>;
|
|
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
3372
|
};
|
|
3362
3373
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3363
3374
|
/** List directories belonging to a Project. */
|