@wix/auto_sdk_payments_dispute-history-records 1.0.6 → 1.0.8

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 (131) 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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +2 -0
  11. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +20 -0
  12. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
  13. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
  14. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +127 -0
  15. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
  16. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
  17. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +104 -0
  18. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
  19. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +4 -0
  20. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +40 -0
  21. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
  22. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
  23. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +50 -0
  24. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
  25. package/build/{index.d.mts → cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +43 -44
  26. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +244 -0
  27. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +2 -0
  38. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +12 -0
  39. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
  40. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
  41. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +120 -0
  42. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
  43. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
  44. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +74 -0
  45. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
  46. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +4 -0
  47. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +28 -0
  48. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
  49. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
  50. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +47 -0
  51. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
  52. package/build/{index.d.ts → es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +43 -44
  53. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +214 -0
  54. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
  55. package/build/internal/cjs/index.d.ts +1 -0
  56. package/build/internal/cjs/index.js +18 -0
  57. package/build/internal/cjs/index.js.map +1 -0
  58. package/build/internal/cjs/index.typings.d.ts +1 -0
  59. package/build/internal/cjs/index.typings.js +18 -0
  60. package/build/internal/cjs/index.typings.js.map +1 -0
  61. package/build/internal/cjs/meta.d.ts +1 -0
  62. package/build/internal/cjs/meta.js +18 -0
  63. package/build/internal/cjs/meta.js.map +1 -0
  64. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +12 -0
  65. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +20 -0
  66. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
  67. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
  68. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +127 -0
  69. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
  70. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
  71. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +104 -0
  72. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
  73. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +45 -0
  74. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +40 -0
  75. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
  76. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
  77. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +50 -0
  78. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
  79. package/build/internal/{payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.mts → cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +87 -44
  80. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +244 -0
  81. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
  82. package/build/internal/es/index.d.ts +1 -0
  83. package/build/internal/es/index.js +2 -0
  84. package/build/internal/es/index.js.map +1 -0
  85. package/build/internal/es/index.typings.d.ts +1 -0
  86. package/build/internal/es/index.typings.js +2 -0
  87. package/build/internal/es/index.typings.js.map +1 -0
  88. package/build/internal/es/meta.d.ts +1 -0
  89. package/build/internal/es/meta.js +2 -0
  90. package/build/internal/es/meta.js.map +1 -0
  91. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +12 -0
  92. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +12 -0
  93. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +1 -0
  94. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +16 -0
  95. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +120 -0
  96. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +1 -0
  97. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +18 -0
  98. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +74 -0
  99. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +1 -0
  100. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +45 -0
  101. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +28 -0
  102. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +1 -0
  103. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +458 -0
  104. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +47 -0
  105. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +1 -0
  106. package/build/internal/{payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.ts → es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts} +87 -44
  107. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +214 -0
  108. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +1 -0
  109. package/package.json +11 -12
  110. package/build/index.js +0 -386
  111. package/build/index.js.map +0 -1
  112. package/build/index.mjs +0 -354
  113. package/build/index.mjs.map +0 -1
  114. package/build/internal/index.d.mts +0 -54
  115. package/build/internal/index.d.ts +0 -54
  116. package/build/internal/index.js +0 -386
  117. package/build/internal/index.js.map +0 -1
  118. package/build/internal/index.mjs +0 -354
  119. package/build/internal/index.mjs.map +0 -1
  120. package/build/internal/meta.d.mts +0 -335
  121. package/build/internal/meta.d.ts +0 -335
  122. package/build/internal/meta.js +0 -238
  123. package/build/internal/meta.js.map +0 -1
  124. package/build/internal/meta.mjs +0 -208
  125. package/build/internal/meta.mjs.map +0 -1
  126. package/build/meta.d.mts +0 -335
  127. package/build/meta.d.ts +0 -335
  128. package/build/meta.js +0 -238
  129. package/build/meta.js.map +0 -1
  130. package/build/meta.mjs +0 -208
  131. package/build/meta.mjs.map +0 -1
@@ -1,335 +0,0 @@
1
- import { G as GetDisputeHistoryRecordRequest$1, i as GetDisputeHistoryRecordResponse$1, Q as QueryDisputeHistoryRecordsRequest$1, m as QueryDisputeHistoryRecordsResponse$1, v as BulkUpdateDisputeHistoryRecordTagsRequest$1, b as BulkUpdateDisputeHistoryRecordTagsResponse$1, z as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, d as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.mjs';
2
-
3
- /** A DisputeHistoryRecord */
4
- interface DisputeHistoryRecord {
5
- /**
6
- * DisputeHistoryRecord ID.
7
- * @format GUID
8
- * @readonly
9
- * @immutable
10
- */
11
- id?: string | null;
12
- /**
13
- * Revision number
14
- * @readonly
15
- */
16
- revision?: string | null;
17
- /**
18
- * Date and time the DisputeHistoryRecord was created.
19
- * @readonly
20
- * @immutable
21
- */
22
- createdDate?: Date | null;
23
- /**
24
- * Date and time the DisputeHistoryRecord was last updated.
25
- * @readonly
26
- * @immutable
27
- */
28
- updatedDate?: Date | null;
29
- /**
30
- * Dispute ID
31
- * @format GUID
32
- * @immutable
33
- */
34
- disputeId?: string;
35
- /**
36
- * Dispute stage (RFI, Chargeback, so on)
37
- * @readonly
38
- * @immutable
39
- */
40
- stage?: DisputeStage;
41
- /**
42
- * Dispute Status
43
- * @readonly
44
- * @immutable
45
- */
46
- status?: DisputeStatus;
47
- /**
48
- * Due Date
49
- * @readonly
50
- * @immutable
51
- */
52
- dueDate?: Date | null;
53
- /**
54
- * Charge ID
55
- * @format GUID
56
- * @readonly
57
- * @immutable
58
- */
59
- chargeId?: string;
60
- /**
61
- * Dispute Channel
62
- * Internal - this dispute is created on provider side
63
- * External - this dispute is created on bank side
64
- * @readonly
65
- * @immutable
66
- */
67
- channel?: DisputeChannel;
68
- /** Data Extensions */
69
- extendedFields?: ExtendedFields;
70
- /** Tags */
71
- tags?: Tags;
72
- }
73
- declare enum DisputeStage {
74
- UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
75
- /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
76
- NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
77
- /** Request for Information / Inquiry */
78
- RFI = "RFI",
79
- /** Chargeback */
80
- CHARGEBACK = "CHARGEBACK"
81
- }
82
- declare enum DisputeStatus {
83
- /** Unknown status */
84
- UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
85
- /** Waiting for some merchant action */
86
- WAITING_MERCHANT = "WAITING_MERCHANT",
87
- /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
88
- UNDER_REVIEW = "UNDER_REVIEW",
89
- /** Waiting for some buyer action */
90
- WAITING_BUYER = "WAITING_BUYER",
91
- /** Dispute won */
92
- WON = "WON",
93
- /** Dispute lost */
94
- LOST = "LOST"
95
- }
96
- declare enum DisputeChannel {
97
- UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
98
- /** Internal, the dispute is reviewed by PSP */
99
- INTERNAL = "INTERNAL",
100
- /** External, the dispute is reviewed by bank (or other financial institution) */
101
- EXTERNAL = "EXTERNAL"
102
- }
103
- interface ExtendedFields {
104
- /**
105
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
106
- * The value of each key is structured according to the schema defined when the extended fields were configured.
107
- *
108
- * You can only access fields for which you have the appropriate permissions.
109
- *
110
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
111
- */
112
- namespaces?: Record<string, Record<string, any>>;
113
- }
114
- /**
115
- * Common object for tags.
116
- * Should be use as in this example:
117
- * message Foo {
118
- * string id = 1;
119
- * ...
120
- * Tags tags = 5
121
- * }
122
- *
123
- * example of taggable entity
124
- * {
125
- * id: "123"
126
- * tags: {
127
- * tags: {
128
- * tag_ids:["11","22"]
129
- * },
130
- * private_tags: {
131
- * tag_ids: ["33", "44"]
132
- * }
133
- * }
134
- * }
135
- */
136
- interface Tags {
137
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
138
- tags?: TagList;
139
- }
140
- interface TagList {
141
- /**
142
- * List of tag IDs
143
- * @maxSize 100
144
- * @maxLength 5
145
- */
146
- tagIds?: string[];
147
- }
148
- interface GetDisputeHistoryRecordRequest {
149
- /**
150
- * ID of the DisputeHistoryRecord to retrieve.
151
- * @format GUID
152
- */
153
- disputeHistoryRecordId: string;
154
- }
155
- interface GetDisputeHistoryRecordResponse {
156
- /** The requested DisputeHistoryRecord. */
157
- disputeHistoryRecord?: DisputeHistoryRecord;
158
- }
159
- interface QueryDisputeHistoryRecordsRequest {
160
- /** WQL expression. */
161
- query?: CursorQuery;
162
- }
163
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
164
- /** 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`. */
165
- cursorPaging?: CursorPaging;
166
- /**
167
- * Filter object in the following format:
168
- * `"filter" : {
169
- * "fieldName1": "value1",
170
- * "fieldName2":{"$operator":"value2"}
171
- * }`
172
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
173
- */
174
- filter?: Record<string, any> | null;
175
- /**
176
- * Sort object in the following format:
177
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
178
- * @maxSize 5
179
- */
180
- sort?: Sorting[];
181
- }
182
- /** @oneof */
183
- interface CursorQueryPagingMethodOneOf {
184
- /** 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`. */
185
- cursorPaging?: CursorPaging;
186
- }
187
- interface Sorting {
188
- /**
189
- * Name of the field to sort by.
190
- * @maxLength 512
191
- */
192
- fieldName?: string;
193
- /** Sort order. */
194
- order?: SortOrder;
195
- }
196
- declare enum SortOrder {
197
- ASC = "ASC",
198
- DESC = "DESC"
199
- }
200
- interface CursorPaging {
201
- /**
202
- * Maximum number of items to return in the results.
203
- * @max 100
204
- */
205
- limit?: number | null;
206
- /**
207
- * Pointer to the next or previous page in the list of results.
208
- *
209
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
210
- * Not relevant for the first request.
211
- * @maxLength 16000
212
- */
213
- cursor?: string | null;
214
- }
215
- interface QueryDisputeHistoryRecordsResponse {
216
- /** List of DisputeHistoryRecords. */
217
- disputeHistoryRecords?: DisputeHistoryRecord[];
218
- /** Paging metadata */
219
- pagingMetadata?: CursorPagingMetadata;
220
- }
221
- interface CursorPagingMetadata {
222
- /** Number of items returned in the response. */
223
- count?: number | null;
224
- /** Cursor strings that point to the next page, previous page, or both. */
225
- cursors?: Cursors;
226
- /**
227
- * Whether there are more pages to retrieve following the current page.
228
- *
229
- * + `true`: Another page of results can be retrieved.
230
- * + `false`: This is the last page.
231
- */
232
- hasNext?: boolean | null;
233
- }
234
- interface Cursors {
235
- /**
236
- * Cursor string pointing to the next page in the list of results.
237
- * @maxLength 16000
238
- */
239
- next?: string | null;
240
- /**
241
- * Cursor pointing to the previous page in the list of results.
242
- * @maxLength 16000
243
- */
244
- prev?: string | null;
245
- }
246
- interface BulkUpdateDisputeHistoryRecordTagsRequest {
247
- /**
248
- * List of NileProtoTagsEntities that their tags will update.
249
- * @minSize 1
250
- * @maxSize 100
251
- * @format GUID
252
- */
253
- ids: string[];
254
- /** List of Tags to assign */
255
- assignTags?: Tags;
256
- /** List of Tags to unAssign */
257
- unassignTags?: Tags;
258
- }
259
- interface BulkUpdateDisputeHistoryRecordTagsResponse {
260
- /**
261
- * Results
262
- * @minSize 1
263
- * @maxSize 100
264
- */
265
- results?: BulkUpdateDisputeHistoryRecordTagsResult[];
266
- /** Metadata regarding the bulk update operation */
267
- bulkActionMetadata?: BulkActionMetadata;
268
- }
269
- interface ItemMetadata {
270
- /**
271
- * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
272
- * @format GUID
273
- */
274
- id?: string | null;
275
- /** Index of the item within the request array. Allows for correlation between request and response items. */
276
- originalIndex?: number;
277
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
278
- success?: boolean;
279
- /** Details about the error in case of failure. */
280
- error?: ApplicationError;
281
- }
282
- interface ApplicationError {
283
- /** Error code. */
284
- code?: string;
285
- /** Description of the error. */
286
- description?: string;
287
- /** Data related to the error. */
288
- data?: Record<string, any> | null;
289
- }
290
- interface BulkUpdateDisputeHistoryRecordTagsResult {
291
- /** Metadata regarding the specific single update operation */
292
- itemMetadata?: ItemMetadata;
293
- }
294
- interface BulkActionMetadata {
295
- /** Number of items that were successfully processed. */
296
- totalSuccesses?: number;
297
- /** Number of items that couldn't be processed. */
298
- totalFailures?: number;
299
- /** Number of failures without details because detailed failure threshold was exceeded. */
300
- undetailedFailures?: number;
301
- }
302
- interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
303
- /** Filter */
304
- filter: Record<string, any> | null;
305
- /** List of Tags to assign */
306
- assignTags?: Tags;
307
- /** List of Tags to unAssign */
308
- unassignTags?: Tags;
309
- }
310
- interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
311
- /**
312
- * Job ID
313
- * @format GUID
314
- */
315
- jobId?: string;
316
- }
317
-
318
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
319
- getUrl: (context: any) => string;
320
- httpMethod: K;
321
- path: string;
322
- pathParams: M;
323
- __requestType: T;
324
- __originalRequestType: S;
325
- __responseType: Q;
326
- __originalResponseType: R;
327
- };
328
- declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
329
- disputeHistoryRecordId: string;
330
- }, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
331
- declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
332
- declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
333
- declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
334
-
335
- export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
@@ -1,335 +0,0 @@
1
- import { G as GetDisputeHistoryRecordRequest$1, i as GetDisputeHistoryRecordResponse$1, Q as QueryDisputeHistoryRecordsRequest$1, m as QueryDisputeHistoryRecordsResponse$1, v as BulkUpdateDisputeHistoryRecordTagsRequest$1, b as BulkUpdateDisputeHistoryRecordTagsResponse$1, z as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, d as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.js';
2
-
3
- /** A DisputeHistoryRecord */
4
- interface DisputeHistoryRecord {
5
- /**
6
- * DisputeHistoryRecord ID.
7
- * @format GUID
8
- * @readonly
9
- * @immutable
10
- */
11
- id?: string | null;
12
- /**
13
- * Revision number
14
- * @readonly
15
- */
16
- revision?: string | null;
17
- /**
18
- * Date and time the DisputeHistoryRecord was created.
19
- * @readonly
20
- * @immutable
21
- */
22
- createdDate?: Date | null;
23
- /**
24
- * Date and time the DisputeHistoryRecord was last updated.
25
- * @readonly
26
- * @immutable
27
- */
28
- updatedDate?: Date | null;
29
- /**
30
- * Dispute ID
31
- * @format GUID
32
- * @immutable
33
- */
34
- disputeId?: string;
35
- /**
36
- * Dispute stage (RFI, Chargeback, so on)
37
- * @readonly
38
- * @immutable
39
- */
40
- stage?: DisputeStage;
41
- /**
42
- * Dispute Status
43
- * @readonly
44
- * @immutable
45
- */
46
- status?: DisputeStatus;
47
- /**
48
- * Due Date
49
- * @readonly
50
- * @immutable
51
- */
52
- dueDate?: Date | null;
53
- /**
54
- * Charge ID
55
- * @format GUID
56
- * @readonly
57
- * @immutable
58
- */
59
- chargeId?: string;
60
- /**
61
- * Dispute Channel
62
- * Internal - this dispute is created on provider side
63
- * External - this dispute is created on bank side
64
- * @readonly
65
- * @immutable
66
- */
67
- channel?: DisputeChannel;
68
- /** Data Extensions */
69
- extendedFields?: ExtendedFields;
70
- /** Tags */
71
- tags?: Tags;
72
- }
73
- declare enum DisputeStage {
74
- UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
75
- /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
76
- NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
77
- /** Request for Information / Inquiry */
78
- RFI = "RFI",
79
- /** Chargeback */
80
- CHARGEBACK = "CHARGEBACK"
81
- }
82
- declare enum DisputeStatus {
83
- /** Unknown status */
84
- UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
85
- /** Waiting for some merchant action */
86
- WAITING_MERCHANT = "WAITING_MERCHANT",
87
- /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
88
- UNDER_REVIEW = "UNDER_REVIEW",
89
- /** Waiting for some buyer action */
90
- WAITING_BUYER = "WAITING_BUYER",
91
- /** Dispute won */
92
- WON = "WON",
93
- /** Dispute lost */
94
- LOST = "LOST"
95
- }
96
- declare enum DisputeChannel {
97
- UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
98
- /** Internal, the dispute is reviewed by PSP */
99
- INTERNAL = "INTERNAL",
100
- /** External, the dispute is reviewed by bank (or other financial institution) */
101
- EXTERNAL = "EXTERNAL"
102
- }
103
- interface ExtendedFields {
104
- /**
105
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
106
- * The value of each key is structured according to the schema defined when the extended fields were configured.
107
- *
108
- * You can only access fields for which you have the appropriate permissions.
109
- *
110
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
111
- */
112
- namespaces?: Record<string, Record<string, any>>;
113
- }
114
- /**
115
- * Common object for tags.
116
- * Should be use as in this example:
117
- * message Foo {
118
- * string id = 1;
119
- * ...
120
- * Tags tags = 5
121
- * }
122
- *
123
- * example of taggable entity
124
- * {
125
- * id: "123"
126
- * tags: {
127
- * tags: {
128
- * tag_ids:["11","22"]
129
- * },
130
- * private_tags: {
131
- * tag_ids: ["33", "44"]
132
- * }
133
- * }
134
- * }
135
- */
136
- interface Tags {
137
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
138
- tags?: TagList;
139
- }
140
- interface TagList {
141
- /**
142
- * List of tag IDs
143
- * @maxSize 100
144
- * @maxLength 5
145
- */
146
- tagIds?: string[];
147
- }
148
- interface GetDisputeHistoryRecordRequest {
149
- /**
150
- * ID of the DisputeHistoryRecord to retrieve.
151
- * @format GUID
152
- */
153
- disputeHistoryRecordId: string;
154
- }
155
- interface GetDisputeHistoryRecordResponse {
156
- /** The requested DisputeHistoryRecord. */
157
- disputeHistoryRecord?: DisputeHistoryRecord;
158
- }
159
- interface QueryDisputeHistoryRecordsRequest {
160
- /** WQL expression. */
161
- query?: CursorQuery;
162
- }
163
- interface CursorQuery extends CursorQueryPagingMethodOneOf {
164
- /** 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`. */
165
- cursorPaging?: CursorPaging;
166
- /**
167
- * Filter object in the following format:
168
- * `"filter" : {
169
- * "fieldName1": "value1",
170
- * "fieldName2":{"$operator":"value2"}
171
- * }`
172
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
173
- */
174
- filter?: Record<string, any> | null;
175
- /**
176
- * Sort object in the following format:
177
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
178
- * @maxSize 5
179
- */
180
- sort?: Sorting[];
181
- }
182
- /** @oneof */
183
- interface CursorQueryPagingMethodOneOf {
184
- /** 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`. */
185
- cursorPaging?: CursorPaging;
186
- }
187
- interface Sorting {
188
- /**
189
- * Name of the field to sort by.
190
- * @maxLength 512
191
- */
192
- fieldName?: string;
193
- /** Sort order. */
194
- order?: SortOrder;
195
- }
196
- declare enum SortOrder {
197
- ASC = "ASC",
198
- DESC = "DESC"
199
- }
200
- interface CursorPaging {
201
- /**
202
- * Maximum number of items to return in the results.
203
- * @max 100
204
- */
205
- limit?: number | null;
206
- /**
207
- * Pointer to the next or previous page in the list of results.
208
- *
209
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
210
- * Not relevant for the first request.
211
- * @maxLength 16000
212
- */
213
- cursor?: string | null;
214
- }
215
- interface QueryDisputeHistoryRecordsResponse {
216
- /** List of DisputeHistoryRecords. */
217
- disputeHistoryRecords?: DisputeHistoryRecord[];
218
- /** Paging metadata */
219
- pagingMetadata?: CursorPagingMetadata;
220
- }
221
- interface CursorPagingMetadata {
222
- /** Number of items returned in the response. */
223
- count?: number | null;
224
- /** Cursor strings that point to the next page, previous page, or both. */
225
- cursors?: Cursors;
226
- /**
227
- * Whether there are more pages to retrieve following the current page.
228
- *
229
- * + `true`: Another page of results can be retrieved.
230
- * + `false`: This is the last page.
231
- */
232
- hasNext?: boolean | null;
233
- }
234
- interface Cursors {
235
- /**
236
- * Cursor string pointing to the next page in the list of results.
237
- * @maxLength 16000
238
- */
239
- next?: string | null;
240
- /**
241
- * Cursor pointing to the previous page in the list of results.
242
- * @maxLength 16000
243
- */
244
- prev?: string | null;
245
- }
246
- interface BulkUpdateDisputeHistoryRecordTagsRequest {
247
- /**
248
- * List of NileProtoTagsEntities that their tags will update.
249
- * @minSize 1
250
- * @maxSize 100
251
- * @format GUID
252
- */
253
- ids: string[];
254
- /** List of Tags to assign */
255
- assignTags?: Tags;
256
- /** List of Tags to unAssign */
257
- unassignTags?: Tags;
258
- }
259
- interface BulkUpdateDisputeHistoryRecordTagsResponse {
260
- /**
261
- * Results
262
- * @minSize 1
263
- * @maxSize 100
264
- */
265
- results?: BulkUpdateDisputeHistoryRecordTagsResult[];
266
- /** Metadata regarding the bulk update operation */
267
- bulkActionMetadata?: BulkActionMetadata;
268
- }
269
- interface ItemMetadata {
270
- /**
271
- * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
272
- * @format GUID
273
- */
274
- id?: string | null;
275
- /** Index of the item within the request array. Allows for correlation between request and response items. */
276
- originalIndex?: number;
277
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
278
- success?: boolean;
279
- /** Details about the error in case of failure. */
280
- error?: ApplicationError;
281
- }
282
- interface ApplicationError {
283
- /** Error code. */
284
- code?: string;
285
- /** Description of the error. */
286
- description?: string;
287
- /** Data related to the error. */
288
- data?: Record<string, any> | null;
289
- }
290
- interface BulkUpdateDisputeHistoryRecordTagsResult {
291
- /** Metadata regarding the specific single update operation */
292
- itemMetadata?: ItemMetadata;
293
- }
294
- interface BulkActionMetadata {
295
- /** Number of items that were successfully processed. */
296
- totalSuccesses?: number;
297
- /** Number of items that couldn't be processed. */
298
- totalFailures?: number;
299
- /** Number of failures without details because detailed failure threshold was exceeded. */
300
- undetailedFailures?: number;
301
- }
302
- interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
303
- /** Filter */
304
- filter: Record<string, any> | null;
305
- /** List of Tags to assign */
306
- assignTags?: Tags;
307
- /** List of Tags to unAssign */
308
- unassignTags?: Tags;
309
- }
310
- interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
311
- /**
312
- * Job ID
313
- * @format GUID
314
- */
315
- jobId?: string;
316
- }
317
-
318
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
319
- getUrl: (context: any) => string;
320
- httpMethod: K;
321
- path: string;
322
- pathParams: M;
323
- __requestType: T;
324
- __originalRequestType: S;
325
- __responseType: Q;
326
- __originalResponseType: R;
327
- };
328
- declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
329
- disputeHistoryRecordId: string;
330
- }, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
331
- declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
332
- declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
333
- declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
334
-
335
- export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };