@botpress/client 1.47.0 → 1.48.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 +13 -13
- 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 +101 -10
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2438,6 +2438,40 @@ interface CallActionResponse$1 {
|
|
|
2438
2438
|
};
|
|
2439
2439
|
}
|
|
2440
2440
|
|
|
2441
|
+
interface UnlinkIntegrationIdentifierRequestHeaders$1 {
|
|
2442
|
+
}
|
|
2443
|
+
interface UnlinkIntegrationIdentifierRequestQuery$1 {
|
|
2444
|
+
value: string;
|
|
2445
|
+
}
|
|
2446
|
+
interface UnlinkIntegrationIdentifierRequestParams$1 {
|
|
2447
|
+
}
|
|
2448
|
+
interface UnlinkIntegrationIdentifierRequestBody$1 {
|
|
2449
|
+
}
|
|
2450
|
+
type UnlinkIntegrationIdentifierInput$1 = UnlinkIntegrationIdentifierRequestBody$1 & UnlinkIntegrationIdentifierRequestHeaders$1 & UnlinkIntegrationIdentifierRequestQuery$1 & UnlinkIntegrationIdentifierRequestParams$1;
|
|
2451
|
+
interface UnlinkIntegrationIdentifierResponse$1 {
|
|
2452
|
+
/**
|
|
2453
|
+
* Number of integration instances that had the identifier removed
|
|
2454
|
+
*/
|
|
2455
|
+
count: number;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
interface GetIntegrationIdentifierAvailabilityRequestHeaders$1 {
|
|
2459
|
+
}
|
|
2460
|
+
interface GetIntegrationIdentifierAvailabilityRequestQuery$1 {
|
|
2461
|
+
value: string;
|
|
2462
|
+
}
|
|
2463
|
+
interface GetIntegrationIdentifierAvailabilityRequestParams$1 {
|
|
2464
|
+
}
|
|
2465
|
+
interface GetIntegrationIdentifierAvailabilityRequestBody$1 {
|
|
2466
|
+
}
|
|
2467
|
+
type GetIntegrationIdentifierAvailabilityInput$1 = GetIntegrationIdentifierAvailabilityRequestBody$1 & GetIntegrationIdentifierAvailabilityRequestHeaders$1 & GetIntegrationIdentifierAvailabilityRequestQuery$1 & GetIntegrationIdentifierAvailabilityRequestParams$1;
|
|
2468
|
+
interface GetIntegrationIdentifierAvailabilityResponse$1 {
|
|
2469
|
+
/**
|
|
2470
|
+
* `available` means no integration instance uses this identifier. `shareable` means it is already in use, but it can be shared. `unavailable` means it is already in use and cannot be shared.
|
|
2471
|
+
*/
|
|
2472
|
+
status: "available" | "shareable" | "unavailable";
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2441
2475
|
interface ConfigureIntegrationRequestHeaders$1 {
|
|
2442
2476
|
}
|
|
2443
2477
|
interface ConfigureIntegrationRequestQuery$1 {
|
|
@@ -3133,6 +3167,8 @@ declare class Client$b {
|
|
|
3133
3167
|
readonly getOrSetState: (input: GetOrSetStateInput$1) => Promise<GetOrSetStateResponse$1>;
|
|
3134
3168
|
readonly patchState: (input: PatchStateInput$1) => Promise<PatchStateResponse$1>;
|
|
3135
3169
|
readonly callAction: (input: CallActionInput$1) => Promise<CallActionResponse$1>;
|
|
3170
|
+
readonly unlinkIntegrationIdentifier: (input: UnlinkIntegrationIdentifierInput$1) => Promise<UnlinkIntegrationIdentifierResponse$1>;
|
|
3171
|
+
readonly getIntegrationIdentifierAvailability: (input: GetIntegrationIdentifierAvailabilityInput$1) => Promise<GetIntegrationIdentifierAvailabilityResponse$1>;
|
|
3136
3172
|
readonly configureIntegration: (input: ConfigureIntegrationInput$1) => Promise<ConfigureIntegrationResponse$1>;
|
|
3137
3173
|
readonly createWorkflow: (input: CreateWorkflowInput$1) => Promise<CreateWorkflowResponse$1>;
|
|
3138
3174
|
readonly getWorkflow: (input: GetWorkflowInput$1) => Promise<GetWorkflowResponse$1>;
|
|
@@ -15571,9 +15607,9 @@ interface GetBillingAddressRequestBody {
|
|
|
15571
15607
|
type GetBillingAddressInput = GetBillingAddressRequestBody & GetBillingAddressRequestHeaders & GetBillingAddressRequestQuery & GetBillingAddressRequestParams;
|
|
15572
15608
|
interface GetBillingAddressResponse {
|
|
15573
15609
|
address: {
|
|
15574
|
-
lineOne
|
|
15610
|
+
lineOne?: string;
|
|
15575
15611
|
lineTwo?: string;
|
|
15576
|
-
city
|
|
15612
|
+
city?: string;
|
|
15577
15613
|
state?: string;
|
|
15578
15614
|
postalCode?: string;
|
|
15579
15615
|
country: string;
|
|
@@ -15587,9 +15623,9 @@ interface SetBillingAddressRequestQuery {
|
|
|
15587
15623
|
interface SetBillingAddressRequestParams {
|
|
15588
15624
|
}
|
|
15589
15625
|
interface SetBillingAddressRequestBody {
|
|
15590
|
-
lineOne
|
|
15626
|
+
lineOne?: string;
|
|
15591
15627
|
lineTwo?: string;
|
|
15592
|
-
city
|
|
15628
|
+
city?: string;
|
|
15593
15629
|
state?: string;
|
|
15594
15630
|
postalCode?: string;
|
|
15595
15631
|
country: string;
|
|
@@ -15609,9 +15645,9 @@ interface GetCustomerRequestBody {
|
|
|
15609
15645
|
type GetCustomerInput = GetCustomerRequestBody & GetCustomerRequestHeaders & GetCustomerRequestQuery & GetCustomerRequestParams;
|
|
15610
15646
|
interface GetCustomerResponse {
|
|
15611
15647
|
address: {
|
|
15612
|
-
lineOne
|
|
15648
|
+
lineOne?: string;
|
|
15613
15649
|
lineTwo?: string;
|
|
15614
|
-
city
|
|
15650
|
+
city?: string;
|
|
15615
15651
|
state?: string;
|
|
15616
15652
|
postalCode?: string;
|
|
15617
15653
|
country: string;
|
|
@@ -15631,9 +15667,9 @@ interface SetCustomerRequestParams {
|
|
|
15631
15667
|
}
|
|
15632
15668
|
interface SetCustomerRequestBody {
|
|
15633
15669
|
address?: {
|
|
15634
|
-
lineOne
|
|
15670
|
+
lineOne?: string;
|
|
15635
15671
|
lineTwo?: string;
|
|
15636
|
-
city
|
|
15672
|
+
city?: string;
|
|
15637
15673
|
state?: string;
|
|
15638
15674
|
postalCode?: string;
|
|
15639
15675
|
country: string;
|
|
@@ -15647,9 +15683,9 @@ interface SetCustomerRequestBody {
|
|
|
15647
15683
|
type SetCustomerInput = SetCustomerRequestBody & SetCustomerRequestHeaders & SetCustomerRequestQuery & SetCustomerRequestParams;
|
|
15648
15684
|
interface SetCustomerResponse {
|
|
15649
15685
|
address: {
|
|
15650
|
-
lineOne
|
|
15686
|
+
lineOne?: string;
|
|
15651
15687
|
lineTwo?: string;
|
|
15652
|
-
city
|
|
15688
|
+
city?: string;
|
|
15653
15689
|
state?: string;
|
|
15654
15690
|
postalCode?: string;
|
|
15655
15691
|
country: string;
|
|
@@ -16498,6 +16534,24 @@ interface GetWorkspaceUsagesResponse {
|
|
|
16498
16534
|
};
|
|
16499
16535
|
}
|
|
16500
16536
|
|
|
16537
|
+
interface ListFeatureGatesRequestHeaders {
|
|
16538
|
+
}
|
|
16539
|
+
interface ListFeatureGatesRequestQuery {
|
|
16540
|
+
}
|
|
16541
|
+
interface ListFeatureGatesRequestParams {
|
|
16542
|
+
}
|
|
16543
|
+
interface ListFeatureGatesRequestBody {
|
|
16544
|
+
}
|
|
16545
|
+
type ListFeatureGatesInput = ListFeatureGatesRequestBody & ListFeatureGatesRequestHeaders & ListFeatureGatesRequestQuery & ListFeatureGatesRequestParams;
|
|
16546
|
+
interface ListFeatureGatesResponse {
|
|
16547
|
+
featureGates: {
|
|
16548
|
+
[k: string]: {
|
|
16549
|
+
enabled: boolean;
|
|
16550
|
+
overridden: boolean;
|
|
16551
|
+
};
|
|
16552
|
+
};
|
|
16553
|
+
}
|
|
16554
|
+
|
|
16501
16555
|
type ClientProps$7 = {
|
|
16502
16556
|
toAxiosRequest: typeof toAxiosRequest$3;
|
|
16503
16557
|
toApiError: typeof toApiError$3;
|
|
@@ -16534,6 +16588,7 @@ declare class Client$7 {
|
|
|
16534
16588
|
readonly getQuotas: (input: GetQuotasInput) => Promise<GetQuotasResponse>;
|
|
16535
16589
|
readonly getWorkspaceUsage: (input: GetWorkspaceUsageInput) => Promise<GetWorkspaceUsageResponse>;
|
|
16536
16590
|
readonly getWorkspaceUsages: (input: GetWorkspaceUsagesInput) => Promise<GetWorkspaceUsagesResponse>;
|
|
16591
|
+
readonly listFeatureGates: (input: ListFeatureGatesInput) => Promise<ListFeatureGatesResponse>;
|
|
16537
16592
|
}
|
|
16538
16593
|
declare function toApiError$3(err: unknown): Error;
|
|
16539
16594
|
|
|
@@ -21952,6 +22007,40 @@ interface CallActionResponse {
|
|
|
21952
22007
|
};
|
|
21953
22008
|
}
|
|
21954
22009
|
|
|
22010
|
+
interface UnlinkIntegrationIdentifierRequestHeaders {
|
|
22011
|
+
}
|
|
22012
|
+
interface UnlinkIntegrationIdentifierRequestQuery {
|
|
22013
|
+
value: string;
|
|
22014
|
+
}
|
|
22015
|
+
interface UnlinkIntegrationIdentifierRequestParams {
|
|
22016
|
+
}
|
|
22017
|
+
interface UnlinkIntegrationIdentifierRequestBody {
|
|
22018
|
+
}
|
|
22019
|
+
type UnlinkIntegrationIdentifierInput = UnlinkIntegrationIdentifierRequestBody & UnlinkIntegrationIdentifierRequestHeaders & UnlinkIntegrationIdentifierRequestQuery & UnlinkIntegrationIdentifierRequestParams;
|
|
22020
|
+
interface UnlinkIntegrationIdentifierResponse {
|
|
22021
|
+
/**
|
|
22022
|
+
* Number of integration instances that had the identifier removed
|
|
22023
|
+
*/
|
|
22024
|
+
count: number;
|
|
22025
|
+
}
|
|
22026
|
+
|
|
22027
|
+
interface GetIntegrationIdentifierAvailabilityRequestHeaders {
|
|
22028
|
+
}
|
|
22029
|
+
interface GetIntegrationIdentifierAvailabilityRequestQuery {
|
|
22030
|
+
value: string;
|
|
22031
|
+
}
|
|
22032
|
+
interface GetIntegrationIdentifierAvailabilityRequestParams {
|
|
22033
|
+
}
|
|
22034
|
+
interface GetIntegrationIdentifierAvailabilityRequestBody {
|
|
22035
|
+
}
|
|
22036
|
+
type GetIntegrationIdentifierAvailabilityInput = GetIntegrationIdentifierAvailabilityRequestBody & GetIntegrationIdentifierAvailabilityRequestHeaders & GetIntegrationIdentifierAvailabilityRequestQuery & GetIntegrationIdentifierAvailabilityRequestParams;
|
|
22037
|
+
interface GetIntegrationIdentifierAvailabilityResponse {
|
|
22038
|
+
/**
|
|
22039
|
+
* `available` means no integration instance uses this identifier. `shareable` means it is already in use, but it can be shared. `unavailable` means it is already in use and cannot be shared.
|
|
22040
|
+
*/
|
|
22041
|
+
status: "available" | "shareable" | "unavailable";
|
|
22042
|
+
}
|
|
22043
|
+
|
|
21955
22044
|
interface ConfigureIntegrationRequestHeaders {
|
|
21956
22045
|
}
|
|
21957
22046
|
interface ConfigureIntegrationRequestQuery {
|
|
@@ -39259,6 +39348,8 @@ declare class Client$1 {
|
|
|
39259
39348
|
readonly getOrSetState: (input: GetOrSetStateInput) => Promise<GetOrSetStateResponse>;
|
|
39260
39349
|
readonly patchState: (input: PatchStateInput) => Promise<PatchStateResponse>;
|
|
39261
39350
|
readonly callAction: (input: CallActionInput) => Promise<CallActionResponse>;
|
|
39351
|
+
readonly unlinkIntegrationIdentifier: (input: UnlinkIntegrationIdentifierInput) => Promise<UnlinkIntegrationIdentifierResponse>;
|
|
39352
|
+
readonly getIntegrationIdentifierAvailability: (input: GetIntegrationIdentifierAvailabilityInput) => Promise<GetIntegrationIdentifierAvailabilityResponse>;
|
|
39262
39353
|
readonly configureIntegration: (input: ConfigureIntegrationInput) => Promise<ConfigureIntegrationResponse>;
|
|
39263
39354
|
readonly createWorkflow: (input: CreateWorkflowInput) => Promise<CreateWorkflowResponse>;
|
|
39264
39355
|
readonly getWorkflow: (input: GetWorkflowInput) => Promise<GetWorkflowResponse>;
|