@wildix/wim-knowledge-base-client 0.0.7 → 0.0.8

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.
@@ -1,84 +0,0 @@
1
- import { KnowledgeBaseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KnowledgeBaseClient";
2
- import { SyncDataSourceInput, SyncDataSourceOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link SyncDataSourceCommand}.
14
- */
15
- export interface SyncDataSourceCommandInput extends SyncDataSourceInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link SyncDataSourceCommand}.
21
- */
22
- export interface SyncDataSourceCommandOutput extends SyncDataSourceOutput, __MetadataBearer {
23
- }
24
- declare const SyncDataSourceCommand_base: {
25
- new (input: SyncDataSourceCommandInput): import("@smithy/smithy-client").CommandImpl<SyncDataSourceCommandInput, SyncDataSourceCommandOutput, KnowledgeBaseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: SyncDataSourceCommandInput): import("@smithy/smithy-client").CommandImpl<SyncDataSourceCommandInput, SyncDataSourceCommandOutput, KnowledgeBaseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Sync a data source by its ID
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { KnowledgeBaseClient, SyncDataSourceCommand } from "@wildix/wim-knowledge-base-client"; // ES Modules import
35
- * // const { KnowledgeBaseClient, SyncDataSourceCommand } = require("@wildix/wim-knowledge-base-client"); // CommonJS import
36
- * const client = new KnowledgeBaseClient(config);
37
- * const input = { // SyncDataSourceInput
38
- * companyId: "STRING_VALUE",
39
- * dataSourceId: "STRING_VALUE", // required
40
- * syncType: "full" || "incremental" || "unknown", // required
41
- * };
42
- * const command = new SyncDataSourceCommand(input);
43
- * const response = await client.send(command);
44
- * // {};
45
- *
46
- * ```
47
- *
48
- * @param SyncDataSourceCommandInput - {@link SyncDataSourceCommandInput}
49
- * @returns {@link SyncDataSourceCommandOutput}
50
- * @see {@link SyncDataSourceCommandInput} for command's `input` shape.
51
- * @see {@link SyncDataSourceCommandOutput} for command's `response` shape.
52
- * @see {@link KnowledgeBaseClientResolvedConfig | config} for KnowledgeBaseClient's `config` shape.
53
- *
54
- * @throws {@link DataSourceNotFoundException} (client fault)
55
- *
56
- * @throws {@link UnauthorizedException} (client fault)
57
- *
58
- * @throws {@link ForbiddenException} (client fault)
59
- *
60
- * @throws {@link ValidationException} (client fault)
61
- *
62
- * @throws {@link KnowledgeBaseNotFoundException} (client fault)
63
- *
64
- * @throws {@link DocumentNotFoundException} (client fault)
65
- *
66
- * @throws {@link KnowledgeBaseServiceException}
67
- * <p>Base exception class for all service exceptions from KnowledgeBase service.</p>
68
- *
69
- *
70
- * @public
71
- */
72
- export declare class SyncDataSourceCommand extends SyncDataSourceCommand_base {
73
- /** @internal type navigation helper, not in runtime. */
74
- protected static __types: {
75
- api: {
76
- input: SyncDataSourceInput;
77
- output: {};
78
- };
79
- sdk: {
80
- input: SyncDataSourceCommandInput;
81
- output: SyncDataSourceCommandOutput;
82
- };
83
- };
84
- }