We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d8d80 commit ae2decbCopy full SHA for ae2decb
packages/sdk/src/modules/dashboard/apps/apps.sdk.ts
@@ -7,6 +7,7 @@ import {
7
getPayload,
8
jsonToFormData,
9
patchPayload,
10
+ postPayload,
11
type SdkInvalidFileFormatError,
12
type SdkRecordAlreadyExistsError,
13
SdkRecordNotFoundError,
@@ -113,4 +114,12 @@ export class AppsSdk extends AbstractNestedSdkWithAuth {
113
114
url: this.endpoint(`/summarize-chat-to-app/${chatId}`),
115
options: getPayload(),
116
});
117
+
118
+ readonly commercial = {
119
+ install: (agentsLibraryId: SdkTableRowUuidT) =>
120
+ this.fetch<SdkTableRowWithIdT>({
121
+ url: this.endpoint(`/commercial/install/${agentsLibraryId}`),
122
+ options: postPayload(),
123
+ }),
124
+ };
125
};
0 commit comments