@wix/auto_sdk_payments_disputes 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.
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +341 -1
- package/build/cjs/meta.js +99 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +18 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +18 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +341 -1
- package/build/es/meta.mjs +91 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +341 -1
- package/build/internal/cjs/meta.js +99 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +18 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +18 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +341 -1
- package/build/internal/es/meta.mjs +91 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/meta.d.mts
CHANGED
|
@@ -271,6 +271,248 @@ interface TagList {
|
|
|
271
271
|
*/
|
|
272
272
|
tagIds?: string[];
|
|
273
273
|
}
|
|
274
|
+
/** Triggered when tags are assigned to or unassigned from a dispute. */
|
|
275
|
+
interface TagsModified {
|
|
276
|
+
/** Updated dispute. */
|
|
277
|
+
dispute?: Dispute;
|
|
278
|
+
/** Tags that were assigned to the dispute. */
|
|
279
|
+
assignedTags?: Tags;
|
|
280
|
+
/** Tags that were unassigned from the dispute. */
|
|
281
|
+
unassignedTags?: Tags;
|
|
282
|
+
}
|
|
283
|
+
interface InternalCreateDisputeManuallyRequest {
|
|
284
|
+
/**
|
|
285
|
+
* Dispute Id
|
|
286
|
+
* @format GUID
|
|
287
|
+
*/
|
|
288
|
+
disputeId?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Charge Id
|
|
291
|
+
* @format GUID
|
|
292
|
+
*/
|
|
293
|
+
chargeId?: string;
|
|
294
|
+
/** Open date */
|
|
295
|
+
openDate?: Date | null;
|
|
296
|
+
/**
|
|
297
|
+
* Provider Dispute Id
|
|
298
|
+
* @minLength 1
|
|
299
|
+
* @maxLength 100
|
|
300
|
+
*/
|
|
301
|
+
providerDisputeId?: string;
|
|
302
|
+
/** Dispute stage */
|
|
303
|
+
stage?: DisputeStageWithLiterals;
|
|
304
|
+
/** Dispute reason */
|
|
305
|
+
reason?: DisputeReasonWithLiterals;
|
|
306
|
+
/** Dispute status based on provider dispute status */
|
|
307
|
+
status?: DisputeStatusWithLiterals;
|
|
308
|
+
/** The latest date and time until which the dispute can remain in its current status */
|
|
309
|
+
dueDate?: Date | null;
|
|
310
|
+
/**
|
|
311
|
+
* Dispute currency. Should be the same as the charge currency.
|
|
312
|
+
* @immutable
|
|
313
|
+
* @format CURRENCY
|
|
314
|
+
*/
|
|
315
|
+
currencyCode?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
|
|
318
|
+
* @immutable
|
|
319
|
+
* @decimalValue options { gt:0, maxScale:8 }
|
|
320
|
+
*/
|
|
321
|
+
amount?: string | null;
|
|
322
|
+
/**
|
|
323
|
+
* Network reason code
|
|
324
|
+
* @minLength 1
|
|
325
|
+
* @maxLength 64
|
|
326
|
+
*/
|
|
327
|
+
networkReasonCode?: string | null;
|
|
328
|
+
/** External or Internal */
|
|
329
|
+
external?: boolean | null;
|
|
330
|
+
/**
|
|
331
|
+
* Seller protection
|
|
332
|
+
* @minLength 1
|
|
333
|
+
* @maxLength 64
|
|
334
|
+
*/
|
|
335
|
+
sellerProtection?: string | null;
|
|
336
|
+
/** Is charge refundable */
|
|
337
|
+
chargeRefundable?: boolean | null;
|
|
338
|
+
/** True if dispute is defendable */
|
|
339
|
+
defendable?: boolean | null;
|
|
340
|
+
/** True if it is an auto dispute */
|
|
341
|
+
autoDefended?: boolean | null;
|
|
342
|
+
}
|
|
343
|
+
interface InternalCreateDisputeManuallyResponse {
|
|
344
|
+
}
|
|
345
|
+
interface InternalChangeDisputeStatusManuallyRequest {
|
|
346
|
+
/**
|
|
347
|
+
* Dispute ID
|
|
348
|
+
* @format GUID
|
|
349
|
+
*/
|
|
350
|
+
disputeId?: string;
|
|
351
|
+
/** Changed date */
|
|
352
|
+
changedDate?: Date | null;
|
|
353
|
+
/** Dispute status based on provider dispute status */
|
|
354
|
+
status?: DisputeStatusWithLiterals;
|
|
355
|
+
}
|
|
356
|
+
interface InternalChangeDisputeStatusManuallyResponse {
|
|
357
|
+
}
|
|
358
|
+
interface AcceptDisputeManuallyRequest {
|
|
359
|
+
/**
|
|
360
|
+
* Dispute ID
|
|
361
|
+
* @format GUID
|
|
362
|
+
*/
|
|
363
|
+
disputeId?: string;
|
|
364
|
+
/** Accepted date */
|
|
365
|
+
acceptedDate?: Date | null;
|
|
366
|
+
}
|
|
367
|
+
interface AcceptDisputeManuallyResponse {
|
|
368
|
+
}
|
|
369
|
+
interface DefendDisputeManuallyRequest {
|
|
370
|
+
/**
|
|
371
|
+
* Dispute ID
|
|
372
|
+
* @format GUID
|
|
373
|
+
*/
|
|
374
|
+
disputeId?: string;
|
|
375
|
+
/** Defense date */
|
|
376
|
+
defendedDate?: Date | null;
|
|
377
|
+
}
|
|
378
|
+
interface DefendDisputeManuallyResponse {
|
|
379
|
+
}
|
|
380
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
381
|
+
createdEvent?: EntityCreatedEvent;
|
|
382
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
383
|
+
deletedEvent?: EntityDeletedEvent;
|
|
384
|
+
actionEvent?: ActionEvent;
|
|
385
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
386
|
+
id?: string;
|
|
387
|
+
/**
|
|
388
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
389
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
390
|
+
*/
|
|
391
|
+
entityFqdn?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
394
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
395
|
+
*/
|
|
396
|
+
slug?: string;
|
|
397
|
+
/** ID of the entity associated with the event. */
|
|
398
|
+
entityId?: string;
|
|
399
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
400
|
+
eventTime?: Date | null;
|
|
401
|
+
/**
|
|
402
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
403
|
+
* (for example, GDPR).
|
|
404
|
+
*/
|
|
405
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
406
|
+
/** If present, indicates the action that triggered the event. */
|
|
407
|
+
originatedFrom?: string | null;
|
|
408
|
+
/**
|
|
409
|
+
* 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.
|
|
410
|
+
* 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.
|
|
411
|
+
*/
|
|
412
|
+
entityEventSequence?: string | null;
|
|
413
|
+
}
|
|
414
|
+
/** @oneof */
|
|
415
|
+
interface DomainEventBodyOneOf {
|
|
416
|
+
createdEvent?: EntityCreatedEvent;
|
|
417
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
418
|
+
deletedEvent?: EntityDeletedEvent;
|
|
419
|
+
actionEvent?: ActionEvent;
|
|
420
|
+
}
|
|
421
|
+
interface EntityCreatedEvent {
|
|
422
|
+
entityAsJson?: string;
|
|
423
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
424
|
+
restoreInfo?: RestoreInfo;
|
|
425
|
+
}
|
|
426
|
+
interface RestoreInfo {
|
|
427
|
+
deletedDate?: Date | null;
|
|
428
|
+
}
|
|
429
|
+
interface EntityUpdatedEvent {
|
|
430
|
+
/**
|
|
431
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
432
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
433
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
434
|
+
*/
|
|
435
|
+
currentEntityAsJson?: string;
|
|
436
|
+
}
|
|
437
|
+
interface EntityDeletedEvent {
|
|
438
|
+
/** Entity that was deleted. */
|
|
439
|
+
deletedEntityAsJson?: string | null;
|
|
440
|
+
}
|
|
441
|
+
interface ActionEvent {
|
|
442
|
+
bodyAsJson?: string;
|
|
443
|
+
}
|
|
444
|
+
interface MessageEnvelope {
|
|
445
|
+
/**
|
|
446
|
+
* App instance ID.
|
|
447
|
+
* @format GUID
|
|
448
|
+
*/
|
|
449
|
+
instanceId?: string | null;
|
|
450
|
+
/**
|
|
451
|
+
* Event type.
|
|
452
|
+
* @maxLength 150
|
|
453
|
+
*/
|
|
454
|
+
eventType?: string;
|
|
455
|
+
/** The identification type and identity data. */
|
|
456
|
+
identity?: IdentificationData;
|
|
457
|
+
/** Stringify payload. */
|
|
458
|
+
data?: string;
|
|
459
|
+
}
|
|
460
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
461
|
+
/**
|
|
462
|
+
* ID of a site visitor that has not logged in to the site.
|
|
463
|
+
* @format GUID
|
|
464
|
+
*/
|
|
465
|
+
anonymousVisitorId?: string;
|
|
466
|
+
/**
|
|
467
|
+
* ID of a site visitor that has logged in to the site.
|
|
468
|
+
* @format GUID
|
|
469
|
+
*/
|
|
470
|
+
memberId?: string;
|
|
471
|
+
/**
|
|
472
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
473
|
+
* @format GUID
|
|
474
|
+
*/
|
|
475
|
+
wixUserId?: string;
|
|
476
|
+
/**
|
|
477
|
+
* ID of an app.
|
|
478
|
+
* @format GUID
|
|
479
|
+
*/
|
|
480
|
+
appId?: string;
|
|
481
|
+
/** @readonly */
|
|
482
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
483
|
+
}
|
|
484
|
+
/** @oneof */
|
|
485
|
+
interface IdentificationDataIdOneOf {
|
|
486
|
+
/**
|
|
487
|
+
* ID of a site visitor that has not logged in to the site.
|
|
488
|
+
* @format GUID
|
|
489
|
+
*/
|
|
490
|
+
anonymousVisitorId?: string;
|
|
491
|
+
/**
|
|
492
|
+
* ID of a site visitor that has logged in to the site.
|
|
493
|
+
* @format GUID
|
|
494
|
+
*/
|
|
495
|
+
memberId?: string;
|
|
496
|
+
/**
|
|
497
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
498
|
+
* @format GUID
|
|
499
|
+
*/
|
|
500
|
+
wixUserId?: string;
|
|
501
|
+
/**
|
|
502
|
+
* ID of an app.
|
|
503
|
+
* @format GUID
|
|
504
|
+
*/
|
|
505
|
+
appId?: string;
|
|
506
|
+
}
|
|
507
|
+
declare enum WebhookIdentityType {
|
|
508
|
+
UNKNOWN = "UNKNOWN",
|
|
509
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
510
|
+
MEMBER = "MEMBER",
|
|
511
|
+
WIX_USER = "WIX_USER",
|
|
512
|
+
APP = "APP"
|
|
513
|
+
}
|
|
514
|
+
/** @enumType */
|
|
515
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
274
516
|
interface GetDisputeRequest {
|
|
275
517
|
/**
|
|
276
518
|
* ID of the dispute to retrieve.
|
|
@@ -396,6 +638,92 @@ interface DefendDisputeResponse {
|
|
|
396
638
|
/** Updated dispute after initiating defense. */
|
|
397
639
|
dispute?: Dispute;
|
|
398
640
|
}
|
|
641
|
+
interface SubmitDisputeEvidenceRequest {
|
|
642
|
+
/**
|
|
643
|
+
* Dispute ID
|
|
644
|
+
* @format GUID
|
|
645
|
+
*/
|
|
646
|
+
disputeId?: string;
|
|
647
|
+
}
|
|
648
|
+
interface SubmitDisputeEvidenceResponse {
|
|
649
|
+
/** Dispute */
|
|
650
|
+
dispute?: Dispute;
|
|
651
|
+
}
|
|
652
|
+
interface CreateDisputeManuallyRequest {
|
|
653
|
+
/**
|
|
654
|
+
* Dispute Id
|
|
655
|
+
* @format GUID
|
|
656
|
+
*/
|
|
657
|
+
disputeId?: string;
|
|
658
|
+
/**
|
|
659
|
+
* Charge Id
|
|
660
|
+
* @format GUID
|
|
661
|
+
*/
|
|
662
|
+
chargeId?: string;
|
|
663
|
+
/** Open date */
|
|
664
|
+
openDate?: Date | null;
|
|
665
|
+
/**
|
|
666
|
+
* Provider Dispute Id
|
|
667
|
+
* @minLength 1
|
|
668
|
+
* @maxLength 100
|
|
669
|
+
*/
|
|
670
|
+
providerDisputeId?: string;
|
|
671
|
+
/** Dispute stage */
|
|
672
|
+
stage?: DisputeStageWithLiterals;
|
|
673
|
+
/** Dispute reason */
|
|
674
|
+
reason?: DisputeReasonWithLiterals;
|
|
675
|
+
/** Dispute status based on provider dispute status */
|
|
676
|
+
status?: DisputeStatusWithLiterals;
|
|
677
|
+
/** The latest date and time until which the dispute can remain in its current status */
|
|
678
|
+
dueDate?: Date | null;
|
|
679
|
+
/**
|
|
680
|
+
* Dispute currency. Should be the same as the charge currency.
|
|
681
|
+
* @immutable
|
|
682
|
+
* @format CURRENCY
|
|
683
|
+
*/
|
|
684
|
+
currencyCode?: string | null;
|
|
685
|
+
/**
|
|
686
|
+
* Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
|
|
687
|
+
* @immutable
|
|
688
|
+
* @decimalValue options { gt:0, maxScale:8 }
|
|
689
|
+
*/
|
|
690
|
+
amount?: string | null;
|
|
691
|
+
/**
|
|
692
|
+
* Network reason code
|
|
693
|
+
* @minLength 1
|
|
694
|
+
* @maxLength 64
|
|
695
|
+
*/
|
|
696
|
+
networkReasonCode?: string | null;
|
|
697
|
+
/** External or Internal */
|
|
698
|
+
external?: boolean | null;
|
|
699
|
+
/**
|
|
700
|
+
* Seller protection
|
|
701
|
+
* @minLength 1
|
|
702
|
+
* @maxLength 64
|
|
703
|
+
*/
|
|
704
|
+
sellerProtection?: string | null;
|
|
705
|
+
/** Is charge refundable */
|
|
706
|
+
chargeRefundable?: boolean | null;
|
|
707
|
+
/** True if dispute is defendable */
|
|
708
|
+
defendable?: boolean | null;
|
|
709
|
+
/** True if it is an auto dispute */
|
|
710
|
+
autoDefended?: boolean | null;
|
|
711
|
+
}
|
|
712
|
+
interface CreateDisputeManuallyResponse {
|
|
713
|
+
}
|
|
714
|
+
interface ChangeDisputeStatusManuallyRequest {
|
|
715
|
+
/**
|
|
716
|
+
* Dispute ID
|
|
717
|
+
* @format GUID
|
|
718
|
+
*/
|
|
719
|
+
disputeId?: string;
|
|
720
|
+
/** Changed date */
|
|
721
|
+
changedDate?: Date | null;
|
|
722
|
+
/** Dispute status based on provider dispute status */
|
|
723
|
+
status?: DisputeStatusWithLiterals;
|
|
724
|
+
}
|
|
725
|
+
interface ChangeDisputeStatusManuallyResponse {
|
|
726
|
+
}
|
|
399
727
|
interface BulkUpdateDisputeTagsRequest {
|
|
400
728
|
/**
|
|
401
729
|
* List of dispute IDs to update tags for.
|
|
@@ -467,6 +795,18 @@ interface BulkUpdateDisputeTagsByFilterResponse {
|
|
|
467
795
|
*/
|
|
468
796
|
jobId?: string;
|
|
469
797
|
}
|
|
798
|
+
/** @docsIgnore */
|
|
799
|
+
type BulkUpdateDisputeTagsApplicationErrors = {
|
|
800
|
+
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
801
|
+
description?: string;
|
|
802
|
+
data?: Record<string, any>;
|
|
803
|
+
};
|
|
804
|
+
/** @docsIgnore */
|
|
805
|
+
type BulkUpdateDisputeTagsByFilterApplicationErrors = {
|
|
806
|
+
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
807
|
+
description?: string;
|
|
808
|
+
data?: Record<string, any>;
|
|
809
|
+
};
|
|
470
810
|
|
|
471
811
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
472
812
|
getUrl: (context: any) => string;
|
|
@@ -491,4 +831,4 @@ declare function defendDispute(): __PublicMethodMetaInfo<'POST', {
|
|
|
491
831
|
declare function bulkUpdateDisputeTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsRequest$1, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResponse$1, BulkUpdateDisputeTagsResponse>;
|
|
492
832
|
declare function bulkUpdateDisputeTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsByFilterRequest$1, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsByFilterResponse$1, BulkUpdateDisputeTagsByFilterResponse>;
|
|
493
833
|
|
|
494
|
-
export { type __PublicMethodMetaInfo, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, queryDisputes };
|
|
834
|
+
export { type AcceptDisputeManuallyRequest as AcceptDisputeManuallyRequestOriginal, type AcceptDisputeManuallyResponse as AcceptDisputeManuallyResponseOriginal, type AcceptDisputeRequest as AcceptDisputeRequestOriginal, type AcceptDisputeResponse as AcceptDisputeResponseOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkUpdateDisputeTagsApplicationErrors as BulkUpdateDisputeTagsApplicationErrorsOriginal, type BulkUpdateDisputeTagsByFilterApplicationErrors as BulkUpdateDisputeTagsByFilterApplicationErrorsOriginal, type BulkUpdateDisputeTagsByFilterRequest as BulkUpdateDisputeTagsByFilterRequestOriginal, type BulkUpdateDisputeTagsByFilterResponse as BulkUpdateDisputeTagsByFilterResponseOriginal, type BulkUpdateDisputeTagsRequest as BulkUpdateDisputeTagsRequestOriginal, type BulkUpdateDisputeTagsResponse as BulkUpdateDisputeTagsResponseOriginal, type BulkUpdateDisputeTagsResult as BulkUpdateDisputeTagsResultOriginal, type ChangeDisputeStatusManuallyRequest as ChangeDisputeStatusManuallyRequestOriginal, type ChangeDisputeStatusManuallyResponse as ChangeDisputeStatusManuallyResponseOriginal, type CreateDisputeManuallyRequest as CreateDisputeManuallyRequestOriginal, type CreateDisputeManuallyResponse as CreateDisputeManuallyResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DefendDisputeManuallyRequest as DefendDisputeManuallyRequestOriginal, type DefendDisputeManuallyResponse as DefendDisputeManuallyResponseOriginal, type DefendDisputeRequest as DefendDisputeRequestOriginal, type DefendDisputeResponse as DefendDisputeResponseOriginal, type DisputeAction as DisputeActionOriginal, DisputeActionType as DisputeActionTypeOriginal, type DisputeActionTypeWithLiterals as DisputeActionTypeWithLiteralsOriginal, DisputeChannel as DisputeChannelOriginal, type DisputeChannelWithLiterals as DisputeChannelWithLiteralsOriginal, type Dispute as DisputeOriginal, DisputeReason as DisputeReasonOriginal, type DisputeReasonWithLiterals as DisputeReasonWithLiteralsOriginal, DisputeStage as DisputeStageOriginal, type DisputeStageWithLiterals as DisputeStageWithLiteralsOriginal, DisputeStatus as DisputeStatusOriginal, type DisputeStatusWithLiterals as DisputeStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetDisputeRequest as GetDisputeRequestOriginal, type GetDisputeResponse as GetDisputeResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InternalChangeDisputeStatusManuallyRequest as InternalChangeDisputeStatusManuallyRequestOriginal, type InternalChangeDisputeStatusManuallyResponse as InternalChangeDisputeStatusManuallyResponseOriginal, type InternalCreateDisputeManuallyRequest as InternalCreateDisputeManuallyRequestOriginal, type InternalCreateDisputeManuallyResponse as InternalCreateDisputeManuallyResponseOriginal, type ItemMetadata as ItemMetadataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type QueryDisputesRequest as QueryDisputesRequestOriginal, type QueryDisputesResponse as QueryDisputesResponseOriginal, type RestoreInfo as RestoreInfoOriginal, SellerProtection as SellerProtectionOriginal, type SellerProtectionWithLiterals as SellerProtectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SubmitDisputeEvidenceRequest as SubmitDisputeEvidenceRequestOriginal, type SubmitDisputeEvidenceResponse as SubmitDisputeEvidenceResponseOriginal, type TagList as TagListOriginal, type TagsModified as TagsModifiedOriginal, type Tags as TagsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, defendDispute, getDispute, queryDisputes };
|
package/build/es/meta.mjs
CHANGED
|
@@ -15,6 +15,9 @@ function getDispute(payload) {
|
|
|
15
15
|
method: "GET",
|
|
16
16
|
methodFqn: "wix.payments.disputes.v1.DisputeService.GetDispute",
|
|
17
17
|
packageName: PACKAGE_NAME,
|
|
18
|
+
migrationOptions: {
|
|
19
|
+
optInTransformResponse: true
|
|
20
|
+
},
|
|
18
21
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
19
22
|
protoPath: "/v1/disputes/{disputeId}",
|
|
20
23
|
data: payload,
|
|
@@ -46,6 +49,9 @@ function queryDisputes(payload) {
|
|
|
46
49
|
method: "GET",
|
|
47
50
|
methodFqn: "wix.payments.disputes.v1.DisputeService.QueryDisputes",
|
|
48
51
|
packageName: PACKAGE_NAME,
|
|
52
|
+
migrationOptions: {
|
|
53
|
+
optInTransformResponse: true
|
|
54
|
+
},
|
|
49
55
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
50
56
|
protoPath: "/v1/disputes/query",
|
|
51
57
|
data: payload,
|
|
@@ -88,6 +94,9 @@ function acceptDispute(payload) {
|
|
|
88
94
|
method: "POST",
|
|
89
95
|
methodFqn: "wix.payments.disputes.v1.DisputeService.AcceptDispute",
|
|
90
96
|
packageName: PACKAGE_NAME,
|
|
97
|
+
migrationOptions: {
|
|
98
|
+
optInTransformResponse: true
|
|
99
|
+
},
|
|
91
100
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
92
101
|
protoPath: "/v1/disputes/{disputeId}/accept",
|
|
93
102
|
data: payload,
|
|
@@ -119,6 +128,9 @@ function defendDispute(payload) {
|
|
|
119
128
|
method: "POST",
|
|
120
129
|
methodFqn: "wix.payments.disputes.v1.DisputeService.DefendDispute",
|
|
121
130
|
packageName: PACKAGE_NAME,
|
|
131
|
+
migrationOptions: {
|
|
132
|
+
optInTransformResponse: true
|
|
133
|
+
},
|
|
122
134
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
123
135
|
protoPath: "/v1/disputes/{disputeId}/defend",
|
|
124
136
|
data: payload,
|
|
@@ -150,6 +162,9 @@ function bulkUpdateDisputeTags(payload) {
|
|
|
150
162
|
method: "POST",
|
|
151
163
|
methodFqn: "wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTags",
|
|
152
164
|
packageName: PACKAGE_NAME,
|
|
165
|
+
migrationOptions: {
|
|
166
|
+
optInTransformResponse: true
|
|
167
|
+
},
|
|
153
168
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
154
169
|
protoPath: "/v1/bulk/disputes/update-tags",
|
|
155
170
|
data: payload,
|
|
@@ -168,6 +183,9 @@ function bulkUpdateDisputeTagsByFilter(payload) {
|
|
|
168
183
|
method: "POST",
|
|
169
184
|
methodFqn: "wix.payments.disputes.v1.DisputeService.BulkUpdateDisputeTagsByFilter",
|
|
170
185
|
packageName: PACKAGE_NAME,
|
|
186
|
+
migrationOptions: {
|
|
187
|
+
optInTransformResponse: true
|
|
188
|
+
},
|
|
171
189
|
url: resolveWixPaymentsDisputesV1DisputeServiceUrl({
|
|
172
190
|
protoPath: "/v1/bulk/disputes/update-tags-by-filter",
|
|
173
191
|
data: payload,
|
|
@@ -180,6 +198,71 @@ function bulkUpdateDisputeTagsByFilter(payload) {
|
|
|
180
198
|
return __bulkUpdateDisputeTagsByFilter;
|
|
181
199
|
}
|
|
182
200
|
|
|
201
|
+
// src/payments-disputes-v1-dispute-disputes.types.ts
|
|
202
|
+
var DisputeStage = /* @__PURE__ */ ((DisputeStage2) => {
|
|
203
|
+
DisputeStage2["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
|
|
204
|
+
DisputeStage2["CHARGEBACK"] = "CHARGEBACK";
|
|
205
|
+
DisputeStage2["INQUIRY"] = "INQUIRY";
|
|
206
|
+
return DisputeStage2;
|
|
207
|
+
})(DisputeStage || {});
|
|
208
|
+
var DisputeReason = /* @__PURE__ */ ((DisputeReason2) => {
|
|
209
|
+
DisputeReason2["UNKNOWN_DISPUTE_REASON"] = "UNKNOWN_DISPUTE_REASON";
|
|
210
|
+
DisputeReason2["FRAUD_CARD_PRESENT"] = "FRAUD_CARD_PRESENT";
|
|
211
|
+
DisputeReason2["FRAUD_CARD_ABSENT"] = "FRAUD_CARD_ABSENT";
|
|
212
|
+
DisputeReason2["DUPLICATE_PROCESSING"] = "DUPLICATE_PROCESSING";
|
|
213
|
+
DisputeReason2["SERVICES_NOT_PROVIDED"] = "SERVICES_NOT_PROVIDED";
|
|
214
|
+
DisputeReason2["CANCELED_RECURRING"] = "CANCELED_RECURRING";
|
|
215
|
+
DisputeReason2["NOT_AS_DESCRIBED"] = "NOT_AS_DESCRIBED";
|
|
216
|
+
DisputeReason2["COUNTERFEIT"] = "COUNTERFEIT";
|
|
217
|
+
DisputeReason2["MISREPRESENTATION"] = "MISREPRESENTATION";
|
|
218
|
+
DisputeReason2["CANCELED"] = "CANCELED";
|
|
219
|
+
DisputeReason2["OTHER"] = "OTHER";
|
|
220
|
+
return DisputeReason2;
|
|
221
|
+
})(DisputeReason || {});
|
|
222
|
+
var DisputeStatus = /* @__PURE__ */ ((DisputeStatus2) => {
|
|
223
|
+
DisputeStatus2["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
|
|
224
|
+
DisputeStatus2["WAITING_MERCHANT"] = "WAITING_MERCHANT";
|
|
225
|
+
DisputeStatus2["UNDER_REVIEW"] = "UNDER_REVIEW";
|
|
226
|
+
DisputeStatus2["WAITING_BUYER"] = "WAITING_BUYER";
|
|
227
|
+
DisputeStatus2["WON"] = "WON";
|
|
228
|
+
DisputeStatus2["LOST"] = "LOST";
|
|
229
|
+
DisputeStatus2["PROCESSING_EVIDENCE_SUBMISSION"] = "PROCESSING_EVIDENCE_SUBMISSION";
|
|
230
|
+
DisputeStatus2["PROCESSING_ACCEPTANCE"] = "PROCESSING_ACCEPTANCE";
|
|
231
|
+
return DisputeStatus2;
|
|
232
|
+
})(DisputeStatus || {});
|
|
233
|
+
var SellerProtection = /* @__PURE__ */ ((SellerProtection2) => {
|
|
234
|
+
SellerProtection2["UNKNOWN_SELLER_PROTECTION"] = "UNKNOWN_SELLER_PROTECTION";
|
|
235
|
+
SellerProtection2["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
|
|
236
|
+
SellerProtection2["ELIGIBLE"] = "ELIGIBLE";
|
|
237
|
+
SellerProtection2["EXTENDED"] = "EXTENDED";
|
|
238
|
+
return SellerProtection2;
|
|
239
|
+
})(SellerProtection || {});
|
|
240
|
+
var DisputeChannel = /* @__PURE__ */ ((DisputeChannel2) => {
|
|
241
|
+
DisputeChannel2["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
|
|
242
|
+
DisputeChannel2["INTERNAL"] = "INTERNAL";
|
|
243
|
+
DisputeChannel2["EXTERNAL"] = "EXTERNAL";
|
|
244
|
+
return DisputeChannel2;
|
|
245
|
+
})(DisputeChannel || {});
|
|
246
|
+
var DisputeActionType = /* @__PURE__ */ ((DisputeActionType2) => {
|
|
247
|
+
DisputeActionType2["UNKNOWN_DISPUTE_ACTION"] = "UNKNOWN_DISPUTE_ACTION";
|
|
248
|
+
DisputeActionType2["ACCEPT"] = "ACCEPT";
|
|
249
|
+
DisputeActionType2["DEFEND"] = "DEFEND";
|
|
250
|
+
return DisputeActionType2;
|
|
251
|
+
})(DisputeActionType || {});
|
|
252
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
253
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
254
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
255
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
256
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
257
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
258
|
+
return WebhookIdentityType2;
|
|
259
|
+
})(WebhookIdentityType || {});
|
|
260
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
261
|
+
SortOrder2["ASC"] = "ASC";
|
|
262
|
+
SortOrder2["DESC"] = "DESC";
|
|
263
|
+
return SortOrder2;
|
|
264
|
+
})(SortOrder || {});
|
|
265
|
+
|
|
183
266
|
// src/payments-disputes-v1-dispute-disputes.meta.ts
|
|
184
267
|
function getDispute2() {
|
|
185
268
|
const payload = { disputeId: ":disputeId" };
|
|
@@ -292,6 +375,14 @@ function bulkUpdateDisputeTagsByFilter2() {
|
|
|
292
375
|
};
|
|
293
376
|
}
|
|
294
377
|
export {
|
|
378
|
+
DisputeActionType as DisputeActionTypeOriginal,
|
|
379
|
+
DisputeChannel as DisputeChannelOriginal,
|
|
380
|
+
DisputeReason as DisputeReasonOriginal,
|
|
381
|
+
DisputeStage as DisputeStageOriginal,
|
|
382
|
+
DisputeStatus as DisputeStatusOriginal,
|
|
383
|
+
SellerProtection as SellerProtectionOriginal,
|
|
384
|
+
SortOrder as SortOrderOriginal,
|
|
385
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
295
386
|
acceptDispute2 as acceptDispute,
|
|
296
387
|
bulkUpdateDisputeTags2 as bulkUpdateDisputeTags,
|
|
297
388
|
bulkUpdateDisputeTagsByFilter2 as bulkUpdateDisputeTagsByFilter,
|