@wix/auto_sdk_payments_disputes 1.0.31 → 1.0.33

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +338 -209
  2. package/build/cjs/index.js +53 -34
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +48 -29
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +102 -79
  8. package/build/cjs/meta.js +45 -26
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +338 -209
  11. package/build/es/index.mjs +52 -33
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +47 -28
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +102 -79
  17. package/build/es/meta.mjs +44 -25
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +16 -16
  20. package/build/internal/cjs/index.js +53 -34
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +349 -220
  23. package/build/internal/cjs/index.typings.js +48 -29
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +102 -79
  26. package/build/internal/cjs/meta.js +45 -26
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +16 -16
  29. package/build/internal/es/index.mjs +52 -33
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +349 -220
  32. package/build/internal/es/index.typings.mjs +47 -28
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +102 -79
  35. package/build/internal/es/meta.mjs +44 -25
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -18,9 +18,15 @@ interface Dispute {
18
18
  * @immutable
19
19
  */
20
20
  providerDisputeId?: string;
21
- /** Dispute stage */
21
+ /**
22
+ * Dispute stage
23
+ * @readonly
24
+ */
22
25
  stage?: DisputeStageWithLiterals;
23
- /** Dispute reason */
26
+ /**
27
+ * Dispute reason
28
+ * @readonly
29
+ */
24
30
  reason?: DisputeReasonWithLiterals;
25
31
  /**
26
32
  * Dispute currency. Should be the same as the charge currency.
@@ -34,33 +40,62 @@ interface Dispute {
34
40
  * @decimalValue options { gt:0, maxScale:8 }
35
41
  */
36
42
  amount?: string | null;
37
- /** Dispute status based on provider dispute status */
43
+ /**
44
+ * Dispute status based on provider dispute status
45
+ * @readonly
46
+ */
38
47
  status?: DisputeStatusWithLiterals;
39
48
  /** True if the merchant can do the refund with the opened dispute, false otherwise */
40
49
  chargeRefundable?: boolean | null;
41
- /** Seller protection */
50
+ /**
51
+ * Seller protection helps protect sellers from financial loss on eligible transactions due to unauthorized payments or claims that items were not received
52
+ * @readonly
53
+ */
42
54
  sellerProtection?: SellerProtectionWithLiterals;
43
55
  /**
44
56
  * Dispute Channel
45
57
  * Internal - this dispute is created on provider side
46
58
  * External - this dispute is created on bank side
59
+ * @readonly
47
60
  */
48
61
  channel?: DisputeChannelWithLiterals;
49
- /** The latest date and time until which the dispute can remain in its current status */
62
+ /**
63
+ * The latest date and time until which the dispute can remain in its current status
64
+ * @readonly
65
+ */
50
66
  dueDate?: Date | null;
51
67
  /**
52
68
  * Network reason code
53
- * https://docs.stripe.com/disputes/reason-codes-defense-requirements?card-network=visa
54
- * https://docs.stripe.com/disputes/reason-codes-defense-requirements?card-network=mastercard
55
- * https://docs.stripe.com/disputes/reason-codes-defense-requirements?card-network=amex
56
69
  * @minLength 1
57
70
  * @maxLength 64
58
71
  */
59
72
  networkReasonCode?: string | null;
60
- /** True if dispute is defendable */
73
+ /**
74
+ * True if dispute is defendable
75
+ * @readonly
76
+ */
61
77
  defendable?: boolean | null;
62
- /** True if it is an auto dispute */
78
+ /**
79
+ * True if it is an auto dispute
80
+ * @readonly
81
+ */
63
82
  autoDefended?: boolean | null;
83
+ /**
84
+ * The dispute defense date
85
+ * @readonly
86
+ */
87
+ defenseDate?: Date | null;
88
+ /**
89
+ * The dispute acceptance date
90
+ * @readonly
91
+ */
92
+ acceptanceDate?: Date | null;
93
+ /**
94
+ * The actions that can be perform with the dispute
95
+ * @readonly
96
+ * @maxSize 20
97
+ */
98
+ actions?: DisputeAction[];
64
99
  /**
65
100
  * The dispute created date
66
101
  * @readonly
@@ -80,7 +115,7 @@ interface Dispute {
80
115
  /** Data Extensions */
81
116
  extendedFields?: ExtendedFields;
82
117
  /** Tags */
83
- tags?: PublicTags;
118
+ tags?: Tags;
84
119
  }
85
120
  declare enum DisputeStage {
86
121
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
@@ -122,7 +157,7 @@ declare enum DisputeStatus {
122
157
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
123
158
  /** Waiting for some merchant action */
124
159
  WAITING_MERCHANT = "WAITING_MERCHANT",
125
- /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
160
+ /** Dispute is under review by PSP or Bank */
126
161
  UNDER_REVIEW = "UNDER_REVIEW",
127
162
  /** Waiting for some buyer action */
128
163
  WAITING_BUYER = "WAITING_BUYER",
@@ -157,6 +192,22 @@ declare enum DisputeChannel {
157
192
  }
158
193
  /** @enumType */
159
194
  type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
195
+ interface DisputeAction {
196
+ /** Dispute Action type */
197
+ type?: DisputeActionTypeWithLiterals;
198
+ /** The latest date and time until which the action can be performed */
199
+ dueDate?: Date | null;
200
+ }
201
+ declare enum DisputeActionType {
202
+ /** Unknown dispute status */
203
+ UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
204
+ /** Accept dispute */
205
+ ACCEPT = "ACCEPT",
206
+ /** Defend evidence */
207
+ DEFEND = "DEFEND"
208
+ }
209
+ /** @enumType */
210
+ type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'DEFEND';
160
211
  interface ExtendedFields {
161
212
  /**
162
213
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -168,18 +219,282 @@ interface ExtendedFields {
168
219
  */
169
220
  namespaces?: Record<string, Record<string, any>>;
170
221
  }
171
- interface PublicTags {
222
+ /**
223
+ * Common object for tags.
224
+ * Should be use as in this example:
225
+ * message Foo {
226
+ * option (.wix.api.decomposite_of) = "wix.commons.v2.tags.Foo";
227
+ * string id = 1;
228
+ * ...
229
+ * Tags tags = 5
230
+ * }
231
+ *
232
+ * example of taggable entity
233
+ * {
234
+ * id: "123"
235
+ * tags: {
236
+ * public_tags: {
237
+ * tag_ids:["11","22"]
238
+ * },
239
+ * private_tags: {
240
+ * tag_ids: ["33", "44"]
241
+ * }
242
+ * }
243
+ * }
244
+ */
245
+ interface Tags {
246
+ /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
247
+ privateTags?: TagList;
172
248
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
173
- tags?: TagList;
249
+ publicTags?: TagList;
174
250
  }
175
251
  interface TagList {
176
252
  /**
177
- * List of tag IDs
253
+ * List of tag IDs.
178
254
  * @maxSize 100
179
255
  * @maxLength 5
180
256
  */
181
257
  tagIds?: string[];
182
258
  }
259
+ interface TagsModified {
260
+ /** Updated Dispute. */
261
+ dispute?: Dispute;
262
+ /** Tags that were assigned to the Dispute. */
263
+ assignedTags?: Tags;
264
+ /** Tags that were unassigned from the Dispute. */
265
+ unassignedTags?: Tags;
266
+ }
267
+ interface InternalCreateDisputeManuallyRequest {
268
+ /**
269
+ * Dispute Id
270
+ * @format GUID
271
+ */
272
+ disputeId?: string;
273
+ /**
274
+ * Charge Id
275
+ * @format GUID
276
+ */
277
+ chargeId?: string;
278
+ /** Open date */
279
+ openDate?: Date | null;
280
+ /**
281
+ * Provider Dispute Id
282
+ * @minLength 1
283
+ * @maxLength 100
284
+ */
285
+ providerDisputeId?: string;
286
+ /** Dispute stage */
287
+ stage?: DisputeStageWithLiterals;
288
+ /** Dispute reason */
289
+ reason?: DisputeReasonWithLiterals;
290
+ /** Dispute status based on provider dispute status */
291
+ status?: DisputeStatusWithLiterals;
292
+ /** The latest date and time until which the dispute can remain in its current status */
293
+ dueDate?: Date | null;
294
+ /**
295
+ * Dispute currency. Should be the same as the charge currency.
296
+ * @immutable
297
+ * @format CURRENCY
298
+ */
299
+ currencyCode?: string | null;
300
+ /**
301
+ * Dispute Amount in currency's main units (such as dollars or euros). For example, `"12.95"`.
302
+ * @immutable
303
+ * @decimalValue options { gt:0, maxScale:8 }
304
+ */
305
+ amount?: string | null;
306
+ /**
307
+ * Network reason code
308
+ * @minLength 1
309
+ * @maxLength 64
310
+ */
311
+ networkReasonCode?: string | null;
312
+ /** External or Internal */
313
+ external?: boolean | null;
314
+ /**
315
+ * Seller protection
316
+ * @minLength 1
317
+ * @maxLength 64
318
+ */
319
+ sellerProtection?: string | null;
320
+ /** Is charge refundable */
321
+ chargeRefundable?: boolean | null;
322
+ /** True if dispute is defendable */
323
+ defendable?: boolean | null;
324
+ /** True if it is an auto dispute */
325
+ autoDefended?: boolean | null;
326
+ }
327
+ interface InternalCreateDisputeManuallyResponse {
328
+ }
329
+ interface InternalChangeDisputeStatusManuallyRequest {
330
+ /**
331
+ * Dispute ID
332
+ * @format GUID
333
+ */
334
+ disputeId?: string;
335
+ /** Changed date */
336
+ changedDate?: Date | null;
337
+ /** Dispute status based on provider dispute status */
338
+ status?: DisputeStatusWithLiterals;
339
+ }
340
+ interface InternalChangeDisputeStatusManuallyResponse {
341
+ }
342
+ interface AcceptDisputeManuallyRequest {
343
+ /**
344
+ * Dispute ID
345
+ * @format GUID
346
+ */
347
+ disputeId?: string;
348
+ /** Acceptance date */
349
+ acceptanceDate?: Date | null;
350
+ }
351
+ interface AcceptDisputeManuallyResponse {
352
+ }
353
+ interface DefendDisputeManuallyRequest {
354
+ /**
355
+ * Dispute ID
356
+ * @format GUID
357
+ */
358
+ disputeId?: string;
359
+ /** Defense date */
360
+ defenseDate?: Date | null;
361
+ }
362
+ interface DefendDisputeManuallyResponse {
363
+ }
364
+ interface DomainEvent extends DomainEventBodyOneOf {
365
+ createdEvent?: EntityCreatedEvent;
366
+ updatedEvent?: EntityUpdatedEvent;
367
+ deletedEvent?: EntityDeletedEvent;
368
+ actionEvent?: ActionEvent;
369
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
370
+ _id?: string;
371
+ /**
372
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
373
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
374
+ */
375
+ entityFqdn?: string;
376
+ /**
377
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
378
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
379
+ */
380
+ slug?: string;
381
+ /** ID of the entity associated with the event. */
382
+ entityId?: string;
383
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
384
+ eventTime?: Date | null;
385
+ /**
386
+ * Whether the event was triggered as a result of a privacy regulation application
387
+ * (for example, GDPR).
388
+ */
389
+ triggeredByAnonymizeRequest?: boolean | null;
390
+ /** If present, indicates the action that triggered the event. */
391
+ originatedFrom?: string | null;
392
+ /**
393
+ * 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.
394
+ * 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.
395
+ */
396
+ entityEventSequence?: string | null;
397
+ }
398
+ /** @oneof */
399
+ interface DomainEventBodyOneOf {
400
+ createdEvent?: EntityCreatedEvent;
401
+ updatedEvent?: EntityUpdatedEvent;
402
+ deletedEvent?: EntityDeletedEvent;
403
+ actionEvent?: ActionEvent;
404
+ }
405
+ interface EntityCreatedEvent {
406
+ entity?: string;
407
+ }
408
+ interface RestoreInfo {
409
+ deletedDate?: Date | null;
410
+ }
411
+ interface EntityUpdatedEvent {
412
+ /**
413
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
414
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
415
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
416
+ */
417
+ currentEntity?: string;
418
+ }
419
+ interface EntityDeletedEvent {
420
+ /** Entity that was deleted. */
421
+ deletedEntity?: string | null;
422
+ }
423
+ interface ActionEvent {
424
+ body?: string;
425
+ }
426
+ interface MessageEnvelope {
427
+ /**
428
+ * App instance ID.
429
+ * @format GUID
430
+ */
431
+ instanceId?: string | null;
432
+ /**
433
+ * Event type.
434
+ * @maxLength 150
435
+ */
436
+ eventType?: string;
437
+ /** The identification type and identity data. */
438
+ identity?: IdentificationData;
439
+ /** Stringify payload. */
440
+ data?: string;
441
+ }
442
+ interface IdentificationData extends IdentificationDataIdOneOf {
443
+ /**
444
+ * ID of a site visitor that has not logged in to the site.
445
+ * @format GUID
446
+ */
447
+ anonymousVisitorId?: string;
448
+ /**
449
+ * ID of a site visitor that has logged in to the site.
450
+ * @format GUID
451
+ */
452
+ memberId?: string;
453
+ /**
454
+ * ID of a Wix user (site owner, contributor, etc.).
455
+ * @format GUID
456
+ */
457
+ wixUserId?: string;
458
+ /**
459
+ * ID of an app.
460
+ * @format GUID
461
+ */
462
+ appId?: string;
463
+ /** @readonly */
464
+ identityType?: WebhookIdentityTypeWithLiterals;
465
+ }
466
+ /** @oneof */
467
+ interface IdentificationDataIdOneOf {
468
+ /**
469
+ * ID of a site visitor that has not logged in to the site.
470
+ * @format GUID
471
+ */
472
+ anonymousVisitorId?: string;
473
+ /**
474
+ * ID of a site visitor that has logged in to the site.
475
+ * @format GUID
476
+ */
477
+ memberId?: string;
478
+ /**
479
+ * ID of a Wix user (site owner, contributor, etc.).
480
+ * @format GUID
481
+ */
482
+ wixUserId?: string;
483
+ /**
484
+ * ID of an app.
485
+ * @format GUID
486
+ */
487
+ appId?: string;
488
+ }
489
+ declare enum WebhookIdentityType {
490
+ UNKNOWN = "UNKNOWN",
491
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
492
+ MEMBER = "MEMBER",
493
+ WIX_USER = "WIX_USER",
494
+ APP = "APP"
495
+ }
496
+ /** @enumType */
497
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
183
498
  interface GetDisputeRequest {
184
499
  /**
185
500
  * ID of the Dispute to retrieve.
@@ -280,44 +595,25 @@ interface Cursors {
280
595
  */
281
596
  prev?: string | null;
282
597
  }
283
- interface GetDisputeActionsRequest {
598
+ interface AcceptDisputeRequest {
284
599
  /**
285
600
  * Dispute ID
286
601
  * @format GUID
287
602
  */
288
603
  disputeId: string;
289
604
  }
290
- interface GetDisputeActionsResponse {
291
- /**
292
- * Dispute actions
293
- * @maxSize 20
294
- */
295
- actions?: DisputeAction[];
296
- }
297
- interface DisputeAction {
298
- /** Dispute Action type */
299
- type?: DisputeActionTypeWithLiterals;
300
- /** The latest date and time until which the action can be performed */
301
- dueDate?: Date | null;
302
- }
303
- declare enum DisputeActionType {
304
- /** Unknown dispute status */
305
- UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
306
- /** Accept dispute */
307
- ACCEPT = "ACCEPT",
308
- /** Submit evidence */
309
- SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
605
+ interface AcceptDisputeResponse {
606
+ /** Dispute */
607
+ dispute?: Dispute;
310
608
  }
311
- /** @enumType */
312
- type DisputeActionTypeWithLiterals = DisputeActionType | 'UNKNOWN_DISPUTE_ACTION' | 'ACCEPT' | 'SUBMIT_EVIDENCE';
313
- interface AcceptDisputeRequest {
609
+ interface DefendDisputeRequest {
314
610
  /**
315
611
  * Dispute ID
316
612
  * @format GUID
317
613
  */
318
614
  disputeId: string;
319
615
  }
320
- interface AcceptDisputeResponse {
616
+ interface DefendDisputeResponse {
321
617
  /** Dispute */
322
618
  dispute?: Dispute;
323
619
  }
@@ -357,6 +653,7 @@ interface CreateDisputeManuallyRequest {
357
653
  reason?: DisputeReasonWithLiterals;
358
654
  /** Dispute status based on provider dispute status */
359
655
  status?: DisputeStatusWithLiterals;
656
+ /** The latest date and time until which the dispute can remain in its current status */
360
657
  dueDate?: Date | null;
361
658
  /**
362
659
  * Dispute currency. Should be the same as the charge currency.
@@ -419,40 +716,6 @@ interface BulkUpdateDisputeTagsRequest {
419
716
  /** List of Tags to unAssign */
420
717
  unassignTags?: Tags;
421
718
  }
422
- /**
423
- * Common object for tags.
424
- * Should be use as in this example:
425
- * message Foo {
426
- * string id = 1;
427
- * ...
428
- * Tags tags = 5
429
- * }
430
- *
431
- * example of taggable entity
432
- * {
433
- * id: "123"
434
- * tags: {
435
- * tags: {
436
- * tag_ids:["11","22"]
437
- * },
438
- * private_tags: {
439
- * tag_ids: ["33", "44"]
440
- * }
441
- * }
442
- * }
443
- */
444
- interface Tags {
445
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
446
- tags?: TagsTagList;
447
- }
448
- interface TagsTagList {
449
- /**
450
- * List of tag IDs
451
- * @maxSize 100
452
- * @maxLength 5
453
- */
454
- tagIds?: string[];
455
- }
456
719
  interface BulkUpdateDisputeTagsResponse {
457
720
  /**
458
721
  * Results
@@ -511,140 +774,6 @@ interface BulkUpdateDisputeTagsByFilterResponse {
511
774
  */
512
775
  jobId?: string;
513
776
  }
514
- interface DomainEvent extends DomainEventBodyOneOf {
515
- createdEvent?: EntityCreatedEvent;
516
- updatedEvent?: EntityUpdatedEvent;
517
- deletedEvent?: EntityDeletedEvent;
518
- actionEvent?: ActionEvent;
519
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
520
- _id?: string;
521
- /**
522
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
523
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
524
- */
525
- entityFqdn?: string;
526
- /**
527
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
528
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
529
- */
530
- slug?: string;
531
- /** ID of the entity associated with the event. */
532
- entityId?: string;
533
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
534
- eventTime?: Date | null;
535
- /**
536
- * Whether the event was triggered as a result of a privacy regulation application
537
- * (for example, GDPR).
538
- */
539
- triggeredByAnonymizeRequest?: boolean | null;
540
- /** If present, indicates the action that triggered the event. */
541
- originatedFrom?: string | null;
542
- /**
543
- * 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.
544
- * 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.
545
- */
546
- entityEventSequence?: string | null;
547
- }
548
- /** @oneof */
549
- interface DomainEventBodyOneOf {
550
- createdEvent?: EntityCreatedEvent;
551
- updatedEvent?: EntityUpdatedEvent;
552
- deletedEvent?: EntityDeletedEvent;
553
- actionEvent?: ActionEvent;
554
- }
555
- interface EntityCreatedEvent {
556
- entity?: string;
557
- }
558
- interface RestoreInfo {
559
- deletedDate?: Date | null;
560
- }
561
- interface EntityUpdatedEvent {
562
- /**
563
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
564
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
565
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
566
- */
567
- currentEntity?: string;
568
- }
569
- interface EntityDeletedEvent {
570
- /** Entity that was deleted. */
571
- deletedEntity?: string | null;
572
- }
573
- interface ActionEvent {
574
- body?: string;
575
- }
576
- interface MessageEnvelope {
577
- /**
578
- * App instance ID.
579
- * @format GUID
580
- */
581
- instanceId?: string | null;
582
- /**
583
- * Event type.
584
- * @maxLength 150
585
- */
586
- eventType?: string;
587
- /** The identification type and identity data. */
588
- identity?: IdentificationData;
589
- /** Stringify payload. */
590
- data?: string;
591
- }
592
- interface IdentificationData extends IdentificationDataIdOneOf {
593
- /**
594
- * ID of a site visitor that has not logged in to the site.
595
- * @format GUID
596
- */
597
- anonymousVisitorId?: string;
598
- /**
599
- * ID of a site visitor that has logged in to the site.
600
- * @format GUID
601
- */
602
- memberId?: string;
603
- /**
604
- * ID of a Wix user (site owner, contributor, etc.).
605
- * @format GUID
606
- */
607
- wixUserId?: string;
608
- /**
609
- * ID of an app.
610
- * @format GUID
611
- */
612
- appId?: string;
613
- /** @readonly */
614
- identityType?: WebhookIdentityTypeWithLiterals;
615
- }
616
- /** @oneof */
617
- interface IdentificationDataIdOneOf {
618
- /**
619
- * ID of a site visitor that has not logged in to the site.
620
- * @format GUID
621
- */
622
- anonymousVisitorId?: string;
623
- /**
624
- * ID of a site visitor that has logged in to the site.
625
- * @format GUID
626
- */
627
- memberId?: string;
628
- /**
629
- * ID of a Wix user (site owner, contributor, etc.).
630
- * @format GUID
631
- */
632
- wixUserId?: string;
633
- /**
634
- * ID of an app.
635
- * @format GUID
636
- */
637
- appId?: string;
638
- }
639
- declare enum WebhookIdentityType {
640
- UNKNOWN = "UNKNOWN",
641
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
642
- MEMBER = "MEMBER",
643
- WIX_USER = "WIX_USER",
644
- APP = "APP"
645
- }
646
- /** @enumType */
647
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
648
777
  /** @docsIgnore */
649
778
  type BulkUpdateDisputeTagsApplicationErrors = {
650
779
  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
@@ -747,4 +876,4 @@ interface BulkUpdateDisputeTagsByFilterOptions {
747
876
  unassignTags?: Tags;
748
877
  }
749
878
 
750
- export { type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeTagsApplicationErrors, type BulkUpdateDisputeTagsByFilterApplicationErrors, type BulkUpdateDisputeTagsByFilterOptions, type BulkUpdateDisputeTagsByFilterRequest, type BulkUpdateDisputeTagsByFilterResponse, type BulkUpdateDisputeTagsOptions, type BulkUpdateDisputeTagsRequest, type BulkUpdateDisputeTagsResponse, type BulkUpdateDisputeTagsResult, type ChangeDisputeStatusManuallyRequest, type ChangeDisputeStatusManuallyResponse, type CreateDisputeManuallyRequest, type CreateDisputeManuallyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Dispute, type DisputeAction, DisputeActionType, type DisputeActionTypeWithLiterals, DisputeChannel, type DisputeChannelWithLiterals, DisputeReason, type DisputeReasonWithLiterals, DisputeStage, type DisputeStageWithLiterals, DisputeStatus, type DisputeStatusWithLiterals, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeActionsRequest, type GetDisputeActionsResponse, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type PublicTags, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, type SellerProtectionWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsTagList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };
879
+ export { type AcceptDisputeManuallyRequest, type AcceptDisputeManuallyResponse, type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeTagsApplicationErrors, type BulkUpdateDisputeTagsByFilterApplicationErrors, type BulkUpdateDisputeTagsByFilterOptions, type BulkUpdateDisputeTagsByFilterRequest, type BulkUpdateDisputeTagsByFilterResponse, type BulkUpdateDisputeTagsOptions, type BulkUpdateDisputeTagsRequest, type BulkUpdateDisputeTagsResponse, type BulkUpdateDisputeTagsResult, type ChangeDisputeStatusManuallyRequest, type ChangeDisputeStatusManuallyResponse, type CreateDisputeManuallyRequest, type CreateDisputeManuallyResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DefendDisputeManuallyRequest, type DefendDisputeManuallyResponse, type DefendDisputeRequest, type DefendDisputeResponse, type Dispute, type DisputeAction, DisputeActionType, type DisputeActionTypeWithLiterals, DisputeChannel, type DisputeChannelWithLiterals, DisputeReason, type DisputeReasonWithLiterals, DisputeStage, type DisputeStageWithLiterals, DisputeStatus, type DisputeStatusWithLiterals, type DisputesQueryBuilder, type DisputesQueryResult, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeRequest, type GetDisputeResponse, type IdentificationData, type IdentificationDataIdOneOf, type InternalChangeDisputeStatusManuallyRequest, type InternalChangeDisputeStatusManuallyResponse, type InternalCreateDisputeManuallyRequest, type InternalCreateDisputeManuallyResponse, type ItemMetadata, type MessageEnvelope, type QueryDisputesRequest, type QueryDisputesResponse, type RestoreInfo, SellerProtection, type SellerProtectionWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsModified, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };