@wix/auto_sdk_payments_disputes 1.0.10 → 1.0.11

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 (132) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +2 -0
  11. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js +29 -0
  12. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +1 -0
  13. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +22 -0
  14. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js +217 -0
  15. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +1 -0
  16. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +27 -0
  17. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +161 -0
  18. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +1 -0
  19. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +4 -0
  20. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js +64 -0
  21. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +1 -0
  22. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts +631 -0
  23. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js +94 -0
  24. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +1 -0
  25. package/build/{index.d.mts → cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts} +58 -59
  26. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +386 -0
  27. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +2 -0
  39. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js +18 -0
  40. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js.map +1 -0
  41. package/build/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +22 -0
  42. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js +207 -0
  43. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js.map +1 -0
  44. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +27 -0
  45. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js +128 -0
  46. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +1 -0
  47. package/build/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +4 -0
  48. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js +46 -0
  49. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js.map +1 -0
  50. package/build/es/src/payments-disputes-v1-dispute-disputes.types.d.ts +631 -0
  51. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js +91 -0
  52. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js.map +1 -0
  53. package/build/{index.d.ts → es/src/payments-disputes-v1-dispute-disputes.universal.d.ts} +58 -59
  54. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js +353 -0
  55. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +18 -0
  66. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js +29 -0
  67. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +1 -0
  68. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +22 -0
  69. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js +217 -0
  70. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +1 -0
  71. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +27 -0
  72. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +161 -0
  73. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +1 -0
  74. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +72 -0
  75. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js +64 -0
  76. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +1 -0
  77. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts +631 -0
  78. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js +94 -0
  79. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +1 -0
  80. package/build/internal/{payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.mts → cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts} +136 -59
  81. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +386 -0
  82. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +18 -0
  93. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js +18 -0
  94. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js.map +1 -0
  95. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +22 -0
  96. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js +207 -0
  97. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js.map +1 -0
  98. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +27 -0
  99. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js +128 -0
  100. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +1 -0
  101. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +72 -0
  102. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js +46 -0
  103. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js.map +1 -0
  104. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts +631 -0
  105. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js +91 -0
  106. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js.map +1 -0
  107. package/build/internal/{payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.ts → es/src/payments-disputes-v1-dispute-disputes.universal.d.ts} +136 -59
  108. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js +353 -0
  109. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +1 -0
  110. package/package.json +11 -12
  111. package/build/index.js +0 -588
  112. package/build/index.js.map +0 -1
  113. package/build/index.mjs +0 -550
  114. package/build/index.mjs.map +0 -1
  115. package/build/internal/index.d.mts +0 -87
  116. package/build/internal/index.d.ts +0 -87
  117. package/build/internal/index.js +0 -588
  118. package/build/internal/index.js.map +0 -1
  119. package/build/internal/index.mjs +0 -550
  120. package/build/internal/index.mjs.map +0 -1
  121. package/build/internal/meta.d.mts +0 -449
  122. package/build/internal/meta.d.ts +0 -449
  123. package/build/internal/meta.js +0 -366
  124. package/build/internal/meta.js.map +0 -1
  125. package/build/internal/meta.mjs +0 -333
  126. package/build/internal/meta.mjs.map +0 -1
  127. package/build/meta.d.mts +0 -449
  128. package/build/meta.d.ts +0 -449
  129. package/build/meta.js +0 -366
  130. package/build/meta.js.map +0 -1
  131. package/build/meta.mjs +0 -333
  132. package/build/meta.mjs.map +0 -1
@@ -0,0 +1,91 @@
1
+ export var DisputeStage;
2
+ (function (DisputeStage) {
3
+ DisputeStage["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
4
+ /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
5
+ DisputeStage["NOTIFICATION_OF_FRAUD"] = "NOTIFICATION_OF_FRAUD";
6
+ /** Request for Information / Inquiry */
7
+ DisputeStage["RFI"] = "RFI";
8
+ /** Chargeback */
9
+ DisputeStage["CHARGEBACK"] = "CHARGEBACK";
10
+ })(DisputeStage || (DisputeStage = {}));
11
+ export var DisputeReason;
12
+ (function (DisputeReason) {
13
+ /** Unknown reason */
14
+ DisputeReason["UNKNOWN_DISPUTE_REASON"] = "UNKNOWN_DISPUTE_REASON";
15
+ /** Fraud card */
16
+ DisputeReason["FRAUD_CARD_PRESENT"] = "FRAUD_CARD_PRESENT";
17
+ /** Card absent */
18
+ DisputeReason["FRAUD_CARD_ABSENT"] = "FRAUD_CARD_ABSENT";
19
+ /** DUPLICATE */
20
+ DisputeReason["DUPLICATE_PROCESSING"] = "DUPLICATE_PROCESSING";
21
+ /** Service not provided */
22
+ DisputeReason["SERVICES_NOT_PROVIDED"] = "SERVICES_NOT_PROVIDED";
23
+ /** Canceled Recurring */
24
+ DisputeReason["CANCELED_RECURRING"] = "CANCELED_RECURRING";
25
+ /** Item not as describe */
26
+ DisputeReason["NOT_AS_DESCRIBED"] = "NOT_AS_DESCRIBED";
27
+ /** Counterfeit */
28
+ DisputeReason["COUNTERFEIT"] = "COUNTERFEIT";
29
+ /** Misrepresentation */
30
+ DisputeReason["MISREPRESENTATION"] = "MISREPRESENTATION";
31
+ /** Canceled */
32
+ DisputeReason["CANCELED"] = "CANCELED";
33
+ /** Other reason */
34
+ DisputeReason["OTHER"] = "OTHER";
35
+ })(DisputeReason || (DisputeReason = {}));
36
+ export var DisputeStatus;
37
+ (function (DisputeStatus) {
38
+ /** Unknown status */
39
+ DisputeStatus["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
40
+ /** Waiting for some merchant action */
41
+ DisputeStatus["WAITING_MERCHANT"] = "WAITING_MERCHANT";
42
+ /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
43
+ DisputeStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
44
+ /** Waiting for some buyer action */
45
+ DisputeStatus["WAITING_BUYER"] = "WAITING_BUYER";
46
+ /** Dispute won */
47
+ DisputeStatus["WON"] = "WON";
48
+ /** Dispute lost */
49
+ DisputeStatus["LOST"] = "LOST";
50
+ })(DisputeStatus || (DisputeStatus = {}));
51
+ export var SellerProtection;
52
+ (function (SellerProtection) {
53
+ SellerProtection["UNKNOWN_SELLER_PROTECTION"] = "UNKNOWN_SELLER_PROTECTION";
54
+ /** Not Eligible */
55
+ SellerProtection["NOT_ELIGIBLE"] = "NOT_ELIGIBLE";
56
+ /** Eligible */
57
+ SellerProtection["ELIGIBLE"] = "ELIGIBLE";
58
+ /** Extended seller protection */
59
+ SellerProtection["EXTENDED"] = "EXTENDED";
60
+ })(SellerProtection || (SellerProtection = {}));
61
+ export var DisputeChannel;
62
+ (function (DisputeChannel) {
63
+ DisputeChannel["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
64
+ /** Internal, the dispute is reviewed by PSP */
65
+ DisputeChannel["INTERNAL"] = "INTERNAL";
66
+ /** External, the dispute is reviewed by bank (or other financial institution) */
67
+ DisputeChannel["EXTERNAL"] = "EXTERNAL";
68
+ })(DisputeChannel || (DisputeChannel = {}));
69
+ export var SortOrder;
70
+ (function (SortOrder) {
71
+ SortOrder["ASC"] = "ASC";
72
+ SortOrder["DESC"] = "DESC";
73
+ })(SortOrder || (SortOrder = {}));
74
+ export var DisputeActionType;
75
+ (function (DisputeActionType) {
76
+ /** Unknown dispute status */
77
+ DisputeActionType["UNKNOWN_DISPUTE_ACTION"] = "UNKNOWN_DISPUTE_ACTION";
78
+ /** Accept dispute */
79
+ DisputeActionType["ACCEPT"] = "ACCEPT";
80
+ /** Submit evidence */
81
+ DisputeActionType["SUBMIT_EVIDENCE"] = "SUBMIT_EVIDENCE";
82
+ })(DisputeActionType || (DisputeActionType = {}));
83
+ export var WebhookIdentityType;
84
+ (function (WebhookIdentityType) {
85
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
86
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
87
+ WebhookIdentityType["MEMBER"] = "MEMBER";
88
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
89
+ WebhookIdentityType["APP"] = "APP";
90
+ })(WebhookIdentityType || (WebhookIdentityType = {}));
91
+ //# sourceMappingURL=payments-disputes-v1-dispute-disputes.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-disputes-v1-dispute-disputes.types.js","sourceRoot":"","sources":["../../../src/payments-disputes-v1-dispute-disputes.types.ts"],"names":[],"mappings":"AAiFA,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iEAAiE;IACjE,+DAA+C,CAAA;IAC/C,wCAAwC;IACxC,2BAAW,CAAA;IACX,iBAAiB;IACjB,yCAAyB,CAAA;AAC3B,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAED,MAAM,CAAN,IAAY,aAuBX;AAvBD,WAAY,aAAa;IACvB,qBAAqB;IACrB,kEAAiD,CAAA;IACjD,iBAAiB;IACjB,0DAAyC,CAAA;IACzC,kBAAkB;IAClB,wDAAuC,CAAA;IACvC,gBAAgB;IAChB,8DAA6C,CAAA;IAC7C,2BAA2B;IAC3B,gEAA+C,CAAA;IAC/C,yBAAyB;IACzB,0DAAyC,CAAA;IACzC,2BAA2B;IAC3B,sDAAqC,CAAA;IACrC,kBAAkB;IAClB,4CAA2B,CAAA;IAC3B,wBAAwB;IACxB,wDAAuC,CAAA;IACvC,eAAe;IACf,sCAAqB,CAAA;IACrB,mBAAmB;IACnB,gCAAe,CAAA;AACjB,CAAC,EAvBW,aAAa,KAAb,aAAa,QAuBxB;AAED,MAAM,CAAN,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,qBAAqB;IACrB,kEAAiD,CAAA;IACjD,uCAAuC;IACvC,sDAAqC,CAAA;IACrC,mFAAmF;IACnF,8CAA6B,CAAA;IAC7B,oCAAoC;IACpC,gDAA+B,CAAA;IAC/B,kBAAkB;IAClB,4BAAW,CAAA;IACX,mBAAmB;IACnB,8BAAa,CAAA;AACf,CAAC,EAbW,aAAa,KAAb,aAAa,QAaxB;AAED,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,2EAAuD,CAAA;IACvD,mBAAmB;IACnB,iDAA6B,CAAA;IAC7B,eAAe;IACf,yCAAqB,CAAA;IACrB,iCAAiC;IACjC,yCAAqB,CAAA;AACvB,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B;AAED,MAAM,CAAN,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,+CAA+C;IAC/C,uCAAqB,CAAA;IACrB,iFAAiF;IACjF,uCAAqB,CAAA;AACvB,CAAC,EANW,cAAc,KAAd,cAAc,QAMzB;AAkFD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA2ED,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,6BAA6B;IAC7B,sEAAiD,CAAA;IACjD,qBAAqB;IACrB,sCAAiB,CAAA;IACjB,sBAAsB;IACtB,wDAAmC,CAAA;AACrC,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B;AAwWD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
@@ -1,5 +1,5 @@
1
1
  /** Dispute. A dispute occurs when an account owner contacts their PSP or bank to contest a payment to you for a number of possible reasons. */
2
- interface Dispute {
2
+ export interface Dispute {
3
3
  /**
4
4
  * Dispute ID
5
5
  * @format GUID
@@ -78,7 +78,7 @@ interface Dispute {
78
78
  /** Tags */
79
79
  tags?: PublicTags;
80
80
  }
81
- declare enum DisputeStage {
81
+ export declare enum DisputeStage {
82
82
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
83
83
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
84
84
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -87,7 +87,7 @@ declare enum DisputeStage {
87
87
  /** Chargeback */
88
88
  CHARGEBACK = "CHARGEBACK"
89
89
  }
90
- declare enum DisputeReason {
90
+ export declare enum DisputeReason {
91
91
  /** Unknown reason */
92
92
  UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
93
93
  /** Fraud card */
@@ -111,7 +111,7 @@ declare enum DisputeReason {
111
111
  /** Other reason */
112
112
  OTHER = "OTHER"
113
113
  }
114
- declare enum DisputeStatus {
114
+ export declare enum DisputeStatus {
115
115
  /** Unknown status */
116
116
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
117
117
  /** Waiting for some merchant action */
@@ -125,7 +125,7 @@ declare enum DisputeStatus {
125
125
  /** Dispute lost */
126
126
  LOST = "LOST"
127
127
  }
128
- declare enum SellerProtection {
128
+ export declare enum SellerProtection {
129
129
  UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
130
130
  /** Not Eligible */
131
131
  NOT_ELIGIBLE = "NOT_ELIGIBLE",
@@ -134,14 +134,14 @@ declare enum SellerProtection {
134
134
  /** Extended seller protection */
135
135
  EXTENDED = "EXTENDED"
136
136
  }
137
- declare enum DisputeChannel {
137
+ export declare enum DisputeChannel {
138
138
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
139
139
  /** Internal, the dispute is reviewed by PSP */
140
140
  INTERNAL = "INTERNAL",
141
141
  /** External, the dispute is reviewed by bank (or other financial institution) */
142
142
  EXTERNAL = "EXTERNAL"
143
143
  }
144
- interface ExtendedFields {
144
+ export interface ExtendedFields {
145
145
  /**
146
146
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
147
147
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -152,11 +152,11 @@ interface ExtendedFields {
152
152
  */
153
153
  namespaces?: Record<string, Record<string, any>>;
154
154
  }
155
- interface PublicTags {
155
+ export interface PublicTags {
156
156
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
157
157
  tags?: TagList;
158
158
  }
159
- interface TagList {
159
+ export interface TagList {
160
160
  /**
161
161
  * List of tag IDs
162
162
  * @maxSize 100
@@ -164,22 +164,22 @@ interface TagList {
164
164
  */
165
165
  tagIds?: string[];
166
166
  }
167
- interface GetDisputeRequest {
167
+ export interface GetDisputeRequest {
168
168
  /**
169
169
  * ID of the Dispute to retrieve.
170
170
  * @format GUID
171
171
  */
172
172
  disputeId: string;
173
173
  }
174
- interface GetDisputeResponse {
174
+ export interface GetDisputeResponse {
175
175
  /** The requested Dispute. */
176
176
  dispute?: Dispute;
177
177
  }
178
- interface QueryDisputesRequest {
178
+ export interface QueryDisputesRequest {
179
179
  /** WQL expression. */
180
180
  query?: CursorQuery;
181
181
  }
182
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
182
+ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
183
183
  /** 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`. */
184
184
  cursorPaging?: CursorPaging;
185
185
  /**
@@ -199,11 +199,11 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
199
199
  sort?: Sorting[];
200
200
  }
201
201
  /** @oneof */
202
- interface CursorQueryPagingMethodOneOf {
202
+ export interface CursorQueryPagingMethodOneOf {
203
203
  /** 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`. */
204
204
  cursorPaging?: CursorPaging;
205
205
  }
206
- interface Sorting {
206
+ export interface Sorting {
207
207
  /**
208
208
  * Name of the field to sort by.
209
209
  * @maxLength 512
@@ -212,11 +212,11 @@ interface Sorting {
212
212
  /** Sort order. */
213
213
  order?: SortOrder;
214
214
  }
215
- declare enum SortOrder {
215
+ export declare enum SortOrder {
216
216
  ASC = "ASC",
217
217
  DESC = "DESC"
218
218
  }
219
- interface CursorPaging {
219
+ export interface CursorPaging {
220
220
  /**
221
221
  * Maximum number of items to return in the results.
222
222
  * @max 100
@@ -231,13 +231,13 @@ interface CursorPaging {
231
231
  */
232
232
  cursor?: string | null;
233
233
  }
234
- interface QueryDisputesResponse {
234
+ export interface QueryDisputesResponse {
235
235
  /** List of Disputes. */
236
236
  disputes?: Dispute[];
237
237
  /** Paging metadata */
238
238
  pagingMetadata?: CursorPagingMetadata;
239
239
  }
240
- interface CursorPagingMetadata {
240
+ export interface CursorPagingMetadata {
241
241
  /** Number of items returned in the response. */
242
242
  count?: number | null;
243
243
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -250,7 +250,7 @@ interface CursorPagingMetadata {
250
250
  */
251
251
  hasNext?: boolean | null;
252
252
  }
253
- interface Cursors {
253
+ export interface Cursors {
254
254
  /**
255
255
  * Cursor string pointing to the next page in the list of results.
256
256
  * @maxLength 16000
@@ -262,27 +262,27 @@ interface Cursors {
262
262
  */
263
263
  prev?: string | null;
264
264
  }
265
- interface GetDisputeActionsRequest {
265
+ export interface GetDisputeActionsRequest {
266
266
  /**
267
267
  * Dispute ID
268
268
  * @format GUID
269
269
  */
270
270
  disputeId: string;
271
271
  }
272
- interface GetDisputeActionsResponse {
272
+ export interface GetDisputeActionsResponse {
273
273
  /**
274
274
  * Dispute actions
275
275
  * @maxSize 20
276
276
  */
277
277
  actions?: DisputeAction[];
278
278
  }
279
- interface DisputeAction {
279
+ export interface DisputeAction {
280
280
  /** Dispute Action type */
281
281
  type?: DisputeActionType;
282
282
  /** The latest date and time until which the action can be performed */
283
283
  dueDate?: Date | null;
284
284
  }
285
- declare enum DisputeActionType {
285
+ export declare enum DisputeActionType {
286
286
  /** Unknown dispute status */
287
287
  UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
288
288
  /** Accept dispute */
@@ -290,29 +290,29 @@ declare enum DisputeActionType {
290
290
  /** Submit evidence */
291
291
  SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
292
292
  }
293
- interface AcceptDisputeRequest {
293
+ export interface AcceptDisputeRequest {
294
294
  /**
295
295
  * Dispute ID
296
296
  * @format GUID
297
297
  */
298
298
  disputeId: string;
299
299
  }
300
- interface AcceptDisputeResponse {
300
+ export interface AcceptDisputeResponse {
301
301
  /** Dispute */
302
302
  dispute?: Dispute;
303
303
  }
304
- interface SubmitDisputeEvidenceRequest {
304
+ export interface SubmitDisputeEvidenceRequest {
305
305
  /**
306
306
  * Dispute ID
307
307
  * @format GUID
308
308
  */
309
309
  disputeId: string;
310
310
  }
311
- interface SubmitDisputeEvidenceResponse {
311
+ export interface SubmitDisputeEvidenceResponse {
312
312
  /** Dispute */
313
313
  dispute?: Dispute;
314
314
  }
315
- interface CreateDisputeManuallyRequest {
315
+ export interface CreateDisputeManuallyRequest {
316
316
  /**
317
317
  * Dispute Id
318
318
  * @format GUID
@@ -367,9 +367,9 @@ interface CreateDisputeManuallyRequest {
367
367
  /** Is charge refundable */
368
368
  chargeRefundable?: boolean | null;
369
369
  }
370
- interface CreateDisputeManuallyResponse {
370
+ export interface CreateDisputeManuallyResponse {
371
371
  }
372
- interface ChangeDisputeStatusManuallyRequest {
372
+ export interface ChangeDisputeStatusManuallyRequest {
373
373
  /**
374
374
  * Dispute ID
375
375
  * @format GUID
@@ -380,9 +380,9 @@ interface ChangeDisputeStatusManuallyRequest {
380
380
  /** Dispute status based on provider dispute status */
381
381
  status?: DisputeStatus;
382
382
  }
383
- interface ChangeDisputeStatusManuallyResponse {
383
+ export interface ChangeDisputeStatusManuallyResponse {
384
384
  }
385
- interface BulkUpdateDisputeTagsRequest {
385
+ export interface BulkUpdateDisputeTagsRequest {
386
386
  /**
387
387
  * List of NileProtoTagsEntities that their tags will update.
388
388
  * @minSize 1
@@ -417,11 +417,11 @@ interface BulkUpdateDisputeTagsRequest {
417
417
  * }
418
418
  * }
419
419
  */
420
- interface Tags {
420
+ export interface Tags {
421
421
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
422
422
  tags?: TagsTagList;
423
423
  }
424
- interface TagsTagList {
424
+ export interface TagsTagList {
425
425
  /**
426
426
  * List of tag IDs
427
427
  * @maxSize 100
@@ -429,7 +429,7 @@ interface TagsTagList {
429
429
  */
430
430
  tagIds?: string[];
431
431
  }
432
- interface BulkUpdateDisputeTagsResponse {
432
+ export interface BulkUpdateDisputeTagsResponse {
433
433
  /**
434
434
  * Results
435
435
  * @minSize 1
@@ -439,7 +439,7 @@ interface BulkUpdateDisputeTagsResponse {
439
439
  /** Metadata regarding the bulk update operation */
440
440
  bulkActionMetadata?: BulkActionMetadata;
441
441
  }
442
- interface ItemMetadata {
442
+ export interface ItemMetadata {
443
443
  /**
444
444
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
445
445
  * @format GUID
@@ -452,7 +452,7 @@ interface ItemMetadata {
452
452
  /** Details about the error in case of failure. */
453
453
  error?: ApplicationError;
454
454
  }
455
- interface ApplicationError {
455
+ export interface ApplicationError {
456
456
  /** Error code. */
457
457
  code?: string;
458
458
  /** Description of the error. */
@@ -460,11 +460,11 @@ interface ApplicationError {
460
460
  /** Data related to the error. */
461
461
  data?: Record<string, any> | null;
462
462
  }
463
- interface BulkUpdateDisputeTagsResult {
463
+ export interface BulkUpdateDisputeTagsResult {
464
464
  /** Metadata regarding the specific single update operation */
465
465
  itemMetadata?: ItemMetadata;
466
466
  }
467
- interface BulkActionMetadata {
467
+ export interface BulkActionMetadata {
468
468
  /** Number of items that were successfully processed. */
469
469
  totalSuccesses?: number;
470
470
  /** Number of items that couldn't be processed. */
@@ -472,7 +472,7 @@ interface BulkActionMetadata {
472
472
  /** Number of failures without details because detailed failure threshold was exceeded. */
473
473
  undetailedFailures?: number;
474
474
  }
475
- interface BulkUpdateDisputeTagsByFilterRequest {
475
+ export interface BulkUpdateDisputeTagsByFilterRequest {
476
476
  /** Filter */
477
477
  filter: Record<string, any> | null;
478
478
  /** List of Tags to assign */
@@ -480,14 +480,14 @@ interface BulkUpdateDisputeTagsByFilterRequest {
480
480
  /** List of Tags to unAssign */
481
481
  unassignTags?: Tags;
482
482
  }
483
- interface BulkUpdateDisputeTagsByFilterResponse {
483
+ export interface BulkUpdateDisputeTagsByFilterResponse {
484
484
  /**
485
485
  * Job ID
486
486
  * @format GUID
487
487
  */
488
488
  jobId?: string;
489
489
  }
490
- interface DomainEvent extends DomainEventBodyOneOf {
490
+ export interface DomainEvent extends DomainEventBodyOneOf {
491
491
  createdEvent?: EntityCreatedEvent;
492
492
  updatedEvent?: EntityUpdatedEvent;
493
493
  deletedEvent?: EntityDeletedEvent;
@@ -530,19 +530,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
530
530
  entityEventSequence?: string | null;
531
531
  }
532
532
  /** @oneof */
533
- interface DomainEventBodyOneOf {
533
+ export interface DomainEventBodyOneOf {
534
534
  createdEvent?: EntityCreatedEvent;
535
535
  updatedEvent?: EntityUpdatedEvent;
536
536
  deletedEvent?: EntityDeletedEvent;
537
537
  actionEvent?: ActionEvent;
538
538
  }
539
- interface EntityCreatedEvent {
539
+ export interface EntityCreatedEvent {
540
540
  entity?: string;
541
541
  }
542
- interface RestoreInfo {
542
+ export interface RestoreInfo {
543
543
  deletedDate?: Date | null;
544
544
  }
545
- interface EntityUpdatedEvent {
545
+ export interface EntityUpdatedEvent {
546
546
  /**
547
547
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
548
548
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -550,14 +550,14 @@ interface EntityUpdatedEvent {
550
550
  */
551
551
  currentEntity?: string;
552
552
  }
553
- interface EntityDeletedEvent {
553
+ export interface EntityDeletedEvent {
554
554
  /** Entity that was deleted */
555
555
  deletedEntity?: string | null;
556
556
  }
557
- interface ActionEvent {
557
+ export interface ActionEvent {
558
558
  body?: string;
559
559
  }
560
- interface MessageEnvelope {
560
+ export interface MessageEnvelope {
561
561
  /**
562
562
  * App instance ID.
563
563
  * @format GUID
@@ -573,7 +573,7 @@ interface MessageEnvelope {
573
573
  /** Stringify payload. */
574
574
  data?: string;
575
575
  }
576
- interface IdentificationData extends IdentificationDataIdOneOf {
576
+ export interface IdentificationData extends IdentificationDataIdOneOf {
577
577
  /**
578
578
  * ID of a site visitor that has not logged in to the site.
579
579
  * @format GUID
@@ -598,7 +598,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
598
598
  identityType?: WebhookIdentityType;
599
599
  }
600
600
  /** @oneof */
601
- interface IdentificationDataIdOneOf {
601
+ export interface IdentificationDataIdOneOf {
602
602
  /**
603
603
  * ID of a site visitor that has not logged in to the site.
604
604
  * @format GUID
@@ -620,7 +620,7 @@ interface IdentificationDataIdOneOf {
620
620
  */
621
621
  appId?: string;
622
622
  }
623
- declare enum WebhookIdentityType {
623
+ export declare enum WebhookIdentityType {
624
624
  UNKNOWN = "UNKNOWN",
625
625
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
626
626
  MEMBER = "MEMBER",
@@ -634,13 +634,13 @@ interface QueryCursorResult {
634
634
  length: number;
635
635
  pageSize: number;
636
636
  }
637
- interface DisputesQueryResult extends QueryCursorResult {
637
+ export interface DisputesQueryResult extends QueryCursorResult {
638
638
  items: Dispute[];
639
639
  query: DisputesQueryBuilder;
640
640
  next: () => Promise<DisputesQueryResult>;
641
641
  prev: () => Promise<DisputesQueryResult>;
642
642
  }
643
- interface DisputesQueryBuilder {
643
+ export interface DisputesQueryBuilder {
644
644
  /** @param propertyName - Property whose value is compared with `value`.
645
645
  * @param value - Value to compare against.
646
646
  * @documentationMaturity preview
@@ -704,17 +704,16 @@ interface DisputesQueryBuilder {
704
704
  /** @documentationMaturity preview */
705
705
  find: () => Promise<DisputesQueryResult>;
706
706
  }
707
- interface BulkUpdateDisputeTagsOptions {
707
+ export interface BulkUpdateDisputeTagsOptions {
708
708
  /** List of Tags to assign */
709
709
  assignTags?: Tags;
710
710
  /** List of Tags to unAssign */
711
711
  unassignTags?: Tags;
712
712
  }
713
- interface BulkUpdateDisputeTagsByFilterOptions {
713
+ export interface BulkUpdateDisputeTagsByFilterOptions {
714
714
  /** List of Tags to assign */
715
715
  assignTags?: Tags;
716
716
  /** List of Tags to unAssign */
717
717
  unassignTags?: Tags;
718
718
  }
719
-
720
- export { type AcceptDisputeRequest, type AcceptDisputeResponse, type ActionEvent, type ApplicationError, type BulkActionMetadata, 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, DisputeChannel, DisputeReason, DisputeStage, DisputeStatus, 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, SortOrder, type Sorting, type SubmitDisputeEvidenceRequest, type SubmitDisputeEvidenceResponse, type TagList, type Tags, type TagsTagList, WebhookIdentityType };
719
+ export {};