@djangocfg/api 1.0.1 → 1.0.2

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 (108) hide show
  1. package/dist/index.cjs +18173 -8526
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +15000 -5567
  4. package/dist/index.d.ts +15000 -5567
  5. package/dist/index.mjs +17990 -8659
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +17 -17
  8. package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -2
  9. package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +1 -1
  10. package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +6 -6
  11. package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +1 -1
  12. package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -2
  13. package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +876 -0
  14. package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +6 -6
  15. package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +1 -1
  16. package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +3 -3
  17. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +1 -1
  18. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +6 -6
  19. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +1 -1
  20. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -2
  21. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +3 -3
  22. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +1 -1
  23. package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +171 -171
  24. package/src/cfg/generated/_utils/fetchers/cfg__payments__webhooks.ts +5 -5
  25. package/src/cfg/generated/_utils/fetchers/cfg__support.ts +12 -12
  26. package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +10 -10
  27. package/src/cfg/generated/_utils/fetchers/index.ts +1 -0
  28. package/src/cfg/generated/_utils/hooks/cfg__knowbase.ts +997 -0
  29. package/src/cfg/generated/_utils/hooks/index.ts +1 -0
  30. package/src/cfg/generated/_utils/schemas/ArchiveItem.schema.ts +33 -0
  31. package/src/cfg/generated/_utils/schemas/ArchiveItemChunk.schema.ts +29 -0
  32. package/src/cfg/generated/_utils/schemas/ArchiveItemChunkDetail.schema.ts +30 -0
  33. package/src/cfg/generated/_utils/schemas/ArchiveItemChunkRequest.schema.ts +22 -0
  34. package/src/cfg/generated/_utils/schemas/ArchiveItemDetail.schema.ts +35 -0
  35. package/src/cfg/generated/_utils/schemas/ArchiveItemRequest.schema.ts +22 -0
  36. package/src/cfg/generated/_utils/schemas/ArchiveProcessingResult.schema.ts +26 -0
  37. package/src/cfg/generated/_utils/schemas/ArchiveSearchRequestRequest.schema.ts +25 -0
  38. package/src/cfg/generated/_utils/schemas/ArchiveSearchResult.schema.ts +24 -0
  39. package/src/cfg/generated/_utils/schemas/ArchiveStatistics.schema.ts +28 -0
  40. package/src/cfg/generated/_utils/schemas/ChatHistory.schema.ts +22 -0
  41. package/src/cfg/generated/_utils/schemas/ChatMessage.schema.ts +27 -0
  42. package/src/cfg/generated/_utils/schemas/ChatQueryRequest.schema.ts +22 -0
  43. package/src/cfg/generated/_utils/schemas/ChatResponse.schema.ts +26 -0
  44. package/src/cfg/generated/_utils/schemas/ChatResponseRequest.schema.ts +26 -0
  45. package/src/cfg/generated/_utils/schemas/ChatSession.schema.ts +29 -0
  46. package/src/cfg/generated/_utils/schemas/ChatSessionCreateRequest.schema.ts +22 -0
  47. package/src/cfg/generated/_utils/schemas/ChatSessionRequest.schema.ts +25 -0
  48. package/src/cfg/generated/_utils/schemas/ChatSource.schema.ts +21 -0
  49. package/src/cfg/generated/_utils/schemas/ChatSourceRequest.schema.ts +21 -0
  50. package/src/cfg/generated/_utils/schemas/ChunkRevectorizationRequestRequest.schema.ts +20 -0
  51. package/src/cfg/generated/_utils/schemas/Document.schema.ts +32 -0
  52. package/src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts +44 -0
  53. package/src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts +48 -0
  54. package/src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts +35 -0
  55. package/src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts +21 -0
  56. package/src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts +23 -0
  57. package/src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts +21 -0
  58. package/src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts +22 -0
  59. package/src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts +23 -0
  60. package/src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts +22 -0
  61. package/src/cfg/generated/_utils/schemas/DocumentStats.schema.ts +25 -0
  62. package/src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts +24 -0
  63. package/src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts +24 -0
  64. package/src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts +24 -0
  65. package/src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts +24 -0
  66. package/src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts +24 -0
  67. package/src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts +24 -0
  68. package/src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts +24 -0
  69. package/src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts +24 -0
  70. package/src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts +24 -0
  71. package/src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts +22 -0
  72. package/src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts +22 -0
  73. package/src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts +26 -0
  74. package/src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts +25 -0
  75. package/src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts +21 -0
  76. package/src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts +22 -0
  77. package/src/cfg/generated/_utils/schemas/PublicCategory.schema.ts +21 -0
  78. package/src/cfg/generated/_utils/schemas/PublicDocument.schema.ts +25 -0
  79. package/src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts +24 -0
  80. package/src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts +24 -0
  81. package/src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts +26 -0
  82. package/src/cfg/generated/_utils/schemas/index.ts +52 -0
  83. package/src/cfg/generated/cfg__accounts/client.ts +1 -1
  84. package/src/cfg/generated/cfg__accounts__auth/client.ts +1 -1
  85. package/src/cfg/generated/cfg__accounts__user_profile/client.ts +1 -1
  86. package/src/cfg/generated/cfg__endpoints/client.ts +1 -1
  87. package/src/cfg/generated/cfg__health/client.ts +1 -1
  88. package/src/cfg/generated/cfg__knowbase/client.ts +666 -0
  89. package/src/cfg/generated/cfg__knowbase/index.ts +2 -0
  90. package/src/cfg/generated/cfg__knowbase/models.ts +1120 -0
  91. package/src/cfg/generated/cfg__leads/client.ts +1 -1
  92. package/src/cfg/generated/cfg__leads__lead_submission/client.ts +1 -1
  93. package/src/cfg/generated/cfg__newsletter/client.ts +1 -1
  94. package/src/cfg/generated/cfg__newsletter__bulk_email/client.ts +1 -1
  95. package/src/cfg/generated/cfg__newsletter__campaigns/client.ts +1 -1
  96. package/src/cfg/generated/cfg__newsletter__logs/client.ts +1 -1
  97. package/src/cfg/generated/cfg__newsletter__newsletters/client.ts +1 -1
  98. package/src/cfg/generated/cfg__newsletter__subscriptions/client.ts +1 -1
  99. package/src/cfg/generated/cfg__newsletter__testing/client.ts +1 -1
  100. package/src/cfg/generated/cfg__payments/client.ts +1 -1
  101. package/src/cfg/generated/cfg__payments__webhooks/client.ts +1 -1
  102. package/src/cfg/generated/cfg__support/client.ts +1 -1
  103. package/src/cfg/generated/cfg__tasks/client.ts +1 -1
  104. package/src/cfg/generated/client.ts +57 -54
  105. package/src/cfg/generated/enums.ts +241 -0
  106. package/src/cfg/generated/index.ts +81 -27
  107. package/src/cfg/generated/schema.ts +10236 -4400
  108. package/src/index.ts +4 -1
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Leads.
6
6
  */
7
- export class CfgLeadsAPI {
7
+ export class CfgLeads {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Lead Submission.
6
6
  */
7
- export class CfgLeadSubmissionAPI {
7
+ export class CfgLeadSubmission {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Newsletter.
6
6
  */
7
- export class CfgNewsletterAPI {
7
+ export class CfgNewsletter {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Bulk Email.
6
6
  */
7
- export class CfgBulkEmailAPI {
7
+ export class CfgBulkEmail {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Campaigns.
6
6
  */
7
- export class CfgCampaignsAPI {
7
+ export class CfgCampaigns {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Logs.
6
6
  */
7
- export class CfgLogsAPI {
7
+ export class CfgLogs {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Newsletters.
6
6
  */
7
- export class CfgNewslettersAPI {
7
+ export class CfgNewsletters {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Subscriptions.
6
6
  */
7
- export class CfgSubscriptionsAPI {
7
+ export class CfgSubscriptions {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Testing.
6
6
  */
7
- export class CfgTestingAPI {
7
+ export class CfgTesting {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Payments.
6
6
  */
7
- export class CfgPaymentsAPI {
7
+ export class CfgPayments {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Webhooks.
6
6
  */
7
- export class CfgWebhooksAPI {
7
+ export class CfgWebhooks {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Support.
6
6
  */
7
- export class CfgSupportAPI {
7
+ export class CfgSupport {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Tasks.
6
6
  */
7
- export class CfgTasksAPI {
7
+ export class CfgTasks {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -1,21 +1,22 @@
1
- import { CfgAuthAPI } from "./cfg__accounts__auth";
2
- import { CfgBulkEmailAPI } from "./cfg__newsletter__bulk_email";
3
- import { CfgCampaignsAPI } from "./cfg__newsletter__campaigns";
4
- import { CfgLeadSubmissionAPI } from "./cfg__leads__lead_submission";
5
- import { CfgLogsAPI } from "./cfg__newsletter__logs";
6
- import { CfgNewslettersAPI } from "./cfg__newsletter__newsletters";
7
- import { CfgSubscriptionsAPI } from "./cfg__newsletter__subscriptions";
8
- import { CfgTestingAPI } from "./cfg__newsletter__testing";
9
- import { CfgUserProfileAPI } from "./cfg__accounts__user_profile";
10
- import { CfgWebhooksAPI } from "./cfg__payments__webhooks";
11
- import { CfgAccountsAPI } from "./cfg__accounts";
12
- import { CfgEndpointsAPI } from "./cfg__endpoints";
13
- import { CfgHealthAPI } from "./cfg__health";
14
- import { CfgLeadsAPI } from "./cfg__leads";
15
- import { CfgNewsletterAPI } from "./cfg__newsletter";
16
- import { CfgPaymentsAPI } from "./cfg__payments";
17
- import { CfgSupportAPI } from "./cfg__support";
18
- import { CfgTasksAPI } from "./cfg__tasks";
1
+ import { CfgAuth } from "./cfg__accounts__auth";
2
+ import { CfgBulkEmail } from "./cfg__newsletter__bulk_email";
3
+ import { CfgCampaigns } from "./cfg__newsletter__campaigns";
4
+ import { CfgLeadSubmission } from "./cfg__leads__lead_submission";
5
+ import { CfgLogs } from "./cfg__newsletter__logs";
6
+ import { CfgNewsletters } from "./cfg__newsletter__newsletters";
7
+ import { CfgSubscriptions } from "./cfg__newsletter__subscriptions";
8
+ import { CfgTesting } from "./cfg__newsletter__testing";
9
+ import { CfgUserProfile } from "./cfg__accounts__user_profile";
10
+ import { CfgWebhooks } from "./cfg__payments__webhooks";
11
+ import { CfgAccounts } from "./cfg__accounts";
12
+ import { CfgEndpoints } from "./cfg__endpoints";
13
+ import { CfgHealth } from "./cfg__health";
14
+ import { CfgKnowbase } from "./cfg__knowbase";
15
+ import { CfgLeads } from "./cfg__leads";
16
+ import { CfgNewsletter } from "./cfg__newsletter";
17
+ import { CfgPayments } from "./cfg__payments";
18
+ import { CfgSupport } from "./cfg__support";
19
+ import { CfgTasks } from "./cfg__tasks";
19
20
  import { HttpClientAdapter, FetchAdapter } from "./http";
20
21
  import { APIError, NetworkError } from "./errors";
21
22
  import { APILogger, type LoggerConfig } from "./logger";
@@ -44,24 +45,25 @@ export class APIClient {
44
45
  private retryConfig: RetryConfig | null = null;
45
46
 
46
47
  // Sub-clients
47
- public cfg_auth: CfgAuthAPI;
48
- public cfg_bulk_email: CfgBulkEmailAPI;
49
- public cfg_campaigns: CfgCampaignsAPI;
50
- public cfg_lead_submission: CfgLeadSubmissionAPI;
51
- public cfg_logs: CfgLogsAPI;
52
- public cfg_newsletters: CfgNewslettersAPI;
53
- public cfg_subscriptions: CfgSubscriptionsAPI;
54
- public cfg_testing: CfgTestingAPI;
55
- public cfg_user_profile: CfgUserProfileAPI;
56
- public cfg_webhooks: CfgWebhooksAPI;
57
- public cfg_accounts: CfgAccountsAPI;
58
- public cfg_endpoints: CfgEndpointsAPI;
59
- public cfg_health: CfgHealthAPI;
60
- public cfg_leads: CfgLeadsAPI;
61
- public cfg_newsletter: CfgNewsletterAPI;
62
- public cfg_payments: CfgPaymentsAPI;
63
- public cfg_support: CfgSupportAPI;
64
- public cfg_tasks: CfgTasksAPI;
48
+ public cfg_auth: CfgAuth;
49
+ public cfg_bulk_email: CfgBulkEmail;
50
+ public cfg_campaigns: CfgCampaigns;
51
+ public cfg_lead_submission: CfgLeadSubmission;
52
+ public cfg_logs: CfgLogs;
53
+ public cfg_newsletters: CfgNewsletters;
54
+ public cfg_subscriptions: CfgSubscriptions;
55
+ public cfg_testing: CfgTesting;
56
+ public cfg_user_profile: CfgUserProfile;
57
+ public cfg_webhooks: CfgWebhooks;
58
+ public cfg_accounts: CfgAccounts;
59
+ public cfg_endpoints: CfgEndpoints;
60
+ public cfg_health: CfgHealth;
61
+ public cfg_knowbase: CfgKnowbase;
62
+ public cfg_leads: CfgLeads;
63
+ public cfg_newsletter: CfgNewsletter;
64
+ public cfg_payments: CfgPayments;
65
+ public cfg_support: CfgSupport;
66
+ public cfg_tasks: CfgTasks;
65
67
 
66
68
  constructor(
67
69
  baseUrl: string,
@@ -85,24 +87,25 @@ export class APIClient {
85
87
  }
86
88
 
87
89
  // Initialize sub-clients
88
- this.cfg_auth = new CfgAuthAPI(this);
89
- this.cfg_bulk_email = new CfgBulkEmailAPI(this);
90
- this.cfg_campaigns = new CfgCampaignsAPI(this);
91
- this.cfg_lead_submission = new CfgLeadSubmissionAPI(this);
92
- this.cfg_logs = new CfgLogsAPI(this);
93
- this.cfg_newsletters = new CfgNewslettersAPI(this);
94
- this.cfg_subscriptions = new CfgSubscriptionsAPI(this);
95
- this.cfg_testing = new CfgTestingAPI(this);
96
- this.cfg_user_profile = new CfgUserProfileAPI(this);
97
- this.cfg_webhooks = new CfgWebhooksAPI(this);
98
- this.cfg_accounts = new CfgAccountsAPI(this);
99
- this.cfg_endpoints = new CfgEndpointsAPI(this);
100
- this.cfg_health = new CfgHealthAPI(this);
101
- this.cfg_leads = new CfgLeadsAPI(this);
102
- this.cfg_newsletter = new CfgNewsletterAPI(this);
103
- this.cfg_payments = new CfgPaymentsAPI(this);
104
- this.cfg_support = new CfgSupportAPI(this);
105
- this.cfg_tasks = new CfgTasksAPI(this);
90
+ this.cfg_auth = new CfgAuth(this);
91
+ this.cfg_bulk_email = new CfgBulkEmail(this);
92
+ this.cfg_campaigns = new CfgCampaigns(this);
93
+ this.cfg_lead_submission = new CfgLeadSubmission(this);
94
+ this.cfg_logs = new CfgLogs(this);
95
+ this.cfg_newsletters = new CfgNewsletters(this);
96
+ this.cfg_subscriptions = new CfgSubscriptions(this);
97
+ this.cfg_testing = new CfgTesting(this);
98
+ this.cfg_user_profile = new CfgUserProfile(this);
99
+ this.cfg_webhooks = new CfgWebhooks(this);
100
+ this.cfg_accounts = new CfgAccounts(this);
101
+ this.cfg_endpoints = new CfgEndpoints(this);
102
+ this.cfg_health = new CfgHealth(this);
103
+ this.cfg_knowbase = new CfgKnowbase(this);
104
+ this.cfg_leads = new CfgLeads(this);
105
+ this.cfg_newsletter = new CfgNewsletter(this);
106
+ this.cfg_payments = new CfgPayments(this);
107
+ this.cfg_support = new CfgSupport(this);
108
+ this.cfg_tasks = new CfgTasks(this);
106
109
  }
107
110
 
108
111
  /**
@@ -42,6 +42,142 @@ export enum AdminPaymentUpdateRequestStatus {
42
42
  REFUNDED = "refunded",
43
43
  }
44
44
 
45
+ /**
46
+ * Content classification
47
+ * * `document` - Document
48
+ * * `code` - Code
49
+ * * `image` - Image
50
+ * * `data` - Data
51
+ * * `archive` - Archive
52
+ * * `unknown` - Unknown
53
+ */
54
+ export enum ArchiveItemContentType {
55
+ DOCUMENT = "document",
56
+ CODE = "code",
57
+ IMAGE = "image",
58
+ DATA = "data",
59
+ ARCHIVE = "archive",
60
+ UNKNOWN = "unknown",
61
+ }
62
+
63
+ /**
64
+ * Type of content in chunk
65
+ * * `text` - Text
66
+ * * `code` - Code
67
+ * * `heading` - Heading
68
+ * * `metadata` - Metadata
69
+ * * `table` - Table
70
+ * * `list` - List
71
+ */
72
+ export enum ArchiveItemChunkChunkType {
73
+ TEXT = "text",
74
+ CODE = "code",
75
+ HEADING = "heading",
76
+ METADATA = "metadata",
77
+ TABLE = "table",
78
+ LIST = "list",
79
+ }
80
+
81
+ /**
82
+ * Type of content in chunk
83
+ * * `text` - Text
84
+ * * `code` - Code
85
+ * * `heading` - Heading
86
+ * * `metadata` - Metadata
87
+ * * `table` - Table
88
+ * * `list` - List
89
+ */
90
+ export enum ArchiveItemChunkDetailChunkType {
91
+ TEXT = "text",
92
+ CODE = "code",
93
+ HEADING = "heading",
94
+ METADATA = "metadata",
95
+ TABLE = "table",
96
+ LIST = "list",
97
+ }
98
+
99
+ /**
100
+ * Type of content in chunk
101
+ * * `text` - Text
102
+ * * `code` - Code
103
+ * * `heading` - Heading
104
+ * * `metadata` - Metadata
105
+ * * `table` - Table
106
+ * * `list` - List
107
+ */
108
+ export enum ArchiveItemChunkRequestChunkType {
109
+ TEXT = "text",
110
+ CODE = "code",
111
+ HEADING = "heading",
112
+ METADATA = "metadata",
113
+ TABLE = "table",
114
+ LIST = "list",
115
+ }
116
+
117
+ /**
118
+ * Content classification
119
+ * * `document` - Document
120
+ * * `code` - Code
121
+ * * `image` - Image
122
+ * * `data` - Data
123
+ * * `archive` - Archive
124
+ * * `unknown` - Unknown
125
+ */
126
+ export enum ArchiveItemDetailContentType {
127
+ DOCUMENT = "document",
128
+ CODE = "code",
129
+ IMAGE = "image",
130
+ DATA = "data",
131
+ ARCHIVE = "archive",
132
+ UNKNOWN = "unknown",
133
+ }
134
+
135
+ /**
136
+ * * `document` - Document
137
+ * * `code` - Code
138
+ * * `image` - Image
139
+ * * `data` - Data
140
+ * * `archive` - Archive
141
+ * * `unknown` - Unknown
142
+ */
143
+ export enum ArchiveSearchRequestRequestContentTypesItems {
144
+ DOCUMENT = "document",
145
+ CODE = "code",
146
+ IMAGE = "image",
147
+ DATA = "data",
148
+ ARCHIVE = "archive",
149
+ UNKNOWN = "unknown",
150
+ }
151
+
152
+ /**
153
+ * * `text` - Text
154
+ * * `code` - Code
155
+ * * `heading` - Heading
156
+ * * `metadata` - Metadata
157
+ * * `table` - Table
158
+ * * `list` - List
159
+ */
160
+ export enum ArchiveSearchRequestRequestChunkTypesItems {
161
+ TEXT = "text",
162
+ CODE = "code",
163
+ HEADING = "heading",
164
+ METADATA = "metadata",
165
+ TABLE = "table",
166
+ LIST = "list",
167
+ }
168
+
169
+ /**
170
+ * Message sender role
171
+ * * `user` - User
172
+ * * `assistant` - Assistant
173
+ * * `system` - System
174
+ */
175
+ export enum ChatMessageRole {
176
+ USER = "user",
177
+ ASSISTANT = "assistant",
178
+ SYSTEM = "system",
179
+ }
180
+
45
181
  /**
46
182
  * Type of currency
47
183
  * * `fiat` - Fiat Currency
@@ -62,6 +198,93 @@ export enum CurrencyListCurrencyType {
62
198
  CRYPTO = "crypto",
63
199
  }
64
200
 
201
+ /**
202
+ * Archive format
203
+ * * `zip` - ZIP
204
+ * * `tar` - TAR
205
+ * * `tar.gz` - TAR GZ
206
+ * * `tar.bz2` - TAR BZ2
207
+ */
208
+ export enum DocumentArchiveArchiveType {
209
+ ZIP = "zip",
210
+ TAR = "tar",
211
+ TAR_GZ = "tar.gz",
212
+ TAR_BZ2 = "tar.bz2",
213
+ }
214
+
215
+ /**
216
+ * * `pending` - Pending
217
+ * * `processing` - Processing
218
+ * * `completed` - Completed
219
+ * * `failed` - Failed
220
+ * * `cancelled` - Cancelled
221
+ */
222
+ export enum DocumentArchiveProcessingStatus {
223
+ PENDING = "pending",
224
+ PROCESSING = "processing",
225
+ COMPLETED = "completed",
226
+ FAILED = "failed",
227
+ CANCELLED = "cancelled",
228
+ }
229
+
230
+ /**
231
+ * Archive format
232
+ * * `zip` - ZIP
233
+ * * `tar` - TAR
234
+ * * `tar.gz` - TAR GZ
235
+ * * `tar.bz2` - TAR BZ2
236
+ */
237
+ export enum DocumentArchiveDetailArchiveType {
238
+ ZIP = "zip",
239
+ TAR = "tar",
240
+ TAR_GZ = "tar.gz",
241
+ TAR_BZ2 = "tar.bz2",
242
+ }
243
+
244
+ /**
245
+ * * `pending` - Pending
246
+ * * `processing` - Processing
247
+ * * `completed` - Completed
248
+ * * `failed` - Failed
249
+ * * `cancelled` - Cancelled
250
+ */
251
+ export enum DocumentArchiveDetailProcessingStatus {
252
+ PENDING = "pending",
253
+ PROCESSING = "processing",
254
+ COMPLETED = "completed",
255
+ FAILED = "failed",
256
+ CANCELLED = "cancelled",
257
+ }
258
+
259
+ /**
260
+ * Archive format
261
+ * * `zip` - ZIP
262
+ * * `tar` - TAR
263
+ * * `tar.gz` - TAR GZ
264
+ * * `tar.bz2` - TAR BZ2
265
+ */
266
+ export enum DocumentArchiveListArchiveType {
267
+ ZIP = "zip",
268
+ TAR = "tar",
269
+ TAR_GZ = "tar.gz",
270
+ TAR_BZ2 = "tar.bz2",
271
+ }
272
+
273
+ /**
274
+ * * `pending` - Pending
275
+ * * `processing` - Processing
276
+ * * `completed` - Completed
277
+ * * `failed` - Failed
278
+ * * `cancelled` - Cancelled
279
+ */
280
+ export enum DocumentArchiveListProcessingStatus {
281
+ PENDING = "pending",
282
+ PROCESSING = "processing",
283
+ COMPLETED = "completed",
284
+ FAILED = "failed",
285
+ CANCELLED = "cancelled",
286
+ }
287
+
65
288
  /**
66
289
  * * `pending` - Pending
67
290
  * * `sent` - Sent
@@ -158,6 +381,24 @@ export enum PatchedAdminPaymentUpdateRequestStatus {
158
381
  REFUNDED = "refunded",
159
382
  }
160
383
 
384
+ /**
385
+ * Type of content in chunk
386
+ * * `text` - Text
387
+ * * `code` - Code
388
+ * * `heading` - Heading
389
+ * * `metadata` - Metadata
390
+ * * `table` - Table
391
+ * * `list` - List
392
+ */
393
+ export enum PatchedArchiveItemChunkRequestChunkType {
394
+ TEXT = "text",
395
+ CODE = "code",
396
+ HEADING = "heading",
397
+ METADATA = "metadata",
398
+ TABLE = "table",
399
+ LIST = "list",
400
+ }
401
+
161
402
  /**
162
403
  * * `email` - Email
163
404
  * * `whatsapp` - WhatsApp