// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file integrations/v1/logs.proto (package integrations.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import { file_common_v1_query } from "../../common/v1/query_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file integrations/v1/logs.proto. */ export const file_integrations_v1_logs: GenFile = /*@__PURE__*/ fileDesc("ChppbnRlZ3JhdGlvbnMvdjEvbG9ncy5wcm90bxIPaW50ZWdyYXRpb25zLnYxIvUBCg5JbnRlZ3JhdGlvbkxvZxIKCgJpZBgBIAEoAxIUCgxhcnR3b3JrZXJfaWQYAiABKAMSGAoQaW50ZWdyYXRpb25fbmFtZRgDIAEoCRIOCgZhY3Rpb24YBCABKAkSDwoHcGF5bG9hZBgFIAEoDBIPCgdzdWNjZXNzGAYgASgIEhUKDWVycm9yX21lc3NhZ2UYByABKAkSLgoKY3JlYXRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAi9AEKGUdldEludGVncmF0aW9uTG9nc1JlcXVlc3QSKAoFcXVlcnkYASABKAsyGS5jb21tb24udjEuUGFnaW5hdGVkUXVlcnkSFAoMYXJ0d29ya2VyX2lkGAIgASgDEhgKEGludGVncmF0aW9uX25hbWUYAyABKAkSDgoGYWN0aW9uGAQgASgJEg8KB3N1Y2Nlc3MYBSABKAgSLgoKc3RhcnRfZGF0ZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLAoIZW5kX2RhdGUYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIn0KGkdldEludGVncmF0aW9uTG9nc1Jlc3BvbnNlEi0KBGxvZ3MYASADKAsyHy5pbnRlZ3JhdGlvbnMudjEuSW50ZWdyYXRpb25Mb2cSMAoKcGFnaW5hdGlvbhgCIAEoCzIcLmNvbW1vbi52MS5QYWdpbmF0ZWRSZXNwb25zZUJUWlJiaXRidWNrZXQub3JnL2t1ZG91ay9hcnR3b3JrZXItYmFja2VuZC9wcm90by9nZW4vZ28vaW50ZWdyYXRpb25zL3YxO2ludGVncmF0aW9uc3YxYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_common_v1_query]); /** * @generated from message integrations.v1.IntegrationLog */ export type IntegrationLog = Message<"integrations.v1.IntegrationLog"> & { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; /** * @generated from field: string integration_name = 3; */ integrationName: string; /** * @generated from field: string action = 4; */ action: string; /** * @generated from field: bytes payload = 5; */ payload: Uint8Array; /** * @generated from field: bool success = 6; */ success: boolean; /** * @generated from field: string error_message = 7; */ errorMessage: string; /** * @generated from field: google.protobuf.Timestamp created_at = 8; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 9; */ updatedAt?: Timestamp; }; /** * Describes the message integrations.v1.IntegrationLog. * Use `create(IntegrationLogSchema)` to create a new message. */ export const IntegrationLogSchema: GenMessage = /*@__PURE__*/ messageDesc(file_integrations_v1_logs, 0); /** * @generated from message integrations.v1.GetIntegrationLogsRequest */ export type GetIntegrationLogsRequest = Message<"integrations.v1.GetIntegrationLogsRequest"> & { /** * @generated from field: common.v1.PaginatedQuery query = 1; */ query?: PaginatedQuery; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; /** * @generated from field: string integration_name = 3; */ integrationName: string; /** * @generated from field: string action = 4; */ action: string; /** * @generated from field: bool success = 5; */ success: boolean; /** * @generated from field: google.protobuf.Timestamp start_date = 6; */ startDate?: Timestamp; /** * @generated from field: google.protobuf.Timestamp end_date = 7; */ endDate?: Timestamp; }; /** * Describes the message integrations.v1.GetIntegrationLogsRequest. * Use `create(GetIntegrationLogsRequestSchema)` to create a new message. */ export const GetIntegrationLogsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_integrations_v1_logs, 1); /** * @generated from message integrations.v1.GetIntegrationLogsResponse */ export type GetIntegrationLogsResponse = Message<"integrations.v1.GetIntegrationLogsResponse"> & { /** * @generated from field: repeated integrations.v1.IntegrationLog logs = 1; */ logs: IntegrationLog[]; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; }; /** * Describes the message integrations.v1.GetIntegrationLogsResponse. * Use `create(GetIntegrationLogsResponseSchema)` to create a new message. */ export const GetIntegrationLogsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_integrations_v1_logs, 2);