@botpress/client 0.23.2 → 0.24.1

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.
Files changed (145) hide show
  1. package/.turbo/turbo-build.log +12 -6
  2. package/.turbo/turbo-generate.log +1 -1
  3. package/dist/bundle.cjs.map +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +10936 -4
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -3
  8. package/dist/client.d.ts +0 -10
  9. package/dist/config.d.ts +0 -2
  10. package/dist/errors.d.ts +0 -41
  11. package/dist/gen/errors.d.ts +0 -211
  12. package/dist/gen/index.d.ts +0 -401
  13. package/dist/gen/models.d.ts +0 -1269
  14. package/dist/gen/operations/addParticipant.d.ts +0 -56
  15. package/dist/gen/operations/breakDownWorkspaceUsageByBot.d.ts +0 -27
  16. package/dist/gen/operations/callAction.d.ts +0 -36
  17. package/dist/gen/operations/changeAISpendQuota.d.ts +0 -21
  18. package/dist/gen/operations/chargeWorkspaceUnpaidInvoices.d.ts +0 -40
  19. package/dist/gen/operations/checkHandleAvailability.d.ts +0 -24
  20. package/dist/gen/operations/configureIntegration.d.ts +0 -24
  21. package/dist/gen/operations/createBot.d.ts +0 -487
  22. package/dist/gen/operations/createBotVersion.d.ts +0 -28
  23. package/dist/gen/operations/createConversation.d.ts +0 -70
  24. package/dist/gen/operations/createEvent.d.ts +0 -95
  25. package/dist/gen/operations/createIntegration.d.ts +0 -573
  26. package/dist/gen/operations/createIntegrationApiKey.d.ts +0 -29
  27. package/dist/gen/operations/createInterface.d.ts +0 -172
  28. package/dist/gen/operations/createMessage.d.ts +0 -98
  29. package/dist/gen/operations/createPersonalAccessToken.d.ts +0 -33
  30. package/dist/gen/operations/createTable.d.ts +0 -151
  31. package/dist/gen/operations/createTableRows.d.ts +0 -71
  32. package/dist/gen/operations/createTask.d.ts +0 -125
  33. package/dist/gen/operations/createUser.d.ts +0 -70
  34. package/dist/gen/operations/createWorkspace.d.ts +0 -38
  35. package/dist/gen/operations/createWorkspaceMember.d.ts +0 -29
  36. package/dist/gen/operations/deleteBot.d.ts +0 -21
  37. package/dist/gen/operations/deleteBotIssue.d.ts +0 -22
  38. package/dist/gen/operations/deleteConversation.d.ts +0 -21
  39. package/dist/gen/operations/deleteFile.d.ts +0 -21
  40. package/dist/gen/operations/deleteIntegration.d.ts +0 -21
  41. package/dist/gen/operations/deleteIntegrationApiKey.d.ts +0 -21
  42. package/dist/gen/operations/deleteInterface.d.ts +0 -21
  43. package/dist/gen/operations/deleteMessage.d.ts +0 -21
  44. package/dist/gen/operations/deletePersonalAccessToken.d.ts +0 -21
  45. package/dist/gen/operations/deleteTable.d.ts +0 -21
  46. package/dist/gen/operations/deleteTableRows.d.ts +0 -36
  47. package/dist/gen/operations/deleteTask.d.ts +0 -21
  48. package/dist/gen/operations/deleteUser.d.ts +0 -21
  49. package/dist/gen/operations/deleteWorkspace.d.ts +0 -21
  50. package/dist/gen/operations/deleteWorkspaceMember.d.ts +0 -21
  51. package/dist/gen/operations/deployBotVersion.d.ts +0 -22
  52. package/dist/gen/operations/duplicateTable.d.ts +0 -137
  53. package/dist/gen/operations/findTableRows.d.ts +0 -94
  54. package/dist/gen/operations/getAccount.d.ts +0 -31
  55. package/dist/gen/operations/getAccountPreference.d.ts +0 -22
  56. package/dist/gen/operations/getAllWorkspaceQuotaCompletion.d.ts +0 -24
  57. package/dist/gen/operations/getAuditRecords.d.ts +0 -38
  58. package/dist/gen/operations/getBot.d.ts +0 -308
  59. package/dist/gen/operations/getBotAnalytics.d.ts +0 -49
  60. package/dist/gen/operations/getBotIssue.d.ts +0 -39
  61. package/dist/gen/operations/getBotLogs.d.ts +0 -30
  62. package/dist/gen/operations/getBotVersion.d.ts +0 -23
  63. package/dist/gen/operations/getBotWebchat.d.ts +0 -23
  64. package/dist/gen/operations/getConversation.d.ts +0 -56
  65. package/dist/gen/operations/getEvent.d.ts +0 -61
  66. package/dist/gen/operations/getFile.d.ts +0 -85
  67. package/dist/gen/operations/getIntegration.d.ts +0 -315
  68. package/dist/gen/operations/getIntegrationByName.d.ts +0 -316
  69. package/dist/gen/operations/getIntegrationLogs.d.ts +0 -30
  70. package/dist/gen/operations/getInterface.d.ts +0 -104
  71. package/dist/gen/operations/getInterfaceByName.d.ts +0 -105
  72. package/dist/gen/operations/getMessage.d.ts +0 -62
  73. package/dist/gen/operations/getMultipleUsages.d.ts +0 -45
  74. package/dist/gen/operations/getOrCreateConversation.d.ts +0 -70
  75. package/dist/gen/operations/getOrCreateMessage.d.ts +0 -98
  76. package/dist/gen/operations/getOrCreateTable.d.ts +0 -164
  77. package/dist/gen/operations/getOrCreateUser.d.ts +0 -70
  78. package/dist/gen/operations/getOrSetState.d.ts +0 -76
  79. package/dist/gen/operations/getParticipant.d.ts +0 -53
  80. package/dist/gen/operations/getPublicIntegration.d.ts +0 -321
  81. package/dist/gen/operations/getPublicIntegrationById.d.ts +0 -320
  82. package/dist/gen/operations/getPublicWorkspace.d.ts +0 -31
  83. package/dist/gen/operations/getState.d.ts +0 -66
  84. package/dist/gen/operations/getTable.d.ts +0 -136
  85. package/dist/gen/operations/getTableRow.d.ts +0 -53
  86. package/dist/gen/operations/getTask.d.ts +0 -86
  87. package/dist/gen/operations/getUpcomingInvoice.d.ts +0 -29
  88. package/dist/gen/operations/getUsage.d.ts +0 -45
  89. package/dist/gen/operations/getUser.d.ts +0 -52
  90. package/dist/gen/operations/getWorkspace.d.ts +0 -38
  91. package/dist/gen/operations/getWorkspaceMember.d.ts +0 -27
  92. package/dist/gen/operations/getWorkspaceQuota.d.ts +0 -37
  93. package/dist/gen/operations/introspect.d.ts +0 -24
  94. package/dist/gen/operations/listActivities.d.ts +0 -42
  95. package/dist/gen/operations/listBotIssueEvents.d.ts +0 -32
  96. package/dist/gen/operations/listBotIssues.d.ts +0 -45
  97. package/dist/gen/operations/listBotVersions.d.ts +0 -26
  98. package/dist/gen/operations/listBots.d.ts +0 -46
  99. package/dist/gen/operations/listConversations.d.ts +0 -64
  100. package/dist/gen/operations/listEvents.d.ts +0 -69
  101. package/dist/gen/operations/listFiles.d.ts +0 -94
  102. package/dist/gen/operations/listIntegrationApiKeys.d.ts +0 -26
  103. package/dist/gen/operations/listIntegrations.d.ts +0 -68
  104. package/dist/gen/operations/listInterfaces.d.ts +0 -49
  105. package/dist/gen/operations/listMessages.d.ts +0 -69
  106. package/dist/gen/operations/listParticipants.d.ts +0 -56
  107. package/dist/gen/operations/listPersonalAccessTokens.d.ts +0 -25
  108. package/dist/gen/operations/listPublicIntegrations.d.ts +0 -72
  109. package/dist/gen/operations/listPublicWorkspaces.d.ts +0 -42
  110. package/dist/gen/operations/listTables.d.ts +0 -126
  111. package/dist/gen/operations/listTasks.d.ts +0 -97
  112. package/dist/gen/operations/listUsageHistory.d.ts +0 -44
  113. package/dist/gen/operations/listUsers.d.ts +0 -59
  114. package/dist/gen/operations/listWorkspaceInvoices.d.ts +0 -57
  115. package/dist/gen/operations/listWorkspaceMembers.d.ts +0 -36
  116. package/dist/gen/operations/listWorkspaceQuotas.d.ts +0 -36
  117. package/dist/gen/operations/listWorkspaceUsages.d.ts +0 -45
  118. package/dist/gen/operations/listWorkspaces.d.ts +0 -47
  119. package/dist/gen/operations/patchState.d.ts +0 -72
  120. package/dist/gen/operations/removeParticipant.d.ts +0 -22
  121. package/dist/gen/operations/renameTableColumn.d.ts +0 -132
  122. package/dist/gen/operations/runVrl.d.ts +0 -28
  123. package/dist/gen/operations/searchFiles.d.ts +0 -56
  124. package/dist/gen/operations/setAccountPreference.d.ts +0 -22
  125. package/dist/gen/operations/setState.d.ts +0 -76
  126. package/dist/gen/operations/setWorkspacePaymentMethod.d.ts +0 -37
  127. package/dist/gen/operations/trackAnalytics.d.ts +0 -22
  128. package/dist/gen/operations/transferBot.d.ts +0 -25
  129. package/dist/gen/operations/updateAccount.d.ts +0 -34
  130. package/dist/gen/operations/updateBot.d.ts +0 -486
  131. package/dist/gen/operations/updateConversation.d.ts +0 -63
  132. package/dist/gen/operations/updateFileMetadata.d.ts +0 -95
  133. package/dist/gen/operations/updateIntegration.d.ts +0 -562
  134. package/dist/gen/operations/updateInterface.d.ts +0 -165
  135. package/dist/gen/operations/updateMessage.d.ts +0 -68
  136. package/dist/gen/operations/updateTable.d.ts +0 -152
  137. package/dist/gen/operations/updateTableRows.d.ts +0 -74
  138. package/dist/gen/operations/updateTask.d.ts +0 -114
  139. package/dist/gen/operations/updateUser.d.ts +0 -66
  140. package/dist/gen/operations/updateWorkspace.d.ts +0 -50
  141. package/dist/gen/operations/updateWorkspaceMember.d.ts +0 -29
  142. package/dist/gen/operations/upsertFile.d.ts +0 -114
  143. package/dist/gen/operations/upsertTableRows.d.ts +0 -107
  144. package/dist/gen/to-axios.d.ts +0 -16
  145. package/dist/types.d.ts +0 -49
@@ -1,45 +0,0 @@
1
- export interface ListBotIssuesRequestHeaders {
2
- }
3
- export interface ListBotIssuesRequestQuery {
4
- nextToken?: string;
5
- }
6
- export interface ListBotIssuesRequestParams {
7
- id: string;
8
- }
9
- export interface ListBotIssuesRequestBody {
10
- }
11
- export type ListBotIssuesInput = ListBotIssuesRequestBody & ListBotIssuesRequestHeaders & ListBotIssuesRequestQuery & ListBotIssuesRequestParams;
12
- export type ListBotIssuesRequest = {
13
- headers: ListBotIssuesRequestHeaders;
14
- query: ListBotIssuesRequestQuery;
15
- params: ListBotIssuesRequestParams;
16
- body: ListBotIssuesRequestBody;
17
- };
18
- export declare const parseReq: (input: ListBotIssuesInput) => ListBotIssuesRequest & {
19
- path: string;
20
- };
21
- export interface ListBotIssuesResponse {
22
- issues: {
23
- id: string;
24
- code: string;
25
- createdAt: string;
26
- lastSeenAt: string;
27
- title: string;
28
- description: string;
29
- groupedData: {
30
- [k: string]: {
31
- raw: string;
32
- pretty?: string;
33
- };
34
- };
35
- eventsCount: number;
36
- category: "user_code" | "limits" | "configuration" | "other";
37
- resolutionLink: string | null;
38
- }[];
39
- meta: {
40
- /**
41
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
42
- */
43
- nextToken?: string;
44
- };
45
- }
@@ -1,26 +0,0 @@
1
- export interface ListBotVersionsRequestHeaders {
2
- }
3
- export interface ListBotVersionsRequestQuery {
4
- }
5
- export interface ListBotVersionsRequestParams {
6
- id: string;
7
- }
8
- export interface ListBotVersionsRequestBody {
9
- }
10
- export type ListBotVersionsInput = ListBotVersionsRequestBody & ListBotVersionsRequestHeaders & ListBotVersionsRequestQuery & ListBotVersionsRequestParams;
11
- export type ListBotVersionsRequest = {
12
- headers: ListBotVersionsRequestHeaders;
13
- query: ListBotVersionsRequestQuery;
14
- params: ListBotVersionsRequestParams;
15
- body: ListBotVersionsRequestBody;
16
- };
17
- export declare const parseReq: (input: ListBotVersionsInput) => ListBotVersionsRequest & {
18
- path: string;
19
- };
20
- export interface ListBotVersionsResponse {
21
- versions: {
22
- id: string;
23
- name: string;
24
- description?: string;
25
- }[];
26
- }
@@ -1,46 +0,0 @@
1
- export interface ListBotsRequestHeaders {
2
- }
3
- export interface ListBotsRequestQuery {
4
- dev?: boolean;
5
- nextToken?: string;
6
- sortField?: "createdAt" | "updatedAt";
7
- sortDirection?: "asc" | "desc";
8
- }
9
- export interface ListBotsRequestParams {
10
- }
11
- export interface ListBotsRequestBody {
12
- }
13
- export type ListBotsInput = ListBotsRequestBody & ListBotsRequestHeaders & ListBotsRequestQuery & ListBotsRequestParams;
14
- export type ListBotsRequest = {
15
- headers: ListBotsRequestHeaders;
16
- query: ListBotsRequestQuery;
17
- params: ListBotsRequestParams;
18
- body: ListBotsRequestBody;
19
- };
20
- export declare const parseReq: (input: ListBotsInput) => ListBotsRequest & {
21
- path: string;
22
- };
23
- export interface ListBotsResponse {
24
- bots: {
25
- /**
26
- * Id of the [Bot](#schema_bot)
27
- */
28
- id: string;
29
- /**
30
- * Creation date of the [Bot](#schema_bot) in ISO 8601 format
31
- */
32
- createdAt: string;
33
- /**
34
- * Updating date of the [Bot](#schema_bot) in ISO 8601 format
35
- */
36
- updatedAt: string;
37
- name: string;
38
- deployedAt?: string;
39
- }[];
40
- meta: {
41
- /**
42
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
43
- */
44
- nextToken?: string;
45
- };
46
- }
@@ -1,64 +0,0 @@
1
- export interface ListConversationsRequestHeaders {
2
- }
3
- export interface ListConversationsRequestQuery {
4
- nextToken?: string;
5
- tags?: {
6
- [k: string]: string;
7
- };
8
- participantIds?: string[];
9
- integrationName?: string;
10
- }
11
- export interface ListConversationsRequestParams {
12
- }
13
- export interface ListConversationsRequestBody {
14
- }
15
- export type ListConversationsInput = ListConversationsRequestBody & ListConversationsRequestHeaders & ListConversationsRequestQuery & ListConversationsRequestParams;
16
- export type ListConversationsRequest = {
17
- headers: ListConversationsRequestHeaders;
18
- query: ListConversationsRequestQuery;
19
- params: ListConversationsRequestParams;
20
- body: ListConversationsRequestBody;
21
- };
22
- export declare const parseReq: (input: ListConversationsInput) => ListConversationsRequest & {
23
- path: string;
24
- };
25
- export interface ListConversationsResponse {
26
- conversations: {
27
- /**
28
- * Id of the [Conversation](#schema_conversation)
29
- */
30
- id: string;
31
- /**
32
- * Id of the current [Task](#schema_task)
33
- */
34
- currentTaskId?: string;
35
- /**
36
- * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
37
- */
38
- createdAt: string;
39
- /**
40
- * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
41
- */
42
- updatedAt: string;
43
- /**
44
- * Name of the channel where the [Conversation](#schema_conversation) is happening
45
- */
46
- channel: string;
47
- /**
48
- * Name of the integration that created the [Conversation](#schema_conversation)
49
- */
50
- integration: string;
51
- /**
52
- * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
53
- */
54
- tags: {
55
- [k: string]: string;
56
- };
57
- }[];
58
- meta: {
59
- /**
60
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
61
- */
62
- nextToken?: string;
63
- };
64
- }
@@ -1,69 +0,0 @@
1
- export interface ListEventsRequestHeaders {
2
- }
3
- export interface ListEventsRequestQuery {
4
- nextToken?: string;
5
- type?: string;
6
- conversationId?: string;
7
- userId?: string;
8
- messageId?: string;
9
- status?: string;
10
- }
11
- export interface ListEventsRequestParams {
12
- }
13
- export interface ListEventsRequestBody {
14
- }
15
- export type ListEventsInput = ListEventsRequestBody & ListEventsRequestHeaders & ListEventsRequestQuery & ListEventsRequestParams;
16
- export type ListEventsRequest = {
17
- headers: ListEventsRequestHeaders;
18
- query: ListEventsRequestQuery;
19
- params: ListEventsRequestParams;
20
- body: ListEventsRequestBody;
21
- };
22
- export declare const parseReq: (input: ListEventsInput) => ListEventsRequest & {
23
- path: string;
24
- };
25
- export interface ListEventsResponse {
26
- events: {
27
- /**
28
- * Id of the [Event](#schema_event)
29
- */
30
- id: string;
31
- /**
32
- * Creation date of the [Event](#schema_event) in ISO 8601 format
33
- */
34
- createdAt: string;
35
- /**
36
- * Type of the [Event](#schema_event).
37
- */
38
- type: string;
39
- /**
40
- * Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our api.
41
- */
42
- payload: {
43
- [k: string]: any;
44
- };
45
- /**
46
- * ID of the [Conversation](#schema_conversation) to link the event to.
47
- */
48
- conversationId?: string;
49
- /**
50
- * ID of the [User](#schema_user) to link the event to.
51
- */
52
- userId?: string;
53
- /**
54
- * ID of the [Message](#schema_message) to link the event to.
55
- */
56
- messageId?: string;
57
- status: "pending" | "processed" | "ignored" | "failed";
58
- /**
59
- * Reason why the event failed to be processed
60
- */
61
- failureReason: string | null;
62
- }[];
63
- meta: {
64
- /**
65
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
66
- */
67
- nextToken?: string;
68
- };
69
- }
@@ -1,94 +0,0 @@
1
- export interface ListFilesRequestHeaders {
2
- }
3
- export interface ListFilesRequestQuery {
4
- nextToken?: string;
5
- tags?: {
6
- [k: string]: string;
7
- };
8
- }
9
- export interface ListFilesRequestParams {
10
- }
11
- export interface ListFilesRequestBody {
12
- }
13
- export type ListFilesInput = ListFilesRequestBody & ListFilesRequestHeaders & ListFilesRequestQuery & ListFilesRequestParams;
14
- export type ListFilesRequest = {
15
- headers: ListFilesRequestHeaders;
16
- query: ListFilesRequestQuery;
17
- params: ListFilesRequestParams;
18
- body: ListFilesRequestBody;
19
- };
20
- export declare const parseReq: (input: ListFilesInput) => ListFilesRequest & {
21
- path: string;
22
- };
23
- export interface ListFilesResponse {
24
- files: {
25
- /**
26
- * File ID
27
- */
28
- id: string;
29
- /**
30
- * The ID of the bot the file belongs to
31
- */
32
- botId: string;
33
- /**
34
- * Unique key for the file. Must be unique across the bot (and the integration, when applicable).
35
- */
36
- key: string;
37
- /**
38
- * URL to retrieve the file content. This URL will be ready to use once the file is uploaded.
39
- *
40
- * If the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.
41
- */
42
- url: string;
43
- /**
44
- * File size in bytes. Non-null if file upload status is "COMPLETE".
45
- */
46
- size: number | null;
47
- /**
48
- * MIME type of the file's content
49
- */
50
- contentType: string;
51
- /**
52
- * The tags of the file as an object of key/value pairs
53
- */
54
- tags: {
55
- [k: string]: string;
56
- };
57
- /**
58
- * File creation timestamp in ISO 8601 format
59
- */
60
- createdAt: string;
61
- /**
62
- * File last update timestamp in ISO 8601 format
63
- */
64
- updatedAt: string;
65
- /**
66
- * Access policies configured for the file.
67
- */
68
- accessPolicies: ("integrations" | "public_content")[];
69
- /**
70
- * Whether the file was requested to be indexed for search or not.
71
- */
72
- index: boolean;
73
- /**
74
- * Status of the file. If the status is `upload_pending`, the file content has not been uploaded yet. The status will be set to `upload_completed` once the file content has been uploaded successfully.
75
- *
76
- * If the upload failed for any reason (e.g. exceeding the storage quota or the maximum file size limit) the status will be set to `upload_failed` and the reason for the failure will be available in the `failedStatusReason` field of the file.
77
- *
78
- * However, if the file has been uploaded and the `index` attribute was set to `true` on the file, the status will immediately transition to the `indexing_pending` status (the `upload_completed` status step will be skipped).
79
- *
80
- * Once the indexing is completed and the file is ready to be used for searching its status will be set to `indexing_completed`. If the indexing failed the status will be set to `indexing_failed` and the reason for the failure will be available in the `failedStatusReason` field.
81
- */
82
- status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
83
- /**
84
- * If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure.
85
- */
86
- failedStatusReason?: string;
87
- }[];
88
- meta: {
89
- /**
90
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
91
- */
92
- nextToken?: string;
93
- };
94
- }
@@ -1,26 +0,0 @@
1
- export interface ListIntegrationApiKeysRequestHeaders {
2
- }
3
- export interface ListIntegrationApiKeysRequestQuery {
4
- integrationId: string;
5
- }
6
- export interface ListIntegrationApiKeysRequestParams {
7
- }
8
- export interface ListIntegrationApiKeysRequestBody {
9
- }
10
- export type ListIntegrationApiKeysInput = ListIntegrationApiKeysRequestBody & ListIntegrationApiKeysRequestHeaders & ListIntegrationApiKeysRequestQuery & ListIntegrationApiKeysRequestParams;
11
- export type ListIntegrationApiKeysRequest = {
12
- headers: ListIntegrationApiKeysRequestHeaders;
13
- query: ListIntegrationApiKeysRequestQuery;
14
- params: ListIntegrationApiKeysRequestParams;
15
- body: ListIntegrationApiKeysRequestBody;
16
- };
17
- export declare const parseReq: (input: ListIntegrationApiKeysInput) => ListIntegrationApiKeysRequest & {
18
- path: string;
19
- };
20
- export interface ListIntegrationApiKeysResponse {
21
- iaks: {
22
- id: string;
23
- createdAt: string;
24
- note: string;
25
- }[];
26
- }
@@ -1,68 +0,0 @@
1
- export interface ListIntegrationsRequestHeaders {
2
- }
3
- export interface ListIntegrationsRequestQuery {
4
- nextToken?: string;
5
- name?: string;
6
- version?: string;
7
- dev?: boolean;
8
- }
9
- export interface ListIntegrationsRequestParams {
10
- }
11
- export interface ListIntegrationsRequestBody {
12
- }
13
- export type ListIntegrationsInput = ListIntegrationsRequestBody & ListIntegrationsRequestHeaders & ListIntegrationsRequestQuery & ListIntegrationsRequestParams;
14
- export type ListIntegrationsRequest = {
15
- headers: ListIntegrationsRequestHeaders;
16
- query: ListIntegrationsRequestQuery;
17
- params: ListIntegrationsRequestParams;
18
- body: ListIntegrationsRequestBody;
19
- };
20
- export declare const parseReq: (input: ListIntegrationsInput) => ListIntegrationsRequest & {
21
- path: string;
22
- };
23
- export interface ListIntegrationsResponse {
24
- integrations: {
25
- /**
26
- * ID of the [Integration](#schema_integration)
27
- */
28
- id: string;
29
- /**
30
- * Name of the [Integration](#schema_integration)
31
- */
32
- name: string;
33
- /**
34
- * Version of the [Integration](#schema_integration)
35
- */
36
- version: string;
37
- /**
38
- * Creation date of the [Integration](#schema_integration) in ISO 8601 format
39
- */
40
- createdAt: string;
41
- /**
42
- * Updating date of the [Integration](#schema_integration) in ISO 8601 format
43
- */
44
- updatedAt: string;
45
- /**
46
- * Title of the integration. This is the name that will be displayed in the UI
47
- */
48
- title: string;
49
- /**
50
- * Description of the integration. This is the description that will be displayed in the UI
51
- */
52
- description: string;
53
- /**
54
- * URL of the icon of the integration. This is the icon that will be displayed in the UI
55
- */
56
- iconUrl: string;
57
- /**
58
- * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
59
- */
60
- public: boolean;
61
- }[];
62
- meta: {
63
- /**
64
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
65
- */
66
- nextToken?: string;
67
- };
68
- }
@@ -1,49 +0,0 @@
1
- export interface ListInterfacesRequestHeaders {
2
- }
3
- export interface ListInterfacesRequestQuery {
4
- nextToken?: string;
5
- }
6
- export interface ListInterfacesRequestParams {
7
- }
8
- export interface ListInterfacesRequestBody {
9
- }
10
- export type ListInterfacesInput = ListInterfacesRequestBody & ListInterfacesRequestHeaders & ListInterfacesRequestQuery & ListInterfacesRequestParams;
11
- export type ListInterfacesRequest = {
12
- headers: ListInterfacesRequestHeaders;
13
- query: ListInterfacesRequestQuery;
14
- params: ListInterfacesRequestParams;
15
- body: ListInterfacesRequestBody;
16
- };
17
- export declare const parseReq: (input: ListInterfacesInput) => ListInterfacesRequest & {
18
- path: string;
19
- };
20
- export interface ListInterfacesResponse {
21
- interfaces: {
22
- /**
23
- * ID of the [Interface](#schema_interface)
24
- */
25
- id: string;
26
- /**
27
- * Creation date of the [Interface](#schema_interface) in ISO 8601 format
28
- */
29
- createdAt: string;
30
- /**
31
- * Updating date of the [Interface](#schema_interface) in ISO 8601 format
32
- */
33
- updatedAt: string;
34
- /**
35
- * Name of the [Interface](#schema_interface)
36
- */
37
- name: string;
38
- /**
39
- * Version of the [Interface](#schema_interface)
40
- */
41
- version: string;
42
- }[];
43
- meta: {
44
- /**
45
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
46
- */
47
- nextToken?: string;
48
- };
49
- }
@@ -1,69 +0,0 @@
1
- export interface ListMessagesRequestHeaders {
2
- }
3
- export interface ListMessagesRequestQuery {
4
- nextToken?: string;
5
- conversationId?: string;
6
- tags?: {
7
- [k: string]: string;
8
- };
9
- }
10
- export interface ListMessagesRequestParams {
11
- }
12
- export interface ListMessagesRequestBody {
13
- }
14
- export type ListMessagesInput = ListMessagesRequestBody & ListMessagesRequestHeaders & ListMessagesRequestQuery & ListMessagesRequestParams;
15
- export type ListMessagesRequest = {
16
- headers: ListMessagesRequestHeaders;
17
- query: ListMessagesRequestQuery;
18
- params: ListMessagesRequestParams;
19
- body: ListMessagesRequestBody;
20
- };
21
- export declare const parseReq: (input: ListMessagesInput) => ListMessagesRequest & {
22
- path: string;
23
- };
24
- export interface ListMessagesResponse {
25
- messages: {
26
- /**
27
- * Id of the [Message](#schema_message)
28
- */
29
- id: string;
30
- /**
31
- * Creation date of the [Message](#schema_message) in ISO 8601 format
32
- */
33
- createdAt: string;
34
- /**
35
- * Type of the [Message](#schema_message) represents the resource type that the message is related to
36
- */
37
- type: string;
38
- /**
39
- * Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
40
- */
41
- payload: {
42
- [k: string]: any;
43
- };
44
- /**
45
- * Direction of the message (`incoming` or `outgoing`).
46
- */
47
- direction: "incoming" | "outgoing";
48
- /**
49
- * ID of the [User](#schema_user)
50
- */
51
- userId: string;
52
- /**
53
- * ID of the [Conversation](#schema_conversation)
54
- */
55
- conversationId: string;
56
- /**
57
- * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
58
- */
59
- tags: {
60
- [k: string]: string;
61
- };
62
- }[];
63
- meta: {
64
- /**
65
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
66
- */
67
- nextToken?: string;
68
- };
69
- }
@@ -1,56 +0,0 @@
1
- export interface ListParticipantsRequestHeaders {
2
- }
3
- export interface ListParticipantsRequestQuery {
4
- nextToken?: string;
5
- }
6
- export interface ListParticipantsRequestParams {
7
- id: string;
8
- }
9
- export interface ListParticipantsRequestBody {
10
- }
11
- export type ListParticipantsInput = ListParticipantsRequestBody & ListParticipantsRequestHeaders & ListParticipantsRequestQuery & ListParticipantsRequestParams;
12
- export type ListParticipantsRequest = {
13
- headers: ListParticipantsRequestHeaders;
14
- query: ListParticipantsRequestQuery;
15
- params: ListParticipantsRequestParams;
16
- body: ListParticipantsRequestBody;
17
- };
18
- export declare const parseReq: (input: ListParticipantsInput) => ListParticipantsRequest & {
19
- path: string;
20
- };
21
- export interface ListParticipantsResponse {
22
- participants: {
23
- /**
24
- * Id of the [User](#schema_user)
25
- */
26
- id: string;
27
- /**
28
- * Creation date of the [User](#schema_user) in ISO 8601 format
29
- */
30
- createdAt: string;
31
- /**
32
- * Updating date of the [User](#schema_user) in ISO 8601 format
33
- */
34
- updatedAt: string;
35
- /**
36
- * Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.
37
- */
38
- tags: {
39
- [k: string]: string;
40
- };
41
- /**
42
- * Name of the [User](#schema_user)
43
- */
44
- name?: string;
45
- /**
46
- * Picture URL of the [User](#schema_user)
47
- */
48
- pictureUrl?: string;
49
- }[];
50
- meta: {
51
- /**
52
- * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
53
- */
54
- nextToken?: string;
55
- };
56
- }
@@ -1,25 +0,0 @@
1
- export interface ListPersonalAccessTokensRequestHeaders {
2
- }
3
- export interface ListPersonalAccessTokensRequestQuery {
4
- }
5
- export interface ListPersonalAccessTokensRequestParams {
6
- }
7
- export interface ListPersonalAccessTokensRequestBody {
8
- }
9
- export type ListPersonalAccessTokensInput = ListPersonalAccessTokensRequestBody & ListPersonalAccessTokensRequestHeaders & ListPersonalAccessTokensRequestQuery & ListPersonalAccessTokensRequestParams;
10
- export type ListPersonalAccessTokensRequest = {
11
- headers: ListPersonalAccessTokensRequestHeaders;
12
- query: ListPersonalAccessTokensRequestQuery;
13
- params: ListPersonalAccessTokensRequestParams;
14
- body: ListPersonalAccessTokensRequestBody;
15
- };
16
- export declare const parseReq: (_: ListPersonalAccessTokensInput) => ListPersonalAccessTokensRequest & {
17
- path: string;
18
- };
19
- export interface ListPersonalAccessTokensResponse {
20
- pats: {
21
- id: string;
22
- createdAt: string;
23
- note: string;
24
- }[];
25
- }