@mittwald/api-client 4.168.0 → 4.169.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 +45 -29
- package/dist/esm/generated/v2/client.js +34 -0
- package/dist/esm/generated/v2/descriptors.js +103 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +323 -228
- package/dist/types/generated/v2/client.d.ts +2269 -1237
- package/dist/types/generated/v2/descriptors.d.ts +35 -1
- package/dist/types/generated/v2/types.d.ts +966 -21
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -837,6 +837,325 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
837
837
|
} | undefined;
|
|
838
838
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
839
839
|
};
|
|
840
|
+
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
841
|
+
/** Get Contributor Billing Information. */
|
|
842
|
+
contributorGetBillingInformation: (conf: {
|
|
843
|
+
contributorId: string;
|
|
844
|
+
headers?: {
|
|
845
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
846
|
+
"x-access-token"?: string | undefined;
|
|
847
|
+
} | undefined;
|
|
848
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
849
|
+
contributorId?: string | undefined;
|
|
850
|
+
invoiceFooter?: string | undefined;
|
|
851
|
+
onboardingStatus?: "NOT_STARTED" | "STARTED" | "SUCCESSFUL" | undefined;
|
|
852
|
+
stripeAccountId?: string | undefined;
|
|
853
|
+
}>;
|
|
854
|
+
/** Get the Stripe Billing Portal Link for a Customer */
|
|
855
|
+
contributorGetCustomerBillingPortalLink: (conf: {
|
|
856
|
+
customerId: string;
|
|
857
|
+
headers?: {
|
|
858
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
859
|
+
"x-access-token"?: string | undefined;
|
|
860
|
+
} | undefined;
|
|
861
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
862
|
+
url?: string | undefined;
|
|
863
|
+
}>;
|
|
864
|
+
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
865
|
+
contributorGetLoginLink: (conf: {
|
|
866
|
+
contributorId: string;
|
|
867
|
+
headers?: {
|
|
868
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
869
|
+
"x-access-token"?: string | undefined;
|
|
870
|
+
} | undefined;
|
|
871
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
872
|
+
url?: string | undefined;
|
|
873
|
+
}>;
|
|
874
|
+
/** List all invoices on behalf of a contributor. */
|
|
875
|
+
contributorListOnbehalfInvoices: (conf: {
|
|
876
|
+
contributorId: string;
|
|
877
|
+
headers?: {
|
|
878
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
879
|
+
"x-access-token"?: string | undefined;
|
|
880
|
+
} | undefined;
|
|
881
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
882
|
+
invoiceDate: string;
|
|
883
|
+
invoiceId: string;
|
|
884
|
+
invoiceNumber: string;
|
|
885
|
+
pdfLink: string;
|
|
886
|
+
totalGross: number;
|
|
887
|
+
totalNet: number;
|
|
888
|
+
webLink: string;
|
|
889
|
+
}[]>;
|
|
890
|
+
/** List ExtensionInstances. */
|
|
891
|
+
extensionListExtensionInstances: (conf?: {
|
|
892
|
+
headers?: {
|
|
893
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
894
|
+
"x-access-token"?: string | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
queryParameters?: {
|
|
897
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
898
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
899
|
+
contextId?: string | undefined;
|
|
900
|
+
extensionId?: string | undefined;
|
|
901
|
+
searchTerm?: string | undefined;
|
|
902
|
+
limit?: number | undefined;
|
|
903
|
+
skip?: number | undefined;
|
|
904
|
+
page?: number | undefined;
|
|
905
|
+
sort?: ("createdAt" | "exensionId")[] | undefined;
|
|
906
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
907
|
+
} | undefined;
|
|
908
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
|
|
909
|
+
/** Get an ExtensionInstance. */
|
|
910
|
+
extensionGetExtensionInstance: (conf: {
|
|
911
|
+
extensionInstanceId: string;
|
|
912
|
+
headers?: {
|
|
913
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
914
|
+
"x-access-token"?: string | undefined;
|
|
915
|
+
} | undefined;
|
|
916
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
917
|
+
aggregateReference: {
|
|
918
|
+
aggregate: string;
|
|
919
|
+
domain: string;
|
|
920
|
+
id: string;
|
|
921
|
+
};
|
|
922
|
+
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
923
|
+
consentedScopes: string[];
|
|
924
|
+
contributorId?: string | undefined;
|
|
925
|
+
contributorName: string;
|
|
926
|
+
createdAt?: string | undefined;
|
|
927
|
+
disabled: boolean;
|
|
928
|
+
extensionId: string;
|
|
929
|
+
extensionName: string;
|
|
930
|
+
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
931
|
+
id: string;
|
|
932
|
+
pendingInstallation: boolean;
|
|
933
|
+
pendingRemoval: boolean;
|
|
934
|
+
}>;
|
|
935
|
+
/** Get Extension of own contributor. */
|
|
936
|
+
extensionGetOwnExtension: (conf: {
|
|
937
|
+
contributorId: string;
|
|
938
|
+
extensionId: string;
|
|
939
|
+
headers?: {
|
|
940
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
941
|
+
"x-access-token"?: string | undefined;
|
|
942
|
+
} | undefined;
|
|
943
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
944
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
945
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
946
|
+
blocked?: boolean | undefined;
|
|
947
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
948
|
+
contributorId: string;
|
|
949
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
950
|
+
description?: string | undefined;
|
|
951
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
952
|
+
disabled?: boolean | undefined;
|
|
953
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
954
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
955
|
+
frontendFragments?: {
|
|
956
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
957
|
+
} | undefined;
|
|
958
|
+
functional: boolean;
|
|
959
|
+
id: string;
|
|
960
|
+
logoRefId?: string | undefined;
|
|
961
|
+
name: string;
|
|
962
|
+
pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | undefined;
|
|
963
|
+
published: boolean;
|
|
964
|
+
requestedChanges?: {
|
|
965
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
966
|
+
scopes?: string[];
|
|
967
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
|
|
968
|
+
} | undefined;
|
|
969
|
+
scopes?: string[] | undefined;
|
|
970
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
971
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
972
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
973
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
974
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
975
|
+
tags?: string[] | undefined;
|
|
976
|
+
verificationRequested: boolean;
|
|
977
|
+
verified: boolean;
|
|
978
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
979
|
+
}>;
|
|
980
|
+
/** Get a Contributor. */
|
|
981
|
+
extensionGetContributor: (conf: {
|
|
982
|
+
contributorId: string;
|
|
983
|
+
headers?: {
|
|
984
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
985
|
+
} | undefined;
|
|
986
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
987
|
+
/** Get all open extension orders for given customer */
|
|
988
|
+
extensionGetCustomerExtensionInstanceOrders: (conf: {
|
|
989
|
+
customerId: string;
|
|
990
|
+
headers?: {
|
|
991
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
992
|
+
"x-access-token"?: string | undefined;
|
|
993
|
+
} | undefined;
|
|
994
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
995
|
+
extensionId?: string;
|
|
996
|
+
}[]>;
|
|
997
|
+
/** Get the Contract Strategy of an Extension Instance */
|
|
998
|
+
extensionGetExtensionInstanceContract: (conf: {
|
|
999
|
+
extensionInstanceId: string;
|
|
1000
|
+
headers?: {
|
|
1001
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1002
|
+
"x-access-token"?: string | undefined;
|
|
1003
|
+
} | undefined;
|
|
1004
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1005
|
+
interactionDeadline?: string | undefined;
|
|
1006
|
+
interactionRequired: boolean;
|
|
1007
|
+
status: "notStarted" | "pending" | "active" | "terminationPending";
|
|
1008
|
+
terminationTargetDate?: string | undefined;
|
|
1009
|
+
}>;
|
|
1010
|
+
/** Get the ExtensionInstance of a specific customer and extension, if existing. */
|
|
1011
|
+
extensionGetExtensionInstanceForCustomer: (conf: {
|
|
1012
|
+
customerId: string;
|
|
1013
|
+
extensionId: string;
|
|
1014
|
+
headers?: {
|
|
1015
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1016
|
+
"x-access-token"?: string | undefined;
|
|
1017
|
+
} | undefined;
|
|
1018
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1019
|
+
aggregateReference: {
|
|
1020
|
+
aggregate: string;
|
|
1021
|
+
domain: string;
|
|
1022
|
+
id: string;
|
|
1023
|
+
};
|
|
1024
|
+
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
1025
|
+
consentedScopes: string[];
|
|
1026
|
+
contributorId?: string | undefined;
|
|
1027
|
+
contributorName: string;
|
|
1028
|
+
createdAt?: string | undefined;
|
|
1029
|
+
disabled: boolean;
|
|
1030
|
+
extensionId: string;
|
|
1031
|
+
extensionName: string;
|
|
1032
|
+
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1033
|
+
id: string;
|
|
1034
|
+
pendingInstallation: boolean;
|
|
1035
|
+
pendingRemoval: boolean;
|
|
1036
|
+
}>;
|
|
1037
|
+
/** Get the ExtensionInstance of a specific project and extension, if existing. */
|
|
1038
|
+
extensionGetExtensionInstanceForProject: (conf: {
|
|
1039
|
+
projectId: string;
|
|
1040
|
+
extensionId: string;
|
|
1041
|
+
headers?: {
|
|
1042
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1043
|
+
"x-access-token"?: string | undefined;
|
|
1044
|
+
} | undefined;
|
|
1045
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1046
|
+
aggregateReference: {
|
|
1047
|
+
aggregate: string;
|
|
1048
|
+
domain: string;
|
|
1049
|
+
id: string;
|
|
1050
|
+
};
|
|
1051
|
+
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
1052
|
+
consentedScopes: string[];
|
|
1053
|
+
contributorId?: string | undefined;
|
|
1054
|
+
contributorName: string;
|
|
1055
|
+
createdAt?: string | undefined;
|
|
1056
|
+
disabled: boolean;
|
|
1057
|
+
extensionId: string;
|
|
1058
|
+
extensionName: string;
|
|
1059
|
+
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1060
|
+
id: string;
|
|
1061
|
+
pendingInstallation: boolean;
|
|
1062
|
+
pendingRemoval: boolean;
|
|
1063
|
+
}>;
|
|
1064
|
+
/** Get an Extension. */
|
|
1065
|
+
extensionGetExtension: (conf: {
|
|
1066
|
+
extensionId: string;
|
|
1067
|
+
headers?: {
|
|
1068
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1069
|
+
} | undefined;
|
|
1070
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
1071
|
+
/** Get all open extension orders for given project */
|
|
1072
|
+
extensionGetProjectExtensionInstanceOrders: (conf: {
|
|
1073
|
+
projectId: string;
|
|
1074
|
+
headers?: {
|
|
1075
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1076
|
+
"x-access-token"?: string | undefined;
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1079
|
+
extensionId?: string;
|
|
1080
|
+
}[]>;
|
|
1081
|
+
/** Get the public key to verify the webhook signature. */
|
|
1082
|
+
extensionGetPublicKey: (conf: {
|
|
1083
|
+
serial: string;
|
|
1084
|
+
headers?: {
|
|
1085
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1086
|
+
} | undefined;
|
|
1087
|
+
queryParameters?: {
|
|
1088
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1089
|
+
purpose?: "webhook" | "session_token" | undefined;
|
|
1090
|
+
format?: "raw" | "spki" | undefined;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1093
|
+
algorithm: string;
|
|
1094
|
+
key: string;
|
|
1095
|
+
serial: string;
|
|
1096
|
+
}>;
|
|
1097
|
+
/** List Contributors. */
|
|
1098
|
+
extensionListContributors: (conf?: {
|
|
1099
|
+
headers?: {
|
|
1100
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
queryParameters?: {
|
|
1103
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1104
|
+
limit?: number | undefined;
|
|
1105
|
+
skip?: number | undefined;
|
|
1106
|
+
page?: number | undefined;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[]>;
|
|
1109
|
+
/** List Extensions. */
|
|
1110
|
+
extensionListExtensions: (conf?: {
|
|
1111
|
+
headers?: {
|
|
1112
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
|
+
queryParameters?: {
|
|
1115
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1116
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1117
|
+
searchTerm?: string | undefined;
|
|
1118
|
+
limit?: number | undefined;
|
|
1119
|
+
skip?: number | undefined;
|
|
1120
|
+
page?: number | undefined;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
|
|
1123
|
+
/** List Extensions of own contributor. */
|
|
1124
|
+
extensionListOwnExtensions: (conf: {
|
|
1125
|
+
contributorId: string;
|
|
1126
|
+
headers?: {
|
|
1127
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1128
|
+
"x-access-token"?: string | undefined;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
queryParameters?: {
|
|
1131
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1132
|
+
limit?: number | undefined;
|
|
1133
|
+
skip?: number | undefined;
|
|
1134
|
+
page?: number | undefined;
|
|
1135
|
+
} | undefined;
|
|
1136
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
|
|
1137
|
+
/** List Scopes. */
|
|
1138
|
+
extensionListScopes: (conf?: {
|
|
1139
|
+
headers?: {
|
|
1140
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1143
|
+
name: string;
|
|
1144
|
+
}[]>;
|
|
1145
|
+
/** Get payment method details */
|
|
1146
|
+
customerGetPaymentMethod: (conf: {
|
|
1147
|
+
customerId: string;
|
|
1148
|
+
headers?: {
|
|
1149
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1150
|
+
"x-access-token"?: string | undefined;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1153
|
+
cardDetails?: {
|
|
1154
|
+
brand: string;
|
|
1155
|
+
last4: string;
|
|
1156
|
+
} | undefined;
|
|
1157
|
+
}>;
|
|
1158
|
+
};
|
|
840
1159
|
declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
841
1160
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
842
1161
|
listConversations: (conf?: {
|
|
@@ -1409,11 +1728,10 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1409
1728
|
}>;
|
|
1410
1729
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1411
1730
|
getLatestScreenshot: (conf: {
|
|
1412
|
-
|
|
1731
|
+
queryParameters: {
|
|
1732
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1413
1733
|
domainName: string;
|
|
1414
|
-
path: string;
|
|
1415
1734
|
};
|
|
1416
|
-
domainId: string;
|
|
1417
1735
|
headers?: {
|
|
1418
1736
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1419
1737
|
"x-access-token"?: string | undefined;
|
|
@@ -1559,229 +1877,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1559
1877
|
} | undefined;
|
|
1560
1878
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
1561
1879
|
};
|
|
1562
|
-
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1563
|
-
/** List ExtensionInstances. */
|
|
1564
|
-
extensionListExtensionInstances: (conf?: {
|
|
1565
|
-
headers?: {
|
|
1566
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1567
|
-
"x-access-token"?: string | undefined;
|
|
1568
|
-
} | undefined;
|
|
1569
|
-
queryParameters?: {
|
|
1570
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1571
|
-
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1572
|
-
contextId?: string | undefined;
|
|
1573
|
-
extensionId?: string | undefined;
|
|
1574
|
-
limit?: number | undefined;
|
|
1575
|
-
skip?: number | undefined;
|
|
1576
|
-
page?: number | undefined;
|
|
1577
|
-
sort?: ("createdAt" | "exensionId")[] | undefined;
|
|
1578
|
-
order?: ("asc" | "desc")[] | undefined;
|
|
1579
|
-
} | undefined;
|
|
1580
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
|
|
1581
|
-
/** Get an ExtensionInstance. */
|
|
1582
|
-
extensionGetExtensionInstance: (conf: {
|
|
1583
|
-
extensionInstanceId: string;
|
|
1584
|
-
headers?: {
|
|
1585
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1586
|
-
"x-access-token"?: string | undefined;
|
|
1587
|
-
} | undefined;
|
|
1588
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1589
|
-
aggregateReference: {
|
|
1590
|
-
aggregate: string;
|
|
1591
|
-
domain: string;
|
|
1592
|
-
id: string;
|
|
1593
|
-
};
|
|
1594
|
-
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
1595
|
-
consentedScopes: string[];
|
|
1596
|
-
contributorId?: string | undefined;
|
|
1597
|
-
contributorName: string;
|
|
1598
|
-
createdAt?: string | undefined;
|
|
1599
|
-
disabled: boolean;
|
|
1600
|
-
extensionId: string;
|
|
1601
|
-
extensionName: string;
|
|
1602
|
-
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1603
|
-
id: string;
|
|
1604
|
-
pendingInstallation: boolean;
|
|
1605
|
-
pendingRemoval: boolean;
|
|
1606
|
-
}>;
|
|
1607
|
-
/** Get Extension of own contributor. */
|
|
1608
|
-
extensionGetOwnExtension: (conf: {
|
|
1609
|
-
contributorId: string;
|
|
1610
|
-
extensionId: string;
|
|
1611
|
-
headers?: {
|
|
1612
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1613
|
-
"x-access-token"?: string | undefined;
|
|
1614
|
-
} | undefined;
|
|
1615
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1616
|
-
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
1617
|
-
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
1618
|
-
blocked?: boolean | undefined;
|
|
1619
|
-
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1620
|
-
contributorId: string;
|
|
1621
|
-
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
1622
|
-
description?: string | undefined;
|
|
1623
|
-
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
1624
|
-
disabled?: boolean | undefined;
|
|
1625
|
-
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1626
|
-
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1627
|
-
frontendFragments?: {
|
|
1628
|
-
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1629
|
-
} | undefined;
|
|
1630
|
-
functional: boolean;
|
|
1631
|
-
id: string;
|
|
1632
|
-
logoRefId?: string | undefined;
|
|
1633
|
-
name: string;
|
|
1634
|
-
pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | undefined;
|
|
1635
|
-
published: boolean;
|
|
1636
|
-
requestedChanges?: {
|
|
1637
|
-
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
1638
|
-
scopes?: string[];
|
|
1639
|
-
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
|
|
1640
|
-
} | undefined;
|
|
1641
|
-
scopes?: string[] | undefined;
|
|
1642
|
-
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
1643
|
-
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
1644
|
-
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
1645
|
-
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1646
|
-
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
1647
|
-
tags?: string[] | undefined;
|
|
1648
|
-
verificationRequested: boolean;
|
|
1649
|
-
verified: boolean;
|
|
1650
|
-
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
1651
|
-
}>;
|
|
1652
|
-
/** Get a Contributor. */
|
|
1653
|
-
extensionGetContributor: (conf: {
|
|
1654
|
-
contributorId: string;
|
|
1655
|
-
headers?: {
|
|
1656
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1657
|
-
} | undefined;
|
|
1658
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
1659
|
-
/** Get the ExtensionInstance of a specific customer and extension, if existing. */
|
|
1660
|
-
extensionGetExtensionInstanceForCustomer: (conf: {
|
|
1661
|
-
customerId: string;
|
|
1662
|
-
extensionId: string;
|
|
1663
|
-
headers?: {
|
|
1664
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1665
|
-
"x-access-token"?: string | undefined;
|
|
1666
|
-
} | undefined;
|
|
1667
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1668
|
-
aggregateReference: {
|
|
1669
|
-
aggregate: string;
|
|
1670
|
-
domain: string;
|
|
1671
|
-
id: string;
|
|
1672
|
-
};
|
|
1673
|
-
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
1674
|
-
consentedScopes: string[];
|
|
1675
|
-
contributorId?: string | undefined;
|
|
1676
|
-
contributorName: string;
|
|
1677
|
-
createdAt?: string | undefined;
|
|
1678
|
-
disabled: boolean;
|
|
1679
|
-
extensionId: string;
|
|
1680
|
-
extensionName: string;
|
|
1681
|
-
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1682
|
-
id: string;
|
|
1683
|
-
pendingInstallation: boolean;
|
|
1684
|
-
pendingRemoval: boolean;
|
|
1685
|
-
}>;
|
|
1686
|
-
/** Get the ExtensionInstance of a specific project and extension, if existing. */
|
|
1687
|
-
extensionGetExtensionInstanceForProject: (conf: {
|
|
1688
|
-
projectId: string;
|
|
1689
|
-
extensionId: string;
|
|
1690
|
-
headers?: {
|
|
1691
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1692
|
-
"x-access-token"?: string | undefined;
|
|
1693
|
-
} | undefined;
|
|
1694
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1695
|
-
aggregateReference: {
|
|
1696
|
-
aggregate: string;
|
|
1697
|
-
domain: string;
|
|
1698
|
-
id: string;
|
|
1699
|
-
};
|
|
1700
|
-
chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
|
|
1701
|
-
consentedScopes: string[];
|
|
1702
|
-
contributorId?: string | undefined;
|
|
1703
|
-
contributorName: string;
|
|
1704
|
-
createdAt?: string | undefined;
|
|
1705
|
-
disabled: boolean;
|
|
1706
|
-
extensionId: string;
|
|
1707
|
-
extensionName: string;
|
|
1708
|
-
extensionSubTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1709
|
-
id: string;
|
|
1710
|
-
pendingInstallation: boolean;
|
|
1711
|
-
pendingRemoval: boolean;
|
|
1712
|
-
}>;
|
|
1713
|
-
/** Get an Extension. */
|
|
1714
|
-
extensionGetExtension: (conf: {
|
|
1715
|
-
extensionId: string;
|
|
1716
|
-
headers?: {
|
|
1717
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1718
|
-
} | undefined;
|
|
1719
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
1720
|
-
/** Get the public key to verify the webhook signature. */
|
|
1721
|
-
extensionGetPublicKey: (conf: {
|
|
1722
|
-
serial: string;
|
|
1723
|
-
headers?: {
|
|
1724
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1725
|
-
} | undefined;
|
|
1726
|
-
queryParameters?: {
|
|
1727
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1728
|
-
purpose?: "webhook" | "session_token" | undefined;
|
|
1729
|
-
format?: "raw" | "spki" | undefined;
|
|
1730
|
-
} | undefined;
|
|
1731
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1732
|
-
algorithm: string;
|
|
1733
|
-
key: string;
|
|
1734
|
-
serial: string;
|
|
1735
|
-
}>;
|
|
1736
|
-
/** List Contributors. */
|
|
1737
|
-
extensionListContributors: (conf?: {
|
|
1738
|
-
headers?: {
|
|
1739
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1740
|
-
} | undefined;
|
|
1741
|
-
queryParameters?: {
|
|
1742
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1743
|
-
limit?: number | undefined;
|
|
1744
|
-
skip?: number | undefined;
|
|
1745
|
-
page?: number | undefined;
|
|
1746
|
-
} | undefined;
|
|
1747
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributor[]>;
|
|
1748
|
-
/** List Extensions. */
|
|
1749
|
-
extensionListExtensions: (conf?: {
|
|
1750
|
-
headers?: {
|
|
1751
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1752
|
-
} | undefined;
|
|
1753
|
-
queryParameters?: {
|
|
1754
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1755
|
-
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1756
|
-
searchTerm?: string | undefined;
|
|
1757
|
-
limit?: number | undefined;
|
|
1758
|
-
skip?: number | undefined;
|
|
1759
|
-
page?: number | undefined;
|
|
1760
|
-
} | undefined;
|
|
1761
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
|
|
1762
|
-
/** List Extensions of own contributor. */
|
|
1763
|
-
extensionListOwnExtensions: (conf: {
|
|
1764
|
-
contributorId: string;
|
|
1765
|
-
headers?: {
|
|
1766
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1767
|
-
"x-access-token"?: string | undefined;
|
|
1768
|
-
} | undefined;
|
|
1769
|
-
queryParameters?: {
|
|
1770
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1771
|
-
limit?: number | undefined;
|
|
1772
|
-
skip?: number | undefined;
|
|
1773
|
-
page?: number | undefined;
|
|
1774
|
-
} | undefined;
|
|
1775
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
|
|
1776
|
-
/** List Scopes. */
|
|
1777
|
-
extensionListScopes: (conf?: {
|
|
1778
|
-
headers?: {
|
|
1779
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1780
|
-
} | undefined;
|
|
1781
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1782
|
-
name: string;
|
|
1783
|
-
}[]>;
|
|
1784
|
-
};
|
|
1785
1880
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1786
1881
|
/** Get a File's meta. */
|
|
1787
1882
|
getFileMeta: (conf: {
|
|
@@ -2959,6 +3054,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
2959
3054
|
readonly container: ReturnType<typeof buildContainerApi>;
|
|
2960
3055
|
/** The contract API allows you to manage your contracts and orders */
|
|
2961
3056
|
readonly contract: ReturnType<typeof buildContractApi>;
|
|
3057
|
+
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
3058
|
+
readonly marketplace: ReturnType<typeof buildMarketplaceApi>;
|
|
2962
3059
|
/** The conversation API allows you to manage your support conversations. */
|
|
2963
3060
|
readonly conversation: ReturnType<typeof buildConversationApi>;
|
|
2964
3061
|
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
@@ -2969,8 +3066,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
2969
3066
|
readonly database: ReturnType<typeof buildDatabaseApi>;
|
|
2970
3067
|
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
2971
3068
|
readonly domain: ReturnType<typeof buildDomainApi>;
|
|
2972
|
-
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
2973
|
-
readonly marketplace: ReturnType<typeof buildMarketplaceApi>;
|
|
2974
3069
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
2975
3070
|
readonly file: ReturnType<typeof buildFileApi>;
|
|
2976
3071
|
/** The lead fyndr api allow you to manage you leads and your fyndr profile. */
|