@wix/auto_sdk_payments_dispute-evidence-documents 1.0.36 → 1.0.38

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 +1 @@
1
- {"version":3,"sources":["../../../index.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.http.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.ts"],"sourcesContent":["export * from './src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n DeleteDisputeEvidenceDocumentApplicationErrors,\n DisputeEvidenceDocument,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryBuilder,\n bulkUpdateDisputeEvidenceDocumentTags as universalBulkUpdateDisputeEvidenceDocumentTags,\n bulkUpdateDisputeEvidenceDocumentTagsByFilter as universalBulkUpdateDisputeEvidenceDocumentTagsByFilter,\n createDisputeEvidenceDocument as universalCreateDisputeEvidenceDocument,\n deleteDisputeEvidenceDocument as universalDeleteDisputeEvidenceDocument,\n getDisputeEvidenceDocument as universalGetDisputeEvidenceDocument,\n queryDisputeEvidenceDocuments as universalQueryDisputeEvidenceDocuments,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\nexport function createDisputeEvidenceDocument(\n httpClient: HttpClient\n): CreateDisputeEvidenceDocumentSignature {\n return (\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n ) =>\n universalCreateDisputeEvidenceDocument(\n disputeEvidenceDocument,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateDisputeEvidenceDocumentSignature {\n /**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Returns the created document along with an upload URL for attaching the evidence file.\n * Use the provided upload URL to upload your evidence file directly.\n * @param - Dispute evidence document to create.\n *\n * The `disputeId` field is required. Do not provide an `id` as it will be generated automatically.\n * @returns Created dispute evidence document.\n */\n (\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n ): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\nexport function getDisputeEvidenceDocument(\n httpClient: HttpClient\n): GetDisputeEvidenceDocumentSignature {\n return (disputeEvidenceDocumentId: string) =>\n universalGetDisputeEvidenceDocument(\n disputeEvidenceDocumentId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDisputeEvidenceDocumentSignature {\n /**\n * Retrieves a dispute evidence document by ID.\n * @param - ID of the dispute evidence document to retrieve.\n * ID of the dispute evidence document to retrieve.\n * @returns Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n */\n (disputeEvidenceDocumentId: string): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\nexport function deleteDisputeEvidenceDocument(\n httpClient: HttpClient\n): DeleteDisputeEvidenceDocumentSignature {\n return (disputeEvidenceDocumentId: string) =>\n universalDeleteDisputeEvidenceDocument(\n disputeEvidenceDocumentId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteDisputeEvidenceDocumentSignature {\n /**\n * Deletes a dispute evidence document.\n *\n * Documents cannot be deleted once they have been submitted for dispute resolution.\n * @param - ID of the dispute evidence document to delete.\n * ID of the dispute evidence document to delete.\n */\n (disputeEvidenceDocumentId: string): Promise<\n void & {\n __applicationErrorsType?: DeleteDisputeEvidenceDocumentApplicationErrors;\n }\n >;\n}\n\nexport function queryDisputeEvidenceDocuments(\n httpClient: HttpClient\n): QueryDisputeEvidenceDocumentsSignature {\n return () =>\n universalQueryDisputeEvidenceDocuments(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryDisputeEvidenceDocumentsSignature {\n /**\n * Retrieves a list of dispute evidence documents, given the provided paging, filtering, and sorting.\n *\n * Use the `disputeId` filter to retrieve all evidence documents for a specific dispute.\n */\n (): DisputeEvidenceDocumentsQueryBuilder;\n}\n\nexport function bulkUpdateDisputeEvidenceDocumentTags(\n httpClient: HttpClient\n): BulkUpdateDisputeEvidenceDocumentTagsSignature {\n return (\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n ) =>\n universalBulkUpdateDisputeEvidenceDocumentTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDisputeEvidenceDocumentTagsSignature {\n /**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n * @param - IDs of the dispute evidence documents to update.\n * IDs of the dispute evidence documents to update.\n *\n * Limited to 100 documents per request.\n */\n (\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors;\n }\n >;\n}\n\nexport function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n httpClient: HttpClient\n): BulkUpdateDisputeEvidenceDocumentTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n ) =>\n universalBulkUpdateDisputeEvidenceDocumentTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDisputeEvidenceDocumentTagsByFilterSignature {\n /**\n * Updates tags on multiple dispute evidence documents matching the provided filter.\n *\n * This operation runs asynchronously and returns a job ID for tracking progress.\n * An empty filter will update all dispute evidence documents.\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * @param - Filter criteria for selecting dispute evidence documents to update.\n * Filter criteria for selecting dispute evidence documents to update.\n *\n * An empty filter will update all dispute evidence documents.\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n `jobId`,\n 2\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors;\n }\n >;\n}\n\nexport const onDisputeEvidenceDocumentCreated = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_created',\n true,\n (event: DisputeEvidenceDocumentCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentCreatedEnvelope>();\nexport const onDisputeEvidenceDocumentDeleted = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_deleted',\n true,\n (event: DisputeEvidenceDocumentDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentDeletedEnvelope>();\nexport const onDisputeEvidenceDocumentUpdated = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_updated',\n true,\n (event: DisputeEvidenceDocumentUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentUpdatedEnvelope>();\n\nexport {\n ActionEvent,\n ApplicationError,\n AttachDisputeEvidenceDocumentFileRequest,\n AttachDisputeEvidenceDocumentFileResponse,\n BaseEventMetadata,\n BulkActionMetadata,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsRequest,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n BulkUpdateDisputeEvidenceDocumentTagsResult,\n CreateDisputeEvidenceDocumentRequest,\n CreateDisputeEvidenceDocumentResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DeleteDisputeEvidenceDocumentRequest,\n DeleteDisputeEvidenceDocumentResponse,\n DisputeEvidenceDocument,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryBuilder,\n DisputeEvidenceDocumentsQueryResult,\n DocumentFile,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n ExtendedFields,\n GenerateDisputeEvidenceDocumentDownloadUrlRequest,\n GenerateDisputeEvidenceDocumentDownloadUrlResponse,\n GenerateDisputeEvidenceDocumentUploadUrlRequest,\n GenerateDisputeEvidenceDocumentUploadUrlResponse,\n GetDisputeEvidenceDocumentRequest,\n GetDisputeEvidenceDocumentResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MarkDisputeEvidenceDocumentSubmittedRequest,\n MarkDisputeEvidenceDocumentSubmittedResponse,\n MessageEnvelope,\n MigrateDisputeEvidenceDocumentRequest,\n MigrateDisputeEvidenceDocumentResponse,\n QueryDisputeEvidenceDocumentsRequest,\n QueryDisputeEvidenceDocumentsResponse,\n RestoreInfo,\n SortOrder,\n Sorting,\n SubmitMigratedDisputeEvidenceDocumentRequest,\n SubmitMigratedDisputeEvidenceDocumentResponse,\n TagList,\n Tags,\n TagsModified,\n WebhookIdentityType,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/**\n * A dispute evidence document represents a file-based piece of evidence submitted to support a payment dispute resolution case.\n *\n * Evidence documents are created for specific disputes and follow a structured workflow:\n * create the document, upload the file, and submit for dispute resolution.\n * Once submitted, documents become immutable and cannot be deleted or modified.\n */\nexport interface DisputeEvidenceDocument {\n /**\n * Dispute evidence document ID.\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the dispute evidence document is updated. To prevent conflicting changes, the existing revision must be specified when updating a dispute evidence document. Ignored when creating a dispute evidence document.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the dispute evidence document was created.\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date and time the dispute evidence document was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * ID of the dispute this evidence document supports.\n * @format GUID\n * @immutable\n */\n disputeId?: string;\n /**\n * File details for the uploaded evidence document.\n *\n * Returned only when a file has been successfully uploaded and attached to the evidence document.\n * @readonly\n */\n file?: DocumentFile;\n /**\n * Custom field data for the dispute evidence document.\n *\n * Extended fields must be configured in the app dashboard before they can be accessed with API calls.\n */\n extendedFields?: ExtendedFields;\n /**\n * Tags assigned to the dispute evidence document for organization and filtering purposes.\n * Tags assigned to the dispute evidence document for organization and filtering purposes.\n */\n tags?: Tags;\n}\n\n/** File details for an uploaded evidence document. */\nexport interface DocumentFile {\n /**\n * Name of the uploaded evidence file.\n * @readonly\n * @maxLength 255\n */\n filename?: string | null;\n /**\n * Size of the uploaded evidence file in bytes.\n * @readonly\n */\n size?: string | null;\n /**\n * Hexadecimal checksum of the uploaded file for integrity verification.\n * @minLength 32\n * @maxLength 256\n * @readonly\n */\n checksum?: string | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\n/**\n * Triggers when tags are modified on a dispute evidence document.\n * TagsModified message represents a modification of tags associated with a dispute evidence document.\n */\nexport interface TagsModified {\n /** Dispute evidence document with the updated tags. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n /** Tags that were newly assigned to the dispute evidence document. */\n assignedTags?: Tags;\n /** Tags that were unassigned from the dispute evidence document. */\n unassignedTags?: Tags;\n}\n\nexport interface CreateDisputeEvidenceDocumentRequest {\n /**\n * Dispute evidence document to create.\n *\n * The `disputeId` field is required. Do not provide an `id` as it will be generated automatically.\n */\n disputeEvidenceDocument: DisputeEvidenceDocument;\n}\n\nexport interface CreateDisputeEvidenceDocumentResponse {\n /** Created dispute evidence document. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n /**\n * URL for uploading the evidence file.\n *\n * Use this URL to upload the file that will serve as evidence for the dispute.\n * File attachment is automatic once the upload completes successfully.\n * @format WEB_URL\n */\n uploadUrl?: string | null;\n}\n\nexport interface GetDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute evidence document to retrieve.\n * ID of the dispute evidence document to retrieve.\n * @format GUID\n */\n disputeEvidenceDocumentId: string;\n}\n\nexport interface GetDisputeEvidenceDocumentResponse {\n /**\n * Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n}\n\nexport interface DeleteDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute evidence document to delete.\n * ID of the dispute evidence document to delete.\n * @format GUID\n */\n disputeEvidenceDocumentId: string;\n}\n\nexport interface DeleteDisputeEvidenceDocumentResponse {}\n\nexport interface QueryDisputeEvidenceDocumentsRequest {\n /**\n * Query options for filtering, sorting, and paging dispute evidence documents.\n *\n * Supported properties: `disputeId`\n * Query options for filtering, sorting, and paging dispute evidence documents.\n *\n * Supported properties: `disputeId`\n */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryDisputeEvidenceDocumentsResponse {\n /**\n * List of dispute evidence documents matching the query criteria.\n * List of dispute evidence documents matching the query criteria.\n */\n disputeEvidenceDocuments?: DisputeEvidenceDocument[];\n /**\n * Paging metadata for the query results.\n * Paging metadata for the query results.\n */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsRequest {\n /**\n * IDs of the dispute evidence documents to update.\n * IDs of the dispute evidence documents to update.\n *\n * Limited to 100 documents per request.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n ids: string[];\n /**\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the filtered dispute evidence documents.\n */\n assignTags?: Tags;\n /**\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the filtered dispute evidence documents.\n */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsResponse {\n /**\n * Results of the bulk tag update operation for each document.\n * Results of the bulk tag update operation for each document.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];\n /**\n * Metadata about the bulk tag update operation.\n * Metadata about the bulk tag update operation.\n */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsResult {\n /**\n * Metadata about the tag update result for this specific document.\n * Metadata about the tag update result for this specific document.\n */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {\n /**\n * Filter criteria for selecting dispute evidence documents to update.\n * Filter criteria for selecting dispute evidence documents to update.\n *\n * An empty filter will update all dispute evidence documents.\n */\n filter: Record<string, any> | null;\n /**\n * Tags to assign to the filtered dispute evidence documents.\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the filtered dispute evidence documents.\n */\n assignTags?: Tags;\n /**\n * Tags to remove from the filtered dispute evidence documents.\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the filtered dispute evidence documents.\n */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {\n /**\n * Job ID for tracking the progress of the bulk tag update operation.\n * Job ID for tracking the progress of the bulk tag update operation.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface MigrateDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute.\n * @format GUID\n */\n disputeId?: string;\n /**\n * ID of the evidence being migrated.\n * @format GUID\n */\n evidenceId?: string;\n /**\n * External system ID of the evidence document being migrated.\n * @minLength 1\n * @maxLength 64\n */\n evidenceDocumentId?: string;\n /**\n * Hash of the file for integrity verification during migration.\n * @minLength 32\n * @maxLength 32\n */\n hash?: string | null;\n /** Date and time the evidence document was created in the legacy system. */\n _createdDate?: Date | null;\n}\n\nexport interface MigrateDisputeEvidenceDocumentResponse {}\n\nexport interface SubmitMigratedDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute.\n * @format GUID\n */\n disputeId?: string;\n /**\n * ID of the migrated evidence document.\n * @format GUID\n */\n evidenceId?: string;\n /** Date when the evidence document was originally submitted in the legacy system. */\n submittedDate?: Date | null;\n}\n\nexport interface SubmitMigratedDisputeEvidenceDocumentResponse {}\n\nexport interface GenerateDisputeEvidenceDocumentUploadUrlRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n /**\n * Name of the file to be uploaded as evidence.\n * @minLength 1\n * @maxLength 255\n */\n filename?: string;\n}\n\nexport interface GenerateDisputeEvidenceDocumentUploadUrlResponse {\n /**\n * URL for uploading the evidence file.\n * @format WEB_URL\n */\n uploadUrl?: string;\n}\n\nexport interface AttachDisputeEvidenceDocumentFileRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\nexport interface AttachDisputeEvidenceDocumentFileResponse {\n /** Updated dispute evidence document with attached file information. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n}\n\n/** it will be removed */\nexport interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\n/** it will be removed */\nexport interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {\n /**\n * URL for downloading the evidence document file.\n * @format WEB_URL\n */\n url?: string | null;\n /** Date and time when the download URL expires. */\n urlExpirationDate?: Date | null;\n}\n\n/** it will be removed */\nexport interface MarkDisputeEvidenceDocumentSubmittedRequest {\n /**\n * ID of the dispute evidence document to mark as submitted.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\n/** it will be removed */\nexport interface MarkDisputeEvidenceDocumentSubmittedResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n/** @docsIgnore */\nexport type DeleteDisputeEvidenceDocumentApplicationErrors = {\n code?: 'DISPUTE_EVIDENCE_DOCUMENT_ALREADY_SUBMITTED';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface DisputeEvidenceDocumentCreatedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentCreated(\n handler: (\n event: DisputeEvidenceDocumentCreatedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface DisputeEvidenceDocumentDeletedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentDeleted(\n handler: (\n event: DisputeEvidenceDocumentDeletedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface DisputeEvidenceDocumentUpdatedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_updated\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentUpdated(\n handler: (\n event: DisputeEvidenceDocumentUpdatedEnvelope\n ) => void | Promise<void>\n): void;\n\n/**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Returns the created document along with an upload URL for attaching the evidence file.\n * Use the provided upload URL to upload your evidence file directly.\n * @param disputeEvidenceDocument - Dispute evidence document to create.\n *\n * The `disputeId` field is required. Do not provide an `id` as it will be generated automatically.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocument\n * @requiredField disputeEvidenceDocument.disputeId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_CREATE\n * @returns Created dispute evidence document.\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument\n */\nexport async function createDisputeEvidenceDocument(\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocument: disputeEvidenceDocument,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.createDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.disputeEvidenceDocument!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocument: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocument']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a dispute evidence document by ID.\n * @param disputeEvidenceDocumentId - ID of the dispute evidence document to retrieve.\n * ID of the dispute evidence document to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocumentId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @returns Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument\n */\nexport async function getDisputeEvidenceDocument(\n disputeEvidenceDocumentId: string\n): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocumentId: disputeEvidenceDocumentId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.getDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.disputeEvidenceDocument!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocumentId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocumentId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes a dispute evidence document.\n *\n * Documents cannot be deleted once they have been submitted for dispute resolution.\n * @param disputeEvidenceDocumentId - ID of the dispute evidence document to delete.\n * ID of the dispute evidence document to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocumentId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_DELETE\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.DeleteDisputeEvidenceDocument\n */\nexport async function deleteDisputeEvidenceDocument(\n disputeEvidenceDocumentId: string\n): Promise<\n void & {\n __applicationErrorsType?: DeleteDisputeEvidenceDocumentApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocumentId: disputeEvidenceDocumentId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.deleteDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocumentId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocumentId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a list of dispute evidence documents, given the provided paging, filtering, and sorting.\n *\n * Use the `disputeId` filter to retrieve all evidence documents for a specific dispute.\n * @public\n * @documentationMaturity preview\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.QueryDisputeEvidenceDocuments\n */\nexport function queryDisputeEvidenceDocuments(): DisputeEvidenceDocumentsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n DisputeEvidenceDocument,\n 'CURSOR',\n QueryDisputeEvidenceDocumentsRequest,\n QueryDisputeEvidenceDocumentsResponse\n >({\n func: async (payload: QueryDisputeEvidenceDocumentsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.queryDisputeEvidenceDocuments(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (\n query: QueryDisputeEvidenceDocumentsRequest['query']\n ) => {\n const args = [query, {}] as [\n QueryDisputeEvidenceDocumentsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryDisputeEvidenceDocumentsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.disputeEvidenceDocuments,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface DisputeEvidenceDocumentsQueryResult extends QueryCursorResult {\n items: DisputeEvidenceDocument[];\n query: DisputeEvidenceDocumentsQueryBuilder;\n next: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n prev: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n}\n\nexport interface DisputeEvidenceDocumentsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName: 'disputeId',\n value: string\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName: 'disputeId',\n value: any[]\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName: 'disputeId',\n value: boolean\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<'disputeId'>\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<'disputeId'>\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n * @param ids - IDs of the dispute evidence documents to update.\n * IDs of the dispute evidence documents to update.\n *\n * Limited to 100 documents per request.\n * @public\n * @documentationMaturity preview\n * @requiredField ids\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_UPDATE_TAGS\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTags\n */\nexport async function bulkUpdateDisputeEvidenceDocumentTags(\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.bulkUpdateDisputeEvidenceDocumentTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsOptions {\n /**\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the filtered dispute evidence documents.\n */\n assignTags?: Tags;\n /**\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the filtered dispute evidence documents.\n */\n unassignTags?: Tags;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents matching the provided filter.\n *\n * This operation runs asynchronously and returns a job ID for tracking progress.\n * An empty filter will update all dispute evidence documents.\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * @param filter - Filter criteria for selecting dispute evidence documents to update.\n * Filter criteria for selecting dispute evidence documents to update.\n *\n * An empty filter will update all dispute evidence documents.\n * @public\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_UPDATE_TAGS\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTagsByFilter\n */\nexport async function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n `jobId`,\n 2\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions {\n /**\n * Tags to assign to the filtered dispute evidence documents.\n * Tags to assign to the dispute evidence documents.\n * Tags to assign to the filtered dispute evidence documents.\n */\n assignTags?: Tags;\n /**\n * Tags to remove from the filtered dispute evidence documents.\n * Tags to remove from the dispute evidence documents.\n * Tags to remove from the filtered dispute evidence documents.\n */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n _: [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-evidence-documents';\n\n/**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Returns the created document along with an upload URL for attaching the evidence file.\n * Use the provided upload URL to upload your evidence file directly.\n */\nexport function createDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDisputeEvidenceDocument({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDisputeEvidenceDocument;\n}\n\n/** Retrieves a dispute evidence document by ID. */\nexport function getDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeEvidenceDocument({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeEvidenceDocument;\n}\n\n/**\n * Deletes a dispute evidence document.\n *\n * Documents cannot be deleted once they have been submitted for dispute resolution.\n */\nexport function deleteDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDisputeEvidenceDocument({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.DeleteDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDisputeEvidenceDocument;\n}\n\n/**\n * Retrieves a list of dispute evidence documents, given the provided paging, filtering, and sorting.\n *\n * Use the `disputeId` filter to retrieve all evidence documents for a specific dispute.\n */\nexport function queryDisputeEvidenceDocuments(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeEvidenceDocuments({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.QueryDisputeEvidenceDocuments',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents/query',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocuments.createdDate' },\n { path: 'disputeEvidenceDocuments.updatedDate' },\n { path: 'disputeEvidenceDocuments.submittedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeEvidenceDocuments;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n */\nexport function bulkUpdateDisputeEvidenceDocumentTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeEvidenceDocumentTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-evidence-documents/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeEvidenceDocumentTags;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents matching the provided filter.\n *\n * This operation runs asynchronously and returns a job ID for tracking progress.\n * An empty filter will update all dispute evidence documents.\n * If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeEvidenceDocumentTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/bulk/dispute-evidence-documents/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeEvidenceDocumentTagsByFilter;\n}\n","import {\n createDisputeEvidenceDocument as publicCreateDisputeEvidenceDocument,\n getDisputeEvidenceDocument as publicGetDisputeEvidenceDocument,\n deleteDisputeEvidenceDocument as publicDeleteDisputeEvidenceDocument,\n queryDisputeEvidenceDocuments as publicQueryDisputeEvidenceDocuments,\n bulkUpdateDisputeEvidenceDocumentTags as publicBulkUpdateDisputeEvidenceDocumentTags,\n bulkUpdateDisputeEvidenceDocumentTagsByFilter as publicBulkUpdateDisputeEvidenceDocumentTagsByFilter,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onDisputeEvidenceDocumentCreated as publicOnDisputeEvidenceDocumentCreated } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { onDisputeEvidenceDocumentDeleted as publicOnDisputeEvidenceDocumentDeleted } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { onDisputeEvidenceDocumentUpdated as publicOnDisputeEvidenceDocumentUpdated } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\n\nexport const createDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicCreateDisputeEvidenceDocument> &\n typeof publicCreateDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicCreateDisputeEvidenceDocument);\nexport const getDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicGetDisputeEvidenceDocument> &\n typeof publicGetDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicGetDisputeEvidenceDocument);\nexport const deleteDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicDeleteDisputeEvidenceDocument> &\n typeof publicDeleteDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicDeleteDisputeEvidenceDocument);\nexport const queryDisputeEvidenceDocuments: MaybeContext<\n BuildRESTFunction<typeof publicQueryDisputeEvidenceDocuments> &\n typeof publicQueryDisputeEvidenceDocuments\n> = /*#__PURE__*/ createRESTModule(publicQueryDisputeEvidenceDocuments);\nexport const bulkUpdateDisputeEvidenceDocumentTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdateDisputeEvidenceDocumentTags> &\n typeof publicBulkUpdateDisputeEvidenceDocumentTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateDisputeEvidenceDocumentTags);\nexport const bulkUpdateDisputeEvidenceDocumentTagsByFilter: MaybeContext<\n BuildRESTFunction<\n typeof publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n > &\n typeof publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n);\n/** */\nexport const onDisputeEvidenceDocumentCreated: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentCreated\n> &\n typeof publicOnDisputeEvidenceDocumentCreated = createEventModule(\n publicOnDisputeEvidenceDocumentCreated\n);\n/** */\nexport const onDisputeEvidenceDocumentDeleted: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentDeleted\n> &\n typeof publicOnDisputeEvidenceDocumentDeleted = createEventModule(\n publicOnDisputeEvidenceDocumentDeleted\n);\n/** */\nexport const onDisputeEvidenceDocumentUpdated: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentUpdated\n> &\n typeof publicOnDisputeEvidenceDocumentUpdated = createEventModule(\n publicOnDisputeEvidenceDocumentUpdated\n);\n\nexport {\n SortOrder,\n WebhookIdentityType,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\nexport {\n DisputeEvidenceDocument,\n DocumentFile,\n ExtendedFields,\n Tags,\n TagList,\n TagsModified,\n CreateDisputeEvidenceDocumentRequest,\n CreateDisputeEvidenceDocumentResponse,\n GetDisputeEvidenceDocumentRequest,\n GetDisputeEvidenceDocumentResponse,\n DeleteDisputeEvidenceDocumentRequest,\n DeleteDisputeEvidenceDocumentResponse,\n QueryDisputeEvidenceDocumentsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryDisputeEvidenceDocumentsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdateDisputeEvidenceDocumentTagsRequest,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdateDisputeEvidenceDocumentTagsResult,\n BulkActionMetadata,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n MigrateDisputeEvidenceDocumentRequest,\n MigrateDisputeEvidenceDocumentResponse,\n SubmitMigratedDisputeEvidenceDocumentRequest,\n SubmitMigratedDisputeEvidenceDocumentResponse,\n GenerateDisputeEvidenceDocumentUploadUrlRequest,\n GenerateDisputeEvidenceDocumentUploadUrlResponse,\n AttachDisputeEvidenceDocumentFileRequest,\n AttachDisputeEvidenceDocumentFileResponse,\n GenerateDisputeEvidenceDocumentDownloadUrlRequest,\n GenerateDisputeEvidenceDocumentDownloadUrlResponse,\n MarkDisputeEvidenceDocumentSubmittedRequest,\n MarkDisputeEvidenceDocumentSubmittedResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n BaseEventMetadata,\n EventMetadata,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryResult,\n DisputeEvidenceDocumentsQueryBuilder,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\nexport {\n SortOrderWithLiterals,\n WebhookIdentityTypeWithLiterals,\n DeleteDisputeEvidenceDocumentApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAAA;AAAA,EAAA,qDAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,qCAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA8D;;;ACH9D,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8EACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SACE;AAAA,QACF,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SACE;AAAA,QACF,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SACE;AAAA,QACF,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SACE;AAAA,QACF,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SACE;AAAA,QACF,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SACE;AAAA,QACF,UAAU;A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A,EAChD;AACF;AAEO,IAAMC,wCAGqC;AAAA,EAChD;AACF;AAEO,IAAMC,wCAGqC;AAAA,EAChD;AACF;","names":["bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","createDisputeEvidenceDocument","deleteDisputeEvidenceDocument","getDisputeEvidenceDocument","onDisputeEvidenceDocumentCreated","onDisputeEvidenceDocumentDeleted","onDisputeEvidenceDocumentUpdated","queryDisputeEvidenceDocuments","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","WebhookIdentityType","createDisputeEvidenceDocument","sdkTransformError","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","createDisputeEvidenceDocument","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","import_rest_modules","createDisputeEvidenceDocument","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","onDisputeEvidenceDocumentCreated","onDisputeEvidenceDocumentDeleted","onDisputeEvidenceDocumentUpdated"]}
1
+ {"version":3,"sources":["../../../index.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.http.ts","../../../src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.ts"],"sourcesContent":["export * from './src/payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.context.js';\n","import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n DeleteDisputeEvidenceDocumentApplicationErrors,\n DisputeEvidenceDocument,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryBuilder,\n bulkUpdateDisputeEvidenceDocumentTags as universalBulkUpdateDisputeEvidenceDocumentTags,\n bulkUpdateDisputeEvidenceDocumentTagsByFilter as universalBulkUpdateDisputeEvidenceDocumentTagsByFilter,\n createDisputeEvidenceDocument as universalCreateDisputeEvidenceDocument,\n deleteDisputeEvidenceDocument as universalDeleteDisputeEvidenceDocument,\n getDisputeEvidenceDocument as universalGetDisputeEvidenceDocument,\n queryDisputeEvidenceDocuments as universalQueryDisputeEvidenceDocuments,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/payments' };\n\nexport function createDisputeEvidenceDocument(\n httpClient: HttpClient\n): CreateDisputeEvidenceDocumentSignature {\n return (\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n ) =>\n universalCreateDisputeEvidenceDocument(\n disputeEvidenceDocument,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface CreateDisputeEvidenceDocumentSignature {\n /**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Use the upload URL in the response to upload your evidence file. Once uploaded, you can submit it by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute). Learn how to [upload an evidence document](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/upload-an-evidence-document).\n * @param - Dispute evidence document to create.\n * @returns Created dispute evidence document.\n */\n (\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n ): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\nexport function getDisputeEvidenceDocument(\n httpClient: HttpClient\n): GetDisputeEvidenceDocumentSignature {\n return (disputeEvidenceDocumentId: string) =>\n universalGetDisputeEvidenceDocument(\n disputeEvidenceDocumentId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface GetDisputeEvidenceDocumentSignature {\n /**\n * Retrieves a dispute evidence document.\n * @param - ID of the dispute evidence document to retrieve.\n * @returns Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n */\n (disputeEvidenceDocumentId: string): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n >;\n}\n\nexport function deleteDisputeEvidenceDocument(\n httpClient: HttpClient\n): DeleteDisputeEvidenceDocumentSignature {\n return (disputeEvidenceDocumentId: string) =>\n universalDeleteDisputeEvidenceDocument(\n disputeEvidenceDocumentId,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface DeleteDisputeEvidenceDocumentSignature {\n /**\n * Deletes a dispute evidence document.\n *\n * > **Note:** After you've submitted an evidence document by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute), you can't delete it.\n * @param - ID of the dispute evidence document to delete.\n */\n (disputeEvidenceDocumentId: string): Promise<\n void & {\n __applicationErrorsType?: DeleteDisputeEvidenceDocumentApplicationErrors;\n }\n >;\n}\n\nexport function queryDisputeEvidenceDocuments(\n httpClient: HttpClient\n): QueryDisputeEvidenceDocumentsSignature {\n return () =>\n universalQueryDisputeEvidenceDocuments(\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface QueryDisputeEvidenceDocumentsSignature {\n /**\n * Creates a query to retrieve a list of dispute evidence documents.\n *\n * The Query Dispute Evidence Documents method builds a query to retrieve a list of dispute evidence documents and returns a `DisputeEvidenceDocumentsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `DisputeEvidenceDocumentsQueryBuilder` methods onto the query. `DisputeEvidenceDocumentsQueryBuilder` methods enable you to filter, sort, and control the results that Query Dispute Evidence Documents returns.\n *\n * Query Dispute Evidence Documents has a default paging limit of 50, which you can override.\n *\n * For a full description of the item object, see the object returned for the `items` property in `DisputeEvidenceDocumentsQueryResult`.\n */\n (): DisputeEvidenceDocumentsQueryBuilder;\n}\n\nexport function bulkUpdateDisputeEvidenceDocumentTags(\n httpClient: HttpClient\n): BulkUpdateDisputeEvidenceDocumentTagsSignature {\n return (\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n ) =>\n universalBulkUpdateDisputeEvidenceDocumentTags(\n ids,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDisputeEvidenceDocumentTagsSignature {\n /**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n * @param - List of dispute evidence document IDs to update tags for.\n */\n (\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors;\n }\n >;\n}\n\nexport function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n httpClient: HttpClient\n): BulkUpdateDisputeEvidenceDocumentTagsByFilterSignature {\n return (\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n ) =>\n universalBulkUpdateDisputeEvidenceDocumentTagsByFilter(\n filter,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface BulkUpdateDisputeEvidenceDocumentTagsByFilterSignature {\n /**\n * Asynchronously updates tags on multiple dispute evidence documents based on filter criteria.\n * Returns a job ID that can be used to track the operation status. If a tag appears in both assign and unassign lists, it will be assigned.\n * @param - Filter that determines which disputes to update tags for.\n *\n * An empty filter updates all dispute evidence documents.\n */\n (\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n ): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n `jobId`,\n 2\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors;\n }\n >;\n}\n\nexport const onDisputeEvidenceDocumentCreated = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_created',\n true,\n (event: DisputeEvidenceDocumentCreatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentCreatedEnvelope>();\nexport const onDisputeEvidenceDocumentDeleted = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_deleted',\n true,\n (event: DisputeEvidenceDocumentDeletedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentDeletedEnvelope>();\nexport const onDisputeEvidenceDocumentUpdated = EventDefinition(\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_updated',\n true,\n (event: DisputeEvidenceDocumentUpdatedEnvelope) =>\n renameKeysFromRESTResponseToSDKResponse(\n transformPaths(event, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'entity.createdDate' },\n { path: 'entity.updatedDate' },\n { path: 'entity.submittedDate' },\n { path: 'metadata.eventTime' },\n ],\n },\n ])\n )\n)<DisputeEvidenceDocumentUpdatedEnvelope>();\n\nexport {\n ActionEvent,\n ApplicationError,\n AttachDisputeEvidenceDocumentFileRequest,\n AttachDisputeEvidenceDocumentFileResponse,\n BaseEventMetadata,\n BulkActionMetadata,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsRequest,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n BulkUpdateDisputeEvidenceDocumentTagsResult,\n CreateDisputeEvidenceDocumentRequest,\n CreateDisputeEvidenceDocumentResponse,\n CursorPaging,\n CursorPagingMetadata,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Cursors,\n DeleteDisputeEvidenceDocumentRequest,\n DeleteDisputeEvidenceDocumentResponse,\n DisputeEvidenceDocument,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryBuilder,\n DisputeEvidenceDocumentsQueryResult,\n DocumentFile,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n EntityDeletedEvent,\n EntityUpdatedEvent,\n EventMetadata,\n ExtendedFields,\n GenerateDisputeEvidenceDocumentDownloadUrlRequest,\n GenerateDisputeEvidenceDocumentDownloadUrlResponse,\n GenerateDisputeEvidenceDocumentUploadUrlRequest,\n GenerateDisputeEvidenceDocumentUploadUrlResponse,\n GetDisputeEvidenceDocumentRequest,\n GetDisputeEvidenceDocumentResponse,\n IdentificationData,\n IdentificationDataIdOneOf,\n ItemMetadata,\n MarkDisputeEvidenceDocumentSubmittedRequest,\n MarkDisputeEvidenceDocumentSubmittedResponse,\n MessageEnvelope,\n MigrateDisputeEvidenceDocumentRequest,\n MigrateDisputeEvidenceDocumentResponse,\n QueryDisputeEvidenceDocumentsRequest,\n QueryDisputeEvidenceDocumentsResponse,\n RestoreInfo,\n SortOrder,\n Sorting,\n SubmitMigratedDisputeEvidenceDocumentRequest,\n SubmitMigratedDisputeEvidenceDocumentResponse,\n TagList,\n Tags,\n TagsModified,\n WebhookIdentityType,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, HttpResponse, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\n/**\n * A dispute evidence document represents a file-based piece of evidence submitted to support a payment dispute resolution case.\n *\n * Evidence documents are created for specific disputes and follow a structured workflow:\n * create the document, upload the file, and submit for dispute resolution.\n * Once submitted, documents become immutable and cannot be deleted or modified.\n */\nexport interface DisputeEvidenceDocument {\n /**\n * Dispute evidence document ID.\n * @format GUID\n * @readonly\n * @immutable\n */\n _id?: string | null;\n /**\n * Revision number, which increments by 1 each time the dispute evidence document is updated. To prevent conflicting changes, the existing revision must be specified when updating a dispute evidence document. Ignored when creating a dispute evidence document.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the dispute evidence document was created.\n * @readonly\n * @immutable\n */\n _createdDate?: Date | null;\n /**\n * Date and time the dispute evidence document was updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * ID of the dispute this evidence document supports.\n * @format GUID\n * @immutable\n */\n disputeId?: string;\n /**\n * File details for the uploaded evidence document.\n *\n * If a file hasn't been uploaded yet, this field is `null`.\n * @readonly\n */\n file?: DocumentFile;\n /**\n * Custom field data for the dispute evidence document object.\n *\n * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n */\n extendedFields?: ExtendedFields;\n /** Tags assigned to the dispute evidence document for organization and filtering purposes. */\n tags?: Tags;\n}\n\n/** File details for an uploaded evidence document. */\nexport interface DocumentFile {\n /**\n * Name of the uploaded evidence file.\n * @readonly\n * @maxLength 255\n */\n filename?: string | null;\n /**\n * Size of the uploaded evidence file in bytes.\n * @readonly\n */\n size?: string | null;\n /**\n * Hexadecimal checksum of the uploaded file.\n * @minLength 32\n * @maxLength 256\n * @readonly\n */\n checksum?: string | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\n/**\n * Triggers when tags are modified on a dispute evidence document.\n * TagsModified message represents a modification of tags associated with a dispute evidence document.\n */\nexport interface TagsModified {\n /** Dispute evidence document with the updated tags. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n /** Tags that were newly assigned to the dispute evidence document. */\n assignedTags?: Tags;\n /** Tags that were unassigned from the dispute evidence document. */\n unassignedTags?: Tags;\n}\n\nexport interface CreateDisputeEvidenceDocumentRequest {\n /** Dispute evidence document to create. */\n disputeEvidenceDocument: DisputeEvidenceDocument;\n}\n\nexport interface CreateDisputeEvidenceDocumentResponse {\n /** Created dispute evidence document. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n /**\n * URL for uploading the evidence file.\n *\n * Use this URL to upload the file that will serve as evidence for the dispute.\n * Learn how to [upload an evidence document](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/upload-an-evidence-document).\n * @format WEB_URL\n */\n uploadUrl?: string | null;\n}\n\nexport interface GetDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute evidence document to retrieve.\n * @format GUID\n */\n disputeEvidenceDocumentId: string;\n}\n\nexport interface GetDisputeEvidenceDocumentResponse {\n /**\n * Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n}\n\nexport interface DeleteDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute evidence document to delete.\n * @format GUID\n */\n disputeEvidenceDocumentId: string;\n}\n\nexport interface DeleteDisputeEvidenceDocumentResponse {}\n\nexport interface QueryDisputeEvidenceDocumentsRequest {\n /** Query options for filtering, sorting, and paging dispute evidence documents. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryDisputeEvidenceDocumentsResponse {\n /** Retrieved dispute evidence documents. */\n disputeEvidenceDocuments?: DisputeEvidenceDocument[];\n /** Paging metadata for the query results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsRequest {\n /**\n * List of dispute evidence document IDs to update tags for.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n ids: string[];\n /** Tags to assign to the dispute evidence documents. */\n assignTags?: Tags;\n /** Tags to remove from the dispute evidence documents. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsResponse {\n /**\n * Results of the bulk tag update operation for each document.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateDisputeEvidenceDocumentTagsResult[];\n /** Metadata about the bulk tag update operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n _id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsResult {\n /** Metadata about the tag update result for this specific document. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest {\n /**\n * Filter that determines which disputes to update tags for.\n *\n * An empty filter updates all dispute evidence documents.\n */\n filter: Record<string, any> | null;\n /** Tags to assign to the dispute evidence documents. */\n assignTags?: Tags;\n /** Tags to remove from the dispute evidence documents. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse {\n /**\n * Job ID for tracking the progress of the bulk tag update operation.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface MigrateDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute.\n * @format GUID\n */\n disputeId?: string;\n /**\n * ID of the evidence being migrated.\n * @format GUID\n */\n evidenceId?: string;\n /**\n * External system ID of the evidence document being migrated.\n * @minLength 1\n * @maxLength 64\n */\n evidenceDocumentId?: string;\n /**\n * Hash of the file for integrity verification during migration.\n * @minLength 32\n * @maxLength 32\n */\n hash?: string | null;\n /** Date and time the evidence document was created in the legacy system. */\n _createdDate?: Date | null;\n}\n\nexport interface MigrateDisputeEvidenceDocumentResponse {}\n\nexport interface SubmitMigratedDisputeEvidenceDocumentRequest {\n /**\n * ID of the dispute.\n * @format GUID\n */\n disputeId?: string;\n /**\n * ID of the migrated evidence document.\n * @format GUID\n */\n evidenceId?: string;\n /** Date when the evidence document was originally submitted in the legacy system. */\n submittedDate?: Date | null;\n}\n\nexport interface SubmitMigratedDisputeEvidenceDocumentResponse {}\n\nexport interface GenerateDisputeEvidenceDocumentUploadUrlRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n /**\n * Name of the file to be uploaded as evidence.\n * @minLength 1\n * @maxLength 255\n */\n filename?: string;\n}\n\nexport interface GenerateDisputeEvidenceDocumentUploadUrlResponse {\n /**\n * URL for uploading the evidence file.\n * @format WEB_URL\n */\n uploadUrl?: string;\n}\n\nexport interface AttachDisputeEvidenceDocumentFileRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\nexport interface AttachDisputeEvidenceDocumentFileResponse {\n /** Updated dispute evidence document with attached file information. */\n disputeEvidenceDocument?: DisputeEvidenceDocument;\n}\n\n/** it will be removed */\nexport interface GenerateDisputeEvidenceDocumentDownloadUrlRequest {\n /**\n * ID of the dispute evidence document.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\n/** it will be removed */\nexport interface GenerateDisputeEvidenceDocumentDownloadUrlResponse {\n /**\n * URL for downloading the evidence document file.\n * @format WEB_URL\n */\n url?: string | null;\n /** Date and time when the download URL expires. */\n urlExpirationDate?: Date | null;\n}\n\n/** it will be removed */\nexport interface MarkDisputeEvidenceDocumentSubmittedRequest {\n /**\n * ID of the dispute evidence document to mark as submitted.\n * @format GUID\n */\n disputeEvidenceDocumentId?: string;\n}\n\n/** it will be removed */\nexport interface MarkDisputeEvidenceDocumentSubmittedResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n/** @docsIgnore */\nexport type DeleteDisputeEvidenceDocumentApplicationErrors = {\n code?: 'DISPUTE_EVIDENCE_DOCUMENT_ALREADY_SUBMITTED';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface DisputeEvidenceDocumentCreatedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Payments - All Permissions\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-PAYMENTS\n * @permissionScope Manage Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-DISPUTES\n * @permissionScope Read Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.READ-DISPUTES\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_created\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentCreated(\n handler: (\n event: DisputeEvidenceDocumentCreatedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface DisputeEvidenceDocumentDeletedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Payments - All Permissions\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-PAYMENTS\n * @permissionScope Manage Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-DISPUTES\n * @permissionScope Read Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.READ-DISPUTES\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_deleted\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentDeleted(\n handler: (\n event: DisputeEvidenceDocumentDeletedEnvelope\n ) => void | Promise<void>\n): void;\n\nexport interface DisputeEvidenceDocumentUpdatedEnvelope {\n entity: DisputeEvidenceDocument;\n metadata: EventMetadata;\n}\n\n/** @permissionScope Manage Payments - All Permissions\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-PAYMENTS\n * @permissionScope Manage Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.MANAGE-DISPUTES\n * @permissionScope Read Disputes\n * @permissionScopeId SCOPE.DC-PAYMENTS.READ-DISPUTES\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @webhook\n * @eventType wix.payments.dispute_evidence_documents.v1.dispute_evidence_document_updated\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onDisputeEvidenceDocumentUpdated(\n handler: (\n event: DisputeEvidenceDocumentUpdatedEnvelope\n ) => void | Promise<void>\n): void;\n\n/**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Use the upload URL in the response to upload your evidence file. Once uploaded, you can submit it by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute). Learn how to [upload an evidence document](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/upload-an-evidence-document).\n * @param disputeEvidenceDocument - Dispute evidence document to create.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocument\n * @requiredField disputeEvidenceDocument.disputeId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_CREATE\n * @applicableIdentity APP\n * @returns Created dispute evidence document.\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument\n */\nexport async function createDisputeEvidenceDocument(\n disputeEvidenceDocument: NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId`,\n 2\n >\n): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocument: disputeEvidenceDocument,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.createDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.disputeEvidenceDocument!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocument: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocument']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Retrieves a dispute evidence document.\n * @param disputeEvidenceDocumentId - ID of the dispute evidence document to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocumentId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @applicableIdentity APP\n * @returns Retrieved dispute evidence document.\n * Retrieved dispute evidence document.\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument\n */\nexport async function getDisputeEvidenceDocument(\n disputeEvidenceDocumentId: string\n): Promise<\n NonNullablePaths<\n DisputeEvidenceDocument,\n `disputeId` | `tags.privateTags.tagIds`,\n 4\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocumentId: disputeEvidenceDocumentId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.getDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.disputeEvidenceDocument!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocumentId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocumentId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Deletes a dispute evidence document.\n *\n * > **Note:** After you've submitted an evidence document by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute), you can't delete it.\n * @param disputeEvidenceDocumentId - ID of the dispute evidence document to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField disputeEvidenceDocumentId\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_DELETE\n * @applicableIdentity APP\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.DeleteDisputeEvidenceDocument\n */\nexport async function deleteDisputeEvidenceDocument(\n disputeEvidenceDocumentId: string\n): Promise<\n void & {\n __applicationErrorsType?: DeleteDisputeEvidenceDocumentApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n disputeEvidenceDocumentId: disputeEvidenceDocumentId,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.deleteDisputeEvidenceDocument(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { disputeEvidenceDocumentId: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['disputeEvidenceDocumentId']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Creates a query to retrieve a list of dispute evidence documents.\n *\n * The Query Dispute Evidence Documents method builds a query to retrieve a list of dispute evidence documents and returns a `DisputeEvidenceDocumentsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `DisputeEvidenceDocumentsQueryBuilder` methods onto the query. `DisputeEvidenceDocumentsQueryBuilder` methods enable you to filter, sort, and control the results that Query Dispute Evidence Documents returns.\n *\n * Query Dispute Evidence Documents has a default paging limit of 50, which you can override.\n *\n * For a full description of the item object, see the object returned for the `items` property in `DisputeEvidenceDocumentsQueryResult`.\n * @public\n * @documentationMaturity preview\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_READ\n * @applicableIdentity APP\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.QueryDisputeEvidenceDocuments\n */\nexport function queryDisputeEvidenceDocuments(): DisputeEvidenceDocumentsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n DisputeEvidenceDocument,\n 'CURSOR',\n QueryDisputeEvidenceDocumentsRequest,\n QueryDisputeEvidenceDocumentsResponse\n >({\n func: async (payload: QueryDisputeEvidenceDocumentsRequest) => {\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.queryDisputeEvidenceDocuments(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (\n query: QueryDisputeEvidenceDocumentsRequest['query']\n ) => {\n const args = [query, {}] as [\n QueryDisputeEvidenceDocumentsRequest['query'],\n {}\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({\n data,\n }: HttpResponse<QueryDisputeEvidenceDocumentsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [])\n );\n\n return {\n items: transformedData?.disputeEvidenceDocuments,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface DisputeEvidenceDocumentsQueryResult extends QueryCursorResult {\n items: DisputeEvidenceDocument[];\n query: DisputeEvidenceDocumentsQueryBuilder;\n next: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n prev: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n}\n\nexport interface DisputeEvidenceDocumentsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n eq: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ne: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n ge: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n gt: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n le: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n * @documentationMaturity preview\n */\n lt: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `string`.\n * @param string - String to compare against. Case-insensitive.\n * @documentationMaturity preview\n */\n startsWith: (\n propertyName: 'disputeId',\n value: string\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `values`.\n * @param values - List of values to compare against.\n * @documentationMaturity preview\n */\n hasSome: (\n propertyName: 'disputeId',\n value: any[]\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n in: (\n propertyName: 'disputeId',\n value: any\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n exists: (\n propertyName: 'disputeId',\n value: boolean\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n ascending: (\n ...propertyNames: Array<'disputeId'>\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n * @documentationMaturity preview\n */\n descending: (\n ...propertyNames: Array<'disputeId'>\n ) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n * @documentationMaturity preview\n */\n limit: (limit: number) => DisputeEvidenceDocumentsQueryBuilder;\n /** @param cursor - A pointer to specific record\n * @documentationMaturity preview\n */\n skipTo: (cursor: string) => DisputeEvidenceDocumentsQueryBuilder;\n /** @documentationMaturity preview */\n find: () => Promise<DisputeEvidenceDocumentsQueryResult>;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n * @param ids - List of dispute evidence document IDs to update tags for.\n * @public\n * @documentationMaturity preview\n * @requiredField ids\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_UPDATE_TAGS\n * @applicableIdentity APP\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTags\n */\nexport async function bulkUpdateDisputeEvidenceDocumentTags(\n ids: string[],\n options?: BulkUpdateDisputeEvidenceDocumentTagsOptions\n): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n | `results`\n | `results.${number}.itemMetadata.originalIndex`\n | `results.${number}.itemMetadata.success`\n | `results.${number}.itemMetadata.error.code`\n | `results.${number}.itemMetadata.error.description`\n | `bulkActionMetadata.totalSuccesses`\n | `bulkActionMetadata.totalFailures`\n | `bulkActionMetadata.undetailedFailures`,\n 6\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n ids: ids,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.bulkUpdateDisputeEvidenceDocumentTags(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n ids: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['ids', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsOptions {\n /** Tags to assign to the dispute evidence documents. */\n assignTags?: Tags;\n /** Tags to remove from the dispute evidence documents. */\n unassignTags?: Tags;\n}\n\n/**\n * Asynchronously updates tags on multiple dispute evidence documents based on filter criteria.\n * Returns a job ID that can be used to track the operation status. If a tag appears in both assign and unassign lists, it will be assigned.\n * @param filter - Filter that determines which disputes to update tags for.\n *\n * An empty filter updates all dispute evidence documents.\n * @public\n * @documentationMaturity preview\n * @requiredField filter\n * @permissionId PAYMENTS.DISPUTE_EVIDENCE_DOCUMENT_UPDATE_TAGS\n * @applicableIdentity APP\n * @fqn wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTagsByFilter\n */\nexport async function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n filter: Record<string, any>,\n options?: BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions\n): Promise<\n NonNullablePaths<\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n `jobId`,\n 2\n > & {\n __applicationErrorsType?: BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n filter: filter,\n assignTags: options?.assignTags,\n unassignTags: options?.unassignTags,\n });\n\n const reqOpts =\n ambassadorWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocument.bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {\n filter: '$[0]',\n assignTags: '$[1].assignTags',\n unassignTags: '$[1].unassignTags',\n },\n singleArgumentUnchanged: false,\n },\n ['filter', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions {\n /** Tags to assign to the dispute evidence documents. */\n assignTags?: Tags;\n /** Tags to remove from the dispute evidence documents. */\n unassignTags?: Tags;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n _: [\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/bulk/dispute-evidence-documents',\n destPath: '/v1/bulk/dispute-evidence-documents',\n },\n {\n srcPath:\n '/payments/dispute-evidence-documents/v1/dispute-evidence-documents',\n destPath: '/v1/dispute-evidence-documents',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-evidence-documents';\n\n/**\n * Creates a dispute evidence document for a specific dispute.\n *\n * Use the upload URL in the response to upload your evidence file. Once uploaded, you can submit it by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute). Learn how to [upload an evidence document](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/dispute-evidence-documents/upload-an-evidence-document).\n */\nexport function createDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDisputeEvidenceDocument({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.CreateDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDisputeEvidenceDocument;\n}\n\n/** Retrieves a dispute evidence document. */\nexport function getDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeEvidenceDocument({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.GetDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocument.createdDate' },\n { path: 'disputeEvidenceDocument.updatedDate' },\n { path: 'disputeEvidenceDocument.submittedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeEvidenceDocument;\n}\n\n/**\n * Deletes a dispute evidence document.\n *\n * > **Note:** After you've submitted an evidence document by calling [Defend Dispute](https://dev.wix.com/docs/api-reference/business-management/payments/disputes/disputes/defend-dispute), you can't delete it.\n */\nexport function deleteDisputeEvidenceDocument(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDisputeEvidenceDocument({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.DeleteDisputeEvidenceDocument',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/dispute-evidence-documents/{disputeEvidenceDocumentId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDisputeEvidenceDocument;\n}\n\n/**\n * Creates a query to retrieve a list of dispute evidence documents.\n *\n * The Query Dispute Evidence Documents method builds a query to retrieve a list of dispute evidence documents and returns a `DisputeEvidenceDocumentsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `DisputeEvidenceDocumentsQueryBuilder` methods onto the query. `DisputeEvidenceDocumentsQueryBuilder` methods enable you to filter, sort, and control the results that Query Dispute Evidence Documents returns.\n *\n * Query Dispute Evidence Documents has a default paging limit of 50, which you can override.\n *\n * For a full description of the item object, see the object returned for the `items` property in `DisputeEvidenceDocumentsQueryResult`.\n */\nexport function queryDisputeEvidenceDocuments(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeEvidenceDocuments({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.QueryDisputeEvidenceDocuments',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents/query',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeEvidenceDocuments.createdDate' },\n { path: 'disputeEvidenceDocuments.updatedDate' },\n { path: 'disputeEvidenceDocuments.submittedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/dispute-evidence-documents/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeEvidenceDocuments;\n}\n\n/**\n * Updates tags on multiple dispute evidence documents by ID.\n *\n * If a tag appears in both assign and unassign lists, it will be assigned.\n * Limited to 100 documents per request.\n */\nexport function bulkUpdateDisputeEvidenceDocumentTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeEvidenceDocumentTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-evidence-documents/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeEvidenceDocumentTags;\n}\n\n/**\n * Asynchronously updates tags on multiple dispute evidence documents based on filter criteria.\n * Returns a job ID that can be used to track the operation status. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeEvidenceDocumentTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeEvidenceDocumentTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_evidence_documents.v1.dispute_evidence_document',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_evidence_documents.v1.DisputeEvidenceDocumentService.BulkUpdateDisputeEvidenceDocumentTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeEvidenceDocumentsV1DisputeEvidenceDocumentServiceUrl(\n {\n protoPath:\n '/v1/bulk/dispute-evidence-documents/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeEvidenceDocumentTagsByFilter;\n}\n","import {\n createDisputeEvidenceDocument as publicCreateDisputeEvidenceDocument,\n getDisputeEvidenceDocument as publicGetDisputeEvidenceDocument,\n deleteDisputeEvidenceDocument as publicDeleteDisputeEvidenceDocument,\n queryDisputeEvidenceDocuments as publicQueryDisputeEvidenceDocuments,\n bulkUpdateDisputeEvidenceDocumentTags as publicBulkUpdateDisputeEvidenceDocumentTags,\n bulkUpdateDisputeEvidenceDocumentTagsByFilter as publicBulkUpdateDisputeEvidenceDocumentTagsByFilter,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n BuildRESTFunction,\n MaybeContext,\n BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { onDisputeEvidenceDocumentCreated as publicOnDisputeEvidenceDocumentCreated } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { onDisputeEvidenceDocumentDeleted as publicOnDisputeEvidenceDocumentDeleted } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\nimport { onDisputeEvidenceDocumentUpdated as publicOnDisputeEvidenceDocumentUpdated } from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.public.js';\n\nexport const createDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicCreateDisputeEvidenceDocument> &\n typeof publicCreateDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicCreateDisputeEvidenceDocument);\nexport const getDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicGetDisputeEvidenceDocument> &\n typeof publicGetDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicGetDisputeEvidenceDocument);\nexport const deleteDisputeEvidenceDocument: MaybeContext<\n BuildRESTFunction<typeof publicDeleteDisputeEvidenceDocument> &\n typeof publicDeleteDisputeEvidenceDocument\n> = /*#__PURE__*/ createRESTModule(publicDeleteDisputeEvidenceDocument);\nexport const queryDisputeEvidenceDocuments: MaybeContext<\n BuildRESTFunction<typeof publicQueryDisputeEvidenceDocuments> &\n typeof publicQueryDisputeEvidenceDocuments\n> = /*#__PURE__*/ createRESTModule(publicQueryDisputeEvidenceDocuments);\nexport const bulkUpdateDisputeEvidenceDocumentTags: MaybeContext<\n BuildRESTFunction<typeof publicBulkUpdateDisputeEvidenceDocumentTags> &\n typeof publicBulkUpdateDisputeEvidenceDocumentTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateDisputeEvidenceDocumentTags);\nexport const bulkUpdateDisputeEvidenceDocumentTagsByFilter: MaybeContext<\n BuildRESTFunction<\n typeof publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n > &\n typeof publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n> = /*#__PURE__*/ createRESTModule(\n publicBulkUpdateDisputeEvidenceDocumentTagsByFilter\n);\n/** */\nexport const onDisputeEvidenceDocumentCreated: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentCreated\n> &\n typeof publicOnDisputeEvidenceDocumentCreated = createEventModule(\n publicOnDisputeEvidenceDocumentCreated\n);\n/** */\nexport const onDisputeEvidenceDocumentDeleted: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentDeleted\n> &\n typeof publicOnDisputeEvidenceDocumentDeleted = createEventModule(\n publicOnDisputeEvidenceDocumentDeleted\n);\n/** */\nexport const onDisputeEvidenceDocumentUpdated: BuildEventDefinition<\n typeof publicOnDisputeEvidenceDocumentUpdated\n> &\n typeof publicOnDisputeEvidenceDocumentUpdated = createEventModule(\n publicOnDisputeEvidenceDocumentUpdated\n);\n\nexport {\n SortOrder,\n WebhookIdentityType,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\nexport {\n DisputeEvidenceDocument,\n DocumentFile,\n ExtendedFields,\n Tags,\n TagList,\n TagsModified,\n CreateDisputeEvidenceDocumentRequest,\n CreateDisputeEvidenceDocumentResponse,\n GetDisputeEvidenceDocumentRequest,\n GetDisputeEvidenceDocumentResponse,\n DeleteDisputeEvidenceDocumentRequest,\n DeleteDisputeEvidenceDocumentResponse,\n QueryDisputeEvidenceDocumentsRequest,\n CursorQuery,\n CursorQueryPagingMethodOneOf,\n Sorting,\n CursorPaging,\n QueryDisputeEvidenceDocumentsResponse,\n CursorPagingMetadata,\n Cursors,\n BulkUpdateDisputeEvidenceDocumentTagsRequest,\n BulkUpdateDisputeEvidenceDocumentTagsResponse,\n ItemMetadata,\n ApplicationError,\n BulkUpdateDisputeEvidenceDocumentTagsResult,\n BulkActionMetadata,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterRequest,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterResponse,\n MigrateDisputeEvidenceDocumentRequest,\n MigrateDisputeEvidenceDocumentResponse,\n SubmitMigratedDisputeEvidenceDocumentRequest,\n SubmitMigratedDisputeEvidenceDocumentResponse,\n GenerateDisputeEvidenceDocumentUploadUrlRequest,\n GenerateDisputeEvidenceDocumentUploadUrlResponse,\n AttachDisputeEvidenceDocumentFileRequest,\n AttachDisputeEvidenceDocumentFileResponse,\n GenerateDisputeEvidenceDocumentDownloadUrlRequest,\n GenerateDisputeEvidenceDocumentDownloadUrlResponse,\n MarkDisputeEvidenceDocumentSubmittedRequest,\n MarkDisputeEvidenceDocumentSubmittedResponse,\n DomainEvent,\n DomainEventBodyOneOf,\n EntityCreatedEvent,\n RestoreInfo,\n EntityUpdatedEvent,\n EntityDeletedEvent,\n ActionEvent,\n MessageEnvelope,\n IdentificationData,\n IdentificationDataIdOneOf,\n BaseEventMetadata,\n EventMetadata,\n DisputeEvidenceDocumentCreatedEnvelope,\n DisputeEvidenceDocumentDeletedEnvelope,\n DisputeEvidenceDocumentUpdatedEnvelope,\n DisputeEvidenceDocumentsQueryResult,\n DisputeEvidenceDocumentsQueryBuilder,\n BulkUpdateDisputeEvidenceDocumentTagsOptions,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterOptions,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\nexport {\n SortOrderWithLiterals,\n WebhookIdentityTypeWithLiterals,\n DeleteDisputeEvidenceDocumentApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsApplicationErrors,\n BulkUpdateDisputeEvidenceDocumentTagsByFilterApplicationErrors,\n} from './payments-dispute-evidence-documents-v1-dispute-evidence-document-dispute-evidence-documents.universal.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAAA;AAAA,EAAA,qDAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,wCAAAC;AAAA,EAAA,qCAAAC;AAAA;AAAA;;;ACAA,IAAAC,iCAAwD;AACxD,IAAAC,oBAAqD;AACrD,IAAAC,0BAA+B;AAC/B,uBAA8D;;;ACH9D,6BAAoD;AACpD,2BAA6B;AAC7B,oCAGO;;;ACLP,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8EACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QAC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A,QAC/B;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACJ,EAA0C;;;AGhR1C,IAAAC,uBAAiC;AACjC,sCAAkC;AAU3B,IAAMC,iCAGK,2DAAiBA,8BAAmC;AAC/D,IAAMC,8BAGK,2DAAiBA,2BAAgC;AAC5D,IAAMC,iCAGK,2DAAiBA,8BAAmC;AAC/D,IAAMC,iCAGK,2DAAiBA,8BAAmC;AAC/D,IAAMC,yCAGK,2DAAiBA,sCAA2C;AACvE,IAAMC,iDAKK;AAAA,EAChBA;AACF;AAEO,IAAMC,wCAGqC;AAAA,EAChD;AACF;AAEO,IAAMC,wCAGqC;AAAA,EAChD;AACF;AAEO,IAAMC,wCAGqC;AAAA,EAChD;AACF;","names":["bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","createDisputeEvidenceDocument","deleteDisputeEvidenceDocument","getDisputeEvidenceDocument","onDisputeEvidenceDocumentCreated","onDisputeEvidenceDocumentDeleted","onDisputeEvidenceDocumentUpdated","queryDisputeEvidenceDocuments","import_rename_all_nested_keys","import_timestamp","import_transform_paths","import_timestamp","import_rest_modules","payload","import_transform_paths","SortOrder","WebhookIdentityType","createDisputeEvidenceDocument","sdkTransformError","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","createDisputeEvidenceDocument","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","import_rest_modules","createDisputeEvidenceDocument","getDisputeEvidenceDocument","deleteDisputeEvidenceDocument","queryDisputeEvidenceDocuments","bulkUpdateDisputeEvidenceDocumentTags","bulkUpdateDisputeEvidenceDocumentTagsByFilter","onDisputeEvidenceDocumentCreated","onDisputeEvidenceDocumentDeleted","onDisputeEvidenceDocumentUpdated"]}