@wix/auto_sdk_payments_dispute-history-records 1.0.29 → 1.0.30
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.
- package/build/cjs/meta.d.ts +160 -1
- package/build/cjs/meta.js +48 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +160 -1
- package/build/es/meta.mjs +43 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +160 -1
- package/build/internal/cjs/meta.js +48 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +160 -1
- package/build/internal/es/meta.mjs +43 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -165,6 +165,15 @@ interface TagList {
|
|
|
165
165
|
*/
|
|
166
166
|
tagIds?: string[];
|
|
167
167
|
}
|
|
168
|
+
/** Triggered when tags are modified on a dispute history record. */
|
|
169
|
+
interface TagsModified {
|
|
170
|
+
/** Updated dispute history record. */
|
|
171
|
+
disputeHistoryRecord?: DisputeHistoryRecord;
|
|
172
|
+
/** Tags that were assigned to the dispute history record. */
|
|
173
|
+
assignedTags?: Tags;
|
|
174
|
+
/** Tags that were unassigned from the dispute history record. */
|
|
175
|
+
unassignedTags?: Tags;
|
|
176
|
+
}
|
|
168
177
|
interface GetDisputeHistoryRecordRequest {
|
|
169
178
|
/**
|
|
170
179
|
* ID of the dispute history record to retrieve.
|
|
@@ -269,6 +278,72 @@ interface Cursors {
|
|
|
269
278
|
*/
|
|
270
279
|
prev?: string | null;
|
|
271
280
|
}
|
|
281
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
282
|
+
createdEvent?: EntityCreatedEvent;
|
|
283
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
284
|
+
deletedEvent?: EntityDeletedEvent;
|
|
285
|
+
actionEvent?: ActionEvent;
|
|
286
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
287
|
+
id?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
290
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
291
|
+
*/
|
|
292
|
+
entityFqdn?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
295
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
296
|
+
*/
|
|
297
|
+
slug?: string;
|
|
298
|
+
/** ID of the entity associated with the event. */
|
|
299
|
+
entityId?: string;
|
|
300
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
301
|
+
eventTime?: Date | null;
|
|
302
|
+
/**
|
|
303
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
304
|
+
* (for example, GDPR).
|
|
305
|
+
*/
|
|
306
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
307
|
+
/** If present, indicates the action that triggered the event. */
|
|
308
|
+
originatedFrom?: string | null;
|
|
309
|
+
/**
|
|
310
|
+
* 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.
|
|
311
|
+
* 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.
|
|
312
|
+
*/
|
|
313
|
+
entityEventSequence?: string | null;
|
|
314
|
+
}
|
|
315
|
+
/** @oneof */
|
|
316
|
+
interface DomainEventBodyOneOf {
|
|
317
|
+
createdEvent?: EntityCreatedEvent;
|
|
318
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
319
|
+
deletedEvent?: EntityDeletedEvent;
|
|
320
|
+
actionEvent?: ActionEvent;
|
|
321
|
+
}
|
|
322
|
+
interface EntityCreatedEvent {
|
|
323
|
+
entityAsJson?: string;
|
|
324
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
325
|
+
restoreInfo?: RestoreInfo;
|
|
326
|
+
}
|
|
327
|
+
interface RestoreInfo {
|
|
328
|
+
deletedDate?: Date | null;
|
|
329
|
+
}
|
|
330
|
+
interface EntityUpdatedEvent {
|
|
331
|
+
/**
|
|
332
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
333
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
334
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
335
|
+
*/
|
|
336
|
+
currentEntityAsJson?: string;
|
|
337
|
+
}
|
|
338
|
+
interface EntityDeletedEvent {
|
|
339
|
+
/** Entity that was deleted. */
|
|
340
|
+
deletedEntityAsJson?: string | null;
|
|
341
|
+
}
|
|
342
|
+
interface ActionEvent {
|
|
343
|
+
bodyAsJson?: string;
|
|
344
|
+
}
|
|
345
|
+
interface Empty {
|
|
346
|
+
}
|
|
272
347
|
interface BulkUpdateDisputeHistoryRecordTagsRequest {
|
|
273
348
|
/**
|
|
274
349
|
* List of dispute history record IDs whose tags will be updated.
|
|
@@ -345,6 +420,90 @@ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
|
|
|
345
420
|
*/
|
|
346
421
|
jobId?: string;
|
|
347
422
|
}
|
|
423
|
+
interface MessageEnvelope {
|
|
424
|
+
/**
|
|
425
|
+
* App instance ID.
|
|
426
|
+
* @format GUID
|
|
427
|
+
*/
|
|
428
|
+
instanceId?: string | null;
|
|
429
|
+
/**
|
|
430
|
+
* Event type.
|
|
431
|
+
* @maxLength 150
|
|
432
|
+
*/
|
|
433
|
+
eventType?: string;
|
|
434
|
+
/** The identification type and identity data. */
|
|
435
|
+
identity?: IdentificationData;
|
|
436
|
+
/** Stringify payload. */
|
|
437
|
+
data?: string;
|
|
438
|
+
}
|
|
439
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
440
|
+
/**
|
|
441
|
+
* ID of a site visitor that has not logged in to the site.
|
|
442
|
+
* @format GUID
|
|
443
|
+
*/
|
|
444
|
+
anonymousVisitorId?: string;
|
|
445
|
+
/**
|
|
446
|
+
* ID of a site visitor that has logged in to the site.
|
|
447
|
+
* @format GUID
|
|
448
|
+
*/
|
|
449
|
+
memberId?: string;
|
|
450
|
+
/**
|
|
451
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
452
|
+
* @format GUID
|
|
453
|
+
*/
|
|
454
|
+
wixUserId?: string;
|
|
455
|
+
/**
|
|
456
|
+
* ID of an app.
|
|
457
|
+
* @format GUID
|
|
458
|
+
*/
|
|
459
|
+
appId?: string;
|
|
460
|
+
/** @readonly */
|
|
461
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
462
|
+
}
|
|
463
|
+
/** @oneof */
|
|
464
|
+
interface IdentificationDataIdOneOf {
|
|
465
|
+
/**
|
|
466
|
+
* ID of a site visitor that has not logged in to the site.
|
|
467
|
+
* @format GUID
|
|
468
|
+
*/
|
|
469
|
+
anonymousVisitorId?: string;
|
|
470
|
+
/**
|
|
471
|
+
* ID of a site visitor that has logged in to the site.
|
|
472
|
+
* @format GUID
|
|
473
|
+
*/
|
|
474
|
+
memberId?: string;
|
|
475
|
+
/**
|
|
476
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
477
|
+
* @format GUID
|
|
478
|
+
*/
|
|
479
|
+
wixUserId?: string;
|
|
480
|
+
/**
|
|
481
|
+
* ID of an app.
|
|
482
|
+
* @format GUID
|
|
483
|
+
*/
|
|
484
|
+
appId?: string;
|
|
485
|
+
}
|
|
486
|
+
declare enum WebhookIdentityType {
|
|
487
|
+
UNKNOWN = "UNKNOWN",
|
|
488
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
489
|
+
MEMBER = "MEMBER",
|
|
490
|
+
WIX_USER = "WIX_USER",
|
|
491
|
+
APP = "APP"
|
|
492
|
+
}
|
|
493
|
+
/** @enumType */
|
|
494
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
495
|
+
/** @docsIgnore */
|
|
496
|
+
type BulkUpdateDisputeHistoryRecordTagsApplicationErrors = {
|
|
497
|
+
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
498
|
+
description?: string;
|
|
499
|
+
data?: Record<string, any>;
|
|
500
|
+
};
|
|
501
|
+
/** @docsIgnore */
|
|
502
|
+
type BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors = {
|
|
503
|
+
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
504
|
+
description?: string;
|
|
505
|
+
data?: Record<string, any>;
|
|
506
|
+
};
|
|
348
507
|
|
|
349
508
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
350
509
|
getUrl: (context: any) => string;
|
|
@@ -363,4 +522,4 @@ declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {},
|
|
|
363
522
|
declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
|
|
364
523
|
declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
|
|
365
524
|
|
|
366
|
-
export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
|
|
525
|
+
export { type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkUpdateDisputeHistoryRecordTagsApplicationErrors as BulkUpdateDisputeHistoryRecordTagsApplicationErrorsOriginal, type BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors as BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrorsOriginal, type BulkUpdateDisputeHistoryRecordTagsByFilterRequest as BulkUpdateDisputeHistoryRecordTagsByFilterRequestOriginal, type BulkUpdateDisputeHistoryRecordTagsByFilterResponse as BulkUpdateDisputeHistoryRecordTagsByFilterResponseOriginal, type BulkUpdateDisputeHistoryRecordTagsRequest as BulkUpdateDisputeHistoryRecordTagsRequestOriginal, type BulkUpdateDisputeHistoryRecordTagsResponse as BulkUpdateDisputeHistoryRecordTagsResponseOriginal, type BulkUpdateDisputeHistoryRecordTagsResult as BulkUpdateDisputeHistoryRecordTagsResultOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DisputeChannel as DisputeChannelOriginal, type DisputeChannelWithLiterals as DisputeChannelWithLiteralsOriginal, type DisputeHistoryRecord as DisputeHistoryRecordOriginal, DisputeStage as DisputeStageOriginal, type DisputeStageWithLiterals as DisputeStageWithLiteralsOriginal, DisputeStatus as DisputeStatusOriginal, type DisputeStatusWithLiterals as DisputeStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetDisputeHistoryRecordRequest as GetDisputeHistoryRecordRequestOriginal, type GetDisputeHistoryRecordResponse as GetDisputeHistoryRecordResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type QueryDisputeHistoryRecordsRequest as QueryDisputeHistoryRecordsRequestOriginal, type QueryDisputeHistoryRecordsResponse as QueryDisputeHistoryRecordsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TagList as TagListOriginal, type TagsModified as TagsModifiedOriginal, type Tags as TagsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
|
|
@@ -130,6 +130,44 @@ function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
|
|
|
130
130
|
return __bulkUpdateDisputeHistoryRecordTagsByFilter;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
// src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.ts
|
|
134
|
+
var DisputeStage = /* @__PURE__ */ ((DisputeStage2) => {
|
|
135
|
+
DisputeStage2["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
|
|
136
|
+
DisputeStage2["CHARGEBACK"] = "CHARGEBACK";
|
|
137
|
+
DisputeStage2["INQUIRY"] = "INQUIRY";
|
|
138
|
+
return DisputeStage2;
|
|
139
|
+
})(DisputeStage || {});
|
|
140
|
+
var DisputeStatus = /* @__PURE__ */ ((DisputeStatus2) => {
|
|
141
|
+
DisputeStatus2["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
|
|
142
|
+
DisputeStatus2["WAITING_MERCHANT"] = "WAITING_MERCHANT";
|
|
143
|
+
DisputeStatus2["UNDER_REVIEW"] = "UNDER_REVIEW";
|
|
144
|
+
DisputeStatus2["WAITING_BUYER"] = "WAITING_BUYER";
|
|
145
|
+
DisputeStatus2["WON"] = "WON";
|
|
146
|
+
DisputeStatus2["LOST"] = "LOST";
|
|
147
|
+
DisputeStatus2["PROCESSING_EVIDENCE_SUBMISSION"] = "PROCESSING_EVIDENCE_SUBMISSION";
|
|
148
|
+
DisputeStatus2["PROCESSING_ACCEPTANCE"] = "PROCESSING_ACCEPTANCE";
|
|
149
|
+
return DisputeStatus2;
|
|
150
|
+
})(DisputeStatus || {});
|
|
151
|
+
var DisputeChannel = /* @__PURE__ */ ((DisputeChannel2) => {
|
|
152
|
+
DisputeChannel2["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
|
|
153
|
+
DisputeChannel2["INTERNAL"] = "INTERNAL";
|
|
154
|
+
DisputeChannel2["EXTERNAL"] = "EXTERNAL";
|
|
155
|
+
return DisputeChannel2;
|
|
156
|
+
})(DisputeChannel || {});
|
|
157
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
158
|
+
SortOrder2["ASC"] = "ASC";
|
|
159
|
+
SortOrder2["DESC"] = "DESC";
|
|
160
|
+
return SortOrder2;
|
|
161
|
+
})(SortOrder || {});
|
|
162
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
163
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
164
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
165
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
166
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
167
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
168
|
+
return WebhookIdentityType2;
|
|
169
|
+
})(WebhookIdentityType || {});
|
|
170
|
+
|
|
133
171
|
// src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts
|
|
134
172
|
function getDisputeHistoryRecord2() {
|
|
135
173
|
const payload = { disputeHistoryRecordId: ":disputeHistoryRecordId" };
|
|
@@ -212,6 +250,11 @@ function bulkUpdateDisputeHistoryRecordTagsByFilter2() {
|
|
|
212
250
|
};
|
|
213
251
|
}
|
|
214
252
|
export {
|
|
253
|
+
DisputeChannel as DisputeChannelOriginal,
|
|
254
|
+
DisputeStage as DisputeStageOriginal,
|
|
255
|
+
DisputeStatus as DisputeStatusOriginal,
|
|
256
|
+
SortOrder as SortOrderOriginal,
|
|
257
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
215
258
|
bulkUpdateDisputeHistoryRecordTags2 as bulkUpdateDisputeHistoryRecordTags,
|
|
216
259
|
bulkUpdateDisputeHistoryRecordTagsByFilter2 as bulkUpdateDisputeHistoryRecordTagsByFilter,
|
|
217
260
|
getDisputeHistoryRecord2 as getDisputeHistoryRecord,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts","../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';\n\n/** Retrieves a dispute history record by ID. */\nexport function getDisputeHistoryRecord(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeHistoryRecord({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',\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: 'disputeHistoryRecord.createdDate' },\n { path: 'disputeHistoryRecord.updatedDate' },\n { path: 'disputeHistoryRecord.dueDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeHistoryRecord;\n}\n\n/**\n * Retrieves dispute history records with support for filtering, cursor-based paging, and sorting.\n *\n * Use this method to get the complete audit trail for specific disputes or to query records across multiple disputes based on various criteria.\n */\nexport function queryDisputeHistoryRecords(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeHistoryRecords({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n { protoPath: '/v1/dispute-history-records/query', data: payload, host }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecords.createdDate' },\n { path: 'disputeHistoryRecords.updatedDate' },\n { path: 'disputeHistoryRecords.dueDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeHistoryRecords;\n}\n\n/**\n * Synchronously updates tags on multiple dispute history records by ID.\n *\n * Use this method when you need immediate confirmation of tag updates for a specific set of records.\n * Limited to 100 records per request. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeHistoryRecordTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTags;\n}\n\n/**\n * Asynchronously updates tags on multiple dispute history records using a filter.\n *\n * Use this method for bulk operations on large sets of records. An empty filter will update all dispute history records.\n * Returns a job ID for tracking the operation status. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTagsByFilter;\n}\n","import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getDisputeHistoryRecord(): __PublicMethodMetaInfo<\n 'GET',\n { disputeHistoryRecordId: string },\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse\n> {\n const payload = { disputeHistoryRecordId: ':disputeHistoryRecordId' } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n pathParams: { disputeHistoryRecordId: 'disputeHistoryRecordId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AAC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IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts","../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.ts","../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';\n\n/** Retrieves a dispute history record by ID. */\nexport function getDisputeHistoryRecord(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeHistoryRecord({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',\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: 'disputeHistoryRecord.createdDate' },\n { path: 'disputeHistoryRecord.updatedDate' },\n { path: 'disputeHistoryRecord.dueDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeHistoryRecord;\n}\n\n/**\n * Retrieves dispute history records with support for filtering, cursor-based paging, and sorting.\n *\n * Use this method to get the complete audit trail for specific disputes or to query records across multiple disputes based on various criteria.\n */\nexport function queryDisputeHistoryRecords(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeHistoryRecords({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n { protoPath: '/v1/dispute-history-records/query', data: payload, host }\n ),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecords.createdDate' },\n { path: 'disputeHistoryRecords.updatedDate' },\n { path: 'disputeHistoryRecords.dueDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeHistoryRecords;\n}\n\n/**\n * Synchronously updates tags on multiple dispute history records by ID.\n *\n * Use this method when you need immediate confirmation of tag updates for a specific set of records.\n * Limited to 100 records per request. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeHistoryRecordTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTags;\n}\n\n/**\n * Asynchronously updates tags on multiple dispute history records using a filter.\n *\n * Use this method for bulk operations on large sets of records. An empty filter will update all dispute history records.\n * Returns a job ID for tracking the operation status. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTagsByFilter;\n}\n","/**\n * A dispute history record represents a snapshot of dispute information at a specific point in time.\n *\n * Records are automatically created whenever a dispute changes status, stage, or other key properties, providing a complete audit trail for compliance and audit requirements.\n */\nexport interface DisputeHistoryRecord {\n /**\n * DisputeHistoryRecord ID.\n * @format GUID\n * @readonly\n * @immutable\n */\n id?: string;\n /**\n * Revision number, which increments by 1 each time the dispute history record is updated.\n * To prevent conflicting changes, the existing revision must be specified when updating a dispute history record.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the DisputeHistoryRecord was created.\n * @readonly\n * @immutable\n */\n createdDate?: Date | null;\n /**\n * Date and time the DisputeHistoryRecord was last updated.\n * @readonly\n * @immutable\n */\n updatedDate?: Date | null;\n /**\n * ID of the dispute that this history record tracks. Each dispute can have multiple history records showing its lifecycle changes.\n * @format GUID\n * @immutable\n */\n disputeId?: string;\n /**\n * Stage of the dispute lifecycle at the time this record was created.\n * Indicates whether this was an inquiry (request for information) or a chargeback (formal dispute).\n * @readonly\n * @immutable\n */\n stage?: DisputeStageWithLiterals;\n /**\n * Status of the dispute at the time this record was created.\n * Indicates what action was required and by whom at this point in the dispute lifecycle.\n * @readonly\n * @immutable\n */\n status?: DisputeStatusWithLiterals;\n /**\n * Date by which action must be taken on the dispute.\n * After this date, the dispute may be automatically resolved against the merchant.\n * @readonly\n * @immutable\n */\n dueDate?: Date | null;\n /**\n * ID of the payment charge that is being disputed.\n * Links this history record to the original transaction.\n * @format GUID\n * @readonly\n * @immutable\n */\n chargeId?: string;\n /**\n * Channel through which the dispute is being processed.\n * Internal disputes are handled by the payment processor, while external disputes go through the card network or issuing bank.\n * @readonly\n * @immutable\n */\n channel?: DisputeChannelWithLiterals;\n /** Custom field data for the dispute history record. Extended fields must be configured in the app dashboard before they can be accessed with API calls. */\n extendedFields?: ExtendedFields;\n /** Tags */\n tags?: Tags;\n}\n\nexport enum DisputeStage {\n UNKNOWN_DISPUTE_STAGE = 'UNKNOWN_DISPUTE_STAGE',\n /** Formal dispute filed by the cardholder through their bank. */\n CHARGEBACK = 'CHARGEBACK',\n /** Request for additional information about the transaction, which may escalate to a chargeback if not resolved. */\n INQUIRY = 'INQUIRY',\n}\n\n/** @enumType */\nexport type DisputeStageWithLiterals =\n | DisputeStage\n | 'UNKNOWN_DISPUTE_STAGE'\n | 'CHARGEBACK'\n | 'INQUIRY';\n\nexport enum DisputeStatus {\n /** Unknown status */\n UNKNOWN_DISPUTE_STATUS = 'UNKNOWN_DISPUTE_STATUS',\n /** Waiting for merchant action, such as submitting evidence or accepting the dispute. */\n WAITING_MERCHANT = 'WAITING_MERCHANT',\n /** Dispute is under review by the payment service provider (internal channel) or bank (external channel). */\n UNDER_REVIEW = 'UNDER_REVIEW',\n /** Waiting for buyer action or response. */\n WAITING_BUYER = 'WAITING_BUYER',\n /** Dispute was resolved in favor of the merchant. */\n WON = 'WON',\n /** Dispute was resolved in favor of the cardholder. */\n LOST = 'LOST',\n /** Evidence was submitted and is being processed on the provider side. This status will be removed in a future version. */\n PROCESSING_EVIDENCE_SUBMISSION = 'PROCESSING_EVIDENCE_SUBMISSION',\n /** The dispute was accepted and the acceptance is being processed on the provider side. This status will be removed in a future version. */\n PROCESSING_ACCEPTANCE = 'PROCESSING_ACCEPTANCE',\n}\n\n/** @enumType */\nexport type DisputeStatusWithLiterals =\n | DisputeStatus\n | 'UNKNOWN_DISPUTE_STATUS'\n | 'WAITING_MERCHANT'\n | 'UNDER_REVIEW'\n | 'WAITING_BUYER'\n | 'WON'\n | 'LOST'\n | 'PROCESSING_EVIDENCE_SUBMISSION'\n | 'PROCESSING_ACCEPTANCE';\n\nexport enum DisputeChannel {\n UNKNOWN_DISPUTE_CHANNEL = 'UNKNOWN_DISPUTE_CHANNEL',\n /** Dispute is reviewed internally by the payment service provider. */\n INTERNAL = 'INTERNAL',\n /** Dispute is reviewed externally by the bank or other financial institution. */\n EXTERNAL = 'EXTERNAL',\n}\n\n/** @enumType */\nexport type DisputeChannelWithLiterals =\n | DisputeChannel\n | 'UNKNOWN_DISPUTE_CHANNEL'\n | 'INTERNAL'\n | 'EXTERNAL';\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/** Triggered when tags are modified on a dispute history record. */\nexport interface TagsModified {\n /** Updated dispute history record. */\n disputeHistoryRecord?: DisputeHistoryRecord;\n /** Tags that were assigned to the dispute history record. */\n assignedTags?: Tags;\n /** Tags that were unassigned from the dispute history record. */\n unassignedTags?: Tags;\n}\n\nexport interface GetDisputeHistoryRecordRequest {\n /**\n * ID of the dispute history record to retrieve.\n * @format GUID\n */\n disputeHistoryRecordId: string;\n}\n\nexport interface GetDisputeHistoryRecordResponse {\n /** The requested dispute history record. */\n disputeHistoryRecord?: DisputeHistoryRecord;\n}\n\nexport interface QueryDisputeHistoryRecordsRequest {\n /**\n * WQL expression for filtering, sorting, and paging dispute history records.\n *\n * Supported properties: `disputeId`, `stage`, `status`, `dueDate`, `chargeId`, `channel`, `createdDate`, `updatedDate`\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 QueryDisputeHistoryRecordsResponse {\n /** List of dispute history records matching the query criteria. */\n disputeHistoryRecords?: DisputeHistoryRecord[];\n /** Paging metadata for cursor-based pagination. */\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 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 entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\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 currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface BulkUpdateDisputeHistoryRecordTagsRequest {\n /**\n * List of dispute history record IDs whose tags will be updated.\n *\n * Limited to 100 IDs per request.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n ids: string[];\n /** Tags to assign to the dispute history records. */\n assignTags?: Tags;\n /** Tags to unassign from the dispute history records. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeHistoryRecordTagsResponse {\n /**\n * Results of the bulk tag update operation for each dispute history record.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateDisputeHistoryRecordTagsResult[];\n /** Metadata about the bulk 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 BulkUpdateDisputeHistoryRecordTagsResult {\n /** Metadata about the individual item update operation. */\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 BulkUpdateDisputeHistoryRecordTagsByFilterRequest {\n /**\n * Filter criteria for selecting dispute history records to update.\n * An empty filter will update all dispute history records.\n */\n filter: Record<string, any> | null;\n /** List of Tags to assign */\n assignTags?: Tags;\n /** List of Tags to unAssign */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {\n /**\n * Job ID for tracking the asynchronous bulk update operation.\n * @format GUID\n */\n jobId?: 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 BulkUpdateDisputeHistoryRecordTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getDisputeHistoryRecord(): __PublicMethodMetaInfo<\n 'GET',\n { disputeHistoryRecordId: string },\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse\n> {\n const payload = { disputeHistoryRecordId: ':disputeHistoryRecordId' } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n pathParams: { disputeHistoryRecordId: 'disputeHistoryRecordId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n DisputeHistoryRecord as DisputeHistoryRecordOriginal,\n DisputeStage as DisputeStageOriginal,\n DisputeStageWithLiterals as DisputeStageWithLiteralsOriginal,\n DisputeStatus as DisputeStatusOriginal,\n DisputeStatusWithLiterals as DisputeStatusWithLiteralsOriginal,\n DisputeChannel as DisputeChannelOriginal,\n DisputeChannelWithLiterals as DisputeChannelWithLiteralsOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n TagsModified as TagsModifiedOriginal,\n GetDisputeHistoryRecordRequest as GetDisputeHistoryRecordRequestOriginal,\n GetDisputeHistoryRecordResponse as GetDisputeHistoryRecordResponseOriginal,\n QueryDisputeHistoryRecordsRequest as QueryDisputeHistoryRecordsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryDisputeHistoryRecordsResponse as QueryDisputeHistoryRecordsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n BulkUpdateDisputeHistoryRecordTagsRequest as BulkUpdateDisputeHistoryRecordTagsRequestOriginal,\n BulkUpdateDisputeHistoryRecordTagsResponse as BulkUpdateDisputeHistoryRecordTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdateDisputeHistoryRecordTagsResult as BulkUpdateDisputeHistoryRecordTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateDisputeHistoryRecordTagsByFilterRequest as BulkUpdateDisputeHistoryRecordTagsByFilterRequestOriginal,\n BulkUpdateDisputeHistoryRecordTagsByFilterResponse as BulkUpdateDisputeHistoryRecordTagsByFilterResponseOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n BulkUpdateDisputeHistoryRecordTagsApplicationErrors as BulkUpdateDisputeHistoryRecordTagsApplicationErrorsOriginal,\n BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrors as BulkUpdateDisputeHistoryRecordTagsByFilterApplicationErrorsOriginal,\n} from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,wEACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,wBACd,SAC4B;AAC5B,WAAS,0BAA0B,EAAE,KAAK,GAAQ;AAChD,UAAM,WAAW;AAAA,MACf,YACE;AAAA,MACF,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK;AAAA,QACH;AAAA,UACE,WAAW;AAAA,UACX,MAAM;AAAA,UACN;AAAA,QACF;AAAA,MACF;AAAA,MACA,QAAQ,kBAAkB,OAAO;AAAA,MACjC,mBAAmB,CAACA,aAClB,eAAeA,UAAS;AAAA,QACtB;AAAA,UACE,aAAa;AA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AACF;AAEO,SAASC,8CAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6D;AAAA,IAC/D;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","DisputeStage","DisputeStatus","DisputeChannel","SortOrder","WebhookIdentityType","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_payments_dispute-history-records",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^0.
|
|
32
|
+
"@wix/sdk-runtime": "^0.5.0",
|
|
33
33
|
"@wix/sdk-types": "^1.13.35"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.payments.dispute_history_records.v1.dispute_history_record"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "166147ad1fb157d1a1b6d223962c61fd353ada11ec98b7d1e3e84602"
|
|
54
54
|
}
|