@dazl/api-client 1.0.40 → 1.0.41

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.
@@ -145,6 +145,7 @@ export type ProjectRaw = {
145
145
  latestScreenshot: string | null;
146
146
  originTemplateId: string | null;
147
147
  archivedAt: string | null;
148
+ archived: boolean;
148
149
  members: Array<{
149
150
  type: 'user';
150
151
  /**
@@ -3172,6 +3173,7 @@ export type UpdateProjectData = {
3172
3173
  lastOpenedAt?: string | string | null;
3173
3174
  latestScreenshot?: string | null;
3174
3175
  archivedAt?: string | string | null;
3176
+ archived?: boolean;
3175
3177
  remoteEnvConfigId?: string | null;
3176
3178
  workspaceId?: string;
3177
3179
  /**
@@ -3911,7 +3913,11 @@ export type GetUserProjectsData = {
3911
3913
  /**
3912
3914
  * Filter projects by workspace ID
3913
3915
  */
3914
- workspaceId?: string;
3916
+ workspaceId?: string | 'my-drafts';
3917
+ /**
3918
+ * Include inactive/archived projects in the response
3919
+ */
3920
+ includeInactive?: string;
3915
3921
  /**
3916
3922
  * Include deployed projects info in the response
3917
3923
  */
@@ -5714,6 +5720,63 @@ export type UpdateChatResponses = {
5714
5720
  };
5715
5721
  };
5716
5722
  export type UpdateChatResponse = UpdateChatResponses[keyof UpdateChatResponses];
5723
+ export type AppendMessagesData = {
5724
+ body: {
5725
+ ownerDazlId: string;
5726
+ messages: Array<{
5727
+ id: string;
5728
+ [key: string]: unknown;
5729
+ }>;
5730
+ };
5731
+ path: {
5732
+ chatId: string;
5733
+ };
5734
+ query?: never;
5735
+ url: '/chat/{chatId}/messages/append';
5736
+ };
5737
+ export type AppendMessagesErrors = {
5738
+ /**
5739
+ * Bad request - Invalid parameters or malformed JSON
5740
+ */
5741
+ 400: {
5742
+ message: string;
5743
+ issues?: string;
5744
+ };
5745
+ /**
5746
+ * Unauthorized
5747
+ */
5748
+ 401: ErrorResponse;
5749
+ /**
5750
+ * Forbidden
5751
+ */
5752
+ 403: ErrorResponse;
5753
+ /**
5754
+ * Not Found
5755
+ */
5756
+ 404: ErrorResponse;
5757
+ /**
5758
+ * Conflict
5759
+ */
5760
+ 409: ErrorResponse;
5761
+ /**
5762
+ * Internal server error
5763
+ */
5764
+ 500: ErrorResponse;
5765
+ /**
5766
+ * Service Unavailable
5767
+ */
5768
+ 503: ErrorResponse;
5769
+ };
5770
+ export type AppendMessagesError = AppendMessagesErrors[keyof AppendMessagesErrors];
5771
+ export type AppendMessagesResponses = {
5772
+ /**
5773
+ * Appends messages to the chat without replacing existing ones.
5774
+ */
5775
+ 200: {
5776
+ success: boolean;
5777
+ };
5778
+ };
5779
+ export type AppendMessagesResponse = AppendMessagesResponses[keyof AppendMessagesResponses];
5717
5780
  export type GetUploadConfigurationData = {
5718
5781
  body: {
5719
5782
  /**
@@ -7879,7 +7942,7 @@ export type UpdateWorkspaceResponse = UpdateWorkspaceResponses[keyof UpdateWorks
7879
7942
  export type GetWorkspaceData = {
7880
7943
  body?: never;
7881
7944
  path: {
7882
- workspaceId: string;
7945
+ workspaceId: string | 'my-drafts';
7883
7946
  };
7884
7947
  query?: {
7885
7948
  /**