@botpress/client 2.5.0 → 2.6.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/bundle.cjs +5 -5
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +44 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8592,6 +8592,27 @@ interface ChargeWorkspaceUnpaidInvoicesResponse$1 {
|
|
|
8592
8592
|
}[];
|
|
8593
8593
|
}
|
|
8594
8594
|
|
|
8595
|
+
interface SaveWorkspaceCancellationReasonsRequestHeaders$1 {
|
|
8596
|
+
}
|
|
8597
|
+
interface SaveWorkspaceCancellationReasonsRequestQuery$1 {
|
|
8598
|
+
}
|
|
8599
|
+
interface SaveWorkspaceCancellationReasonsRequestParams$1 {
|
|
8600
|
+
id: string;
|
|
8601
|
+
}
|
|
8602
|
+
interface SaveWorkspaceCancellationReasonsRequestBody$1 {
|
|
8603
|
+
/**
|
|
8604
|
+
* Reasons for canceling the subscription
|
|
8605
|
+
*/
|
|
8606
|
+
reasons: ("too_expensive" | "not_using_enough" | "missing_feature" | "switched_tool" | "technical_issues" | "support_expectations" | "temporary_need")[];
|
|
8607
|
+
/**
|
|
8608
|
+
* Additional comment on the cancellation
|
|
8609
|
+
*/
|
|
8610
|
+
comment?: string;
|
|
8611
|
+
}
|
|
8612
|
+
type SaveWorkspaceCancellationReasonsInput$1 = SaveWorkspaceCancellationReasonsRequestBody$1 & SaveWorkspaceCancellationReasonsRequestHeaders$1 & SaveWorkspaceCancellationReasonsRequestQuery$1 & SaveWorkspaceCancellationReasonsRequestParams$1;
|
|
8613
|
+
interface SaveWorkspaceCancellationReasonsResponse$1 {
|
|
8614
|
+
}
|
|
8615
|
+
|
|
8595
8616
|
interface CreateWorkspaceRequestHeaders$1 {
|
|
8596
8617
|
}
|
|
8597
8618
|
interface CreateWorkspaceRequestQuery$1 {
|
|
@@ -15432,6 +15453,7 @@ declare class Client$9 {
|
|
|
15432
15453
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
|
|
15433
15454
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
|
|
15434
15455
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
|
|
15456
|
+
readonly saveWorkspaceCancellationReasons: (input: SaveWorkspaceCancellationReasonsInput$1) => Promise<SaveWorkspaceCancellationReasonsResponse$1>;
|
|
15435
15457
|
readonly createWorkspace: (input: CreateWorkspaceInput$1) => Promise<CreateWorkspaceResponse$1>;
|
|
15436
15458
|
readonly getPublicWorkspace: (input: GetPublicWorkspaceInput$1) => Promise<GetPublicWorkspaceResponse$3>;
|
|
15437
15459
|
readonly getWorkspace: (input: GetWorkspaceInput$1) => Promise<GetWorkspaceResponse$1>;
|
|
@@ -28211,6 +28233,27 @@ interface ChargeWorkspaceUnpaidInvoicesResponse {
|
|
|
28211
28233
|
}[];
|
|
28212
28234
|
}
|
|
28213
28235
|
|
|
28236
|
+
interface SaveWorkspaceCancellationReasonsRequestHeaders {
|
|
28237
|
+
}
|
|
28238
|
+
interface SaveWorkspaceCancellationReasonsRequestQuery {
|
|
28239
|
+
}
|
|
28240
|
+
interface SaveWorkspaceCancellationReasonsRequestParams {
|
|
28241
|
+
id: string;
|
|
28242
|
+
}
|
|
28243
|
+
interface SaveWorkspaceCancellationReasonsRequestBody {
|
|
28244
|
+
/**
|
|
28245
|
+
* Reasons for canceling the subscription
|
|
28246
|
+
*/
|
|
28247
|
+
reasons: ("too_expensive" | "not_using_enough" | "missing_feature" | "switched_tool" | "technical_issues" | "support_expectations" | "temporary_need")[];
|
|
28248
|
+
/**
|
|
28249
|
+
* Additional comment on the cancellation
|
|
28250
|
+
*/
|
|
28251
|
+
comment?: string;
|
|
28252
|
+
}
|
|
28253
|
+
type SaveWorkspaceCancellationReasonsInput = SaveWorkspaceCancellationReasonsRequestBody & SaveWorkspaceCancellationReasonsRequestHeaders & SaveWorkspaceCancellationReasonsRequestQuery & SaveWorkspaceCancellationReasonsRequestParams;
|
|
28254
|
+
interface SaveWorkspaceCancellationReasonsResponse {
|
|
28255
|
+
}
|
|
28256
|
+
|
|
28214
28257
|
interface CreateWorkspaceRequestHeaders {
|
|
28215
28258
|
}
|
|
28216
28259
|
interface CreateWorkspaceRequestQuery {
|
|
@@ -39840,6 +39883,7 @@ declare class Client$1 {
|
|
|
39840
39883
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
39841
39884
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
39842
39885
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|
|
39886
|
+
readonly saveWorkspaceCancellationReasons: (input: SaveWorkspaceCancellationReasonsInput) => Promise<SaveWorkspaceCancellationReasonsResponse>;
|
|
39843
39887
|
readonly createWorkspace: (input: CreateWorkspaceInput) => Promise<CreateWorkspaceResponse>;
|
|
39844
39888
|
readonly getPublicWorkspace: (input: GetPublicWorkspaceInput) => Promise<GetPublicWorkspaceResponse$1>;
|
|
39845
39889
|
readonly getWorkspace: (input: GetWorkspaceInput) => Promise<GetWorkspaceResponse>;
|