@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
@@ -0,0 +1,458 @@
1
+ /** A DisputeHistoryRecord */
2
+ export interface DisputeHistoryRecord {
3
+ /**
4
+ * DisputeHistoryRecord ID.
5
+ * @format GUID
6
+ * @readonly
7
+ * @immutable
8
+ */
9
+ id?: string | null;
10
+ /**
11
+ * Revision number
12
+ * @readonly
13
+ */
14
+ revision?: string | null;
15
+ /**
16
+ * Date and time the DisputeHistoryRecord was created.
17
+ * @readonly
18
+ * @immutable
19
+ */
20
+ createdDate?: Date | null;
21
+ /**
22
+ * Date and time the DisputeHistoryRecord was last updated.
23
+ * @readonly
24
+ * @immutable
25
+ */
26
+ updatedDate?: Date | null;
27
+ /**
28
+ * Dispute ID
29
+ * @format GUID
30
+ * @immutable
31
+ */
32
+ disputeId?: string;
33
+ /**
34
+ * Dispute stage (RFI, Chargeback, so on)
35
+ * @readonly
36
+ * @immutable
37
+ */
38
+ stage?: DisputeStage;
39
+ /**
40
+ * Dispute Status
41
+ * @readonly
42
+ * @immutable
43
+ */
44
+ status?: DisputeStatus;
45
+ /**
46
+ * Due Date
47
+ * @readonly
48
+ * @immutable
49
+ */
50
+ dueDate?: Date | null;
51
+ /**
52
+ * Charge ID
53
+ * @format GUID
54
+ * @readonly
55
+ * @immutable
56
+ */
57
+ chargeId?: string;
58
+ /**
59
+ * Dispute Channel
60
+ * Internal - this dispute is created on provider side
61
+ * External - this dispute is created on bank side
62
+ * @readonly
63
+ * @immutable
64
+ */
65
+ channel?: DisputeChannel;
66
+ /** Data Extensions */
67
+ extendedFields?: ExtendedFields;
68
+ /** Tags */
69
+ tags?: Tags;
70
+ }
71
+ export declare enum DisputeStage {
72
+ UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
73
+ /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
74
+ NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
75
+ /** Request for Information / Inquiry */
76
+ RFI = "RFI",
77
+ /** Chargeback */
78
+ CHARGEBACK = "CHARGEBACK"
79
+ }
80
+ export declare enum DisputeStatus {
81
+ /** Unknown status */
82
+ UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
83
+ /** Waiting for some merchant action */
84
+ WAITING_MERCHANT = "WAITING_MERCHANT",
85
+ /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
86
+ UNDER_REVIEW = "UNDER_REVIEW",
87
+ /** Waiting for some buyer action */
88
+ WAITING_BUYER = "WAITING_BUYER",
89
+ /** Dispute won */
90
+ WON = "WON",
91
+ /** Dispute lost */
92
+ LOST = "LOST"
93
+ }
94
+ export declare enum DisputeChannel {
95
+ UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
96
+ /** Internal, the dispute is reviewed by PSP */
97
+ INTERNAL = "INTERNAL",
98
+ /** External, the dispute is reviewed by bank (or other financial institution) */
99
+ EXTERNAL = "EXTERNAL"
100
+ }
101
+ export interface ExtendedFields {
102
+ /**
103
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
104
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
105
+ *
106
+ * You can only access fields for which you have the appropriate permissions.
107
+ *
108
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
109
+ */
110
+ namespaces?: Record<string, Record<string, any>>;
111
+ }
112
+ /**
113
+ * Common object for tags.
114
+ * Should be use as in this example:
115
+ * message Foo {
116
+ * string id = 1;
117
+ * ...
118
+ * Tags tags = 5
119
+ * }
120
+ *
121
+ * example of taggable entity
122
+ * {
123
+ * id: "123"
124
+ * tags: {
125
+ * tags: {
126
+ * tag_ids:["11","22"]
127
+ * },
128
+ * private_tags: {
129
+ * tag_ids: ["33", "44"]
130
+ * }
131
+ * }
132
+ * }
133
+ */
134
+ export interface Tags {
135
+ /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
136
+ tags?: TagList;
137
+ }
138
+ export interface TagList {
139
+ /**
140
+ * List of tag IDs
141
+ * @maxSize 100
142
+ * @maxLength 5
143
+ */
144
+ tagIds?: string[];
145
+ }
146
+ export interface GetDisputeHistoryRecordRequest {
147
+ /**
148
+ * ID of the DisputeHistoryRecord to retrieve.
149
+ * @format GUID
150
+ */
151
+ disputeHistoryRecordId: string;
152
+ }
153
+ export interface GetDisputeHistoryRecordResponse {
154
+ /** The requested DisputeHistoryRecord. */
155
+ disputeHistoryRecord?: DisputeHistoryRecord;
156
+ }
157
+ export interface QueryDisputeHistoryRecordsRequest {
158
+ /** WQL expression. */
159
+ query?: CursorQuery;
160
+ }
161
+ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
162
+ /** 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`. */
163
+ cursorPaging?: CursorPaging;
164
+ /**
165
+ * Filter object in the following format:
166
+ * `"filter" : {
167
+ * "fieldName1": "value1",
168
+ * "fieldName2":{"$operator":"value2"}
169
+ * }`
170
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
171
+ */
172
+ filter?: Record<string, any> | null;
173
+ /**
174
+ * Sort object in the following format:
175
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
176
+ * @maxSize 5
177
+ */
178
+ sort?: Sorting[];
179
+ }
180
+ /** @oneof */
181
+ export interface CursorQueryPagingMethodOneOf {
182
+ /** 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`. */
183
+ cursorPaging?: CursorPaging;
184
+ }
185
+ export interface Sorting {
186
+ /**
187
+ * Name of the field to sort by.
188
+ * @maxLength 512
189
+ */
190
+ fieldName?: string;
191
+ /** Sort order. */
192
+ order?: SortOrder;
193
+ }
194
+ export declare enum SortOrder {
195
+ ASC = "ASC",
196
+ DESC = "DESC"
197
+ }
198
+ export interface CursorPaging {
199
+ /**
200
+ * Maximum number of items to return in the results.
201
+ * @max 100
202
+ */
203
+ limit?: number | null;
204
+ /**
205
+ * Pointer to the next or previous page in the list of results.
206
+ *
207
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
208
+ * Not relevant for the first request.
209
+ * @maxLength 16000
210
+ */
211
+ cursor?: string | null;
212
+ }
213
+ export interface QueryDisputeHistoryRecordsResponse {
214
+ /** List of DisputeHistoryRecords. */
215
+ disputeHistoryRecords?: DisputeHistoryRecord[];
216
+ /** Paging metadata */
217
+ pagingMetadata?: CursorPagingMetadata;
218
+ }
219
+ export interface CursorPagingMetadata {
220
+ /** Number of items returned in the response. */
221
+ count?: number | null;
222
+ /** Cursor strings that point to the next page, previous page, or both. */
223
+ cursors?: Cursors;
224
+ /**
225
+ * Whether there are more pages to retrieve following the current page.
226
+ *
227
+ * + `true`: Another page of results can be retrieved.
228
+ * + `false`: This is the last page.
229
+ */
230
+ hasNext?: boolean | null;
231
+ }
232
+ export interface Cursors {
233
+ /**
234
+ * Cursor string pointing to the next page in the list of results.
235
+ * @maxLength 16000
236
+ */
237
+ next?: string | null;
238
+ /**
239
+ * Cursor pointing to the previous page in the list of results.
240
+ * @maxLength 16000
241
+ */
242
+ prev?: string | null;
243
+ }
244
+ export interface DomainEvent extends DomainEventBodyOneOf {
245
+ createdEvent?: EntityCreatedEvent;
246
+ updatedEvent?: EntityUpdatedEvent;
247
+ deletedEvent?: EntityDeletedEvent;
248
+ actionEvent?: ActionEvent;
249
+ /**
250
+ * Unique event ID.
251
+ * Allows clients to ignore duplicate webhooks.
252
+ */
253
+ id?: string;
254
+ /**
255
+ * Assumes actions are also always typed to an entity_type
256
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
257
+ */
258
+ entityFqdn?: string;
259
+ /**
260
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
261
+ * This is although the created/updated/deleted notion is duplication of the oneof types
262
+ * Example: created/updated/deleted/started/completed/email_opened
263
+ */
264
+ slug?: string;
265
+ /** ID of the entity associated with the event. */
266
+ entityId?: string;
267
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
268
+ eventTime?: Date | null;
269
+ /**
270
+ * Whether the event was triggered as a result of a privacy regulation application
271
+ * (for example, GDPR).
272
+ */
273
+ triggeredByAnonymizeRequest?: boolean | null;
274
+ /** If present, indicates the action that triggered the event. */
275
+ originatedFrom?: string | null;
276
+ /**
277
+ * A sequence number defining the order of updates to the underlying entity.
278
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
279
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
280
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
281
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
282
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
283
+ */
284
+ entityEventSequence?: string | null;
285
+ }
286
+ /** @oneof */
287
+ export interface DomainEventBodyOneOf {
288
+ createdEvent?: EntityCreatedEvent;
289
+ updatedEvent?: EntityUpdatedEvent;
290
+ deletedEvent?: EntityDeletedEvent;
291
+ actionEvent?: ActionEvent;
292
+ }
293
+ export interface EntityCreatedEvent {
294
+ entityAsJson?: string;
295
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
296
+ restoreInfo?: RestoreInfo;
297
+ }
298
+ export interface RestoreInfo {
299
+ deletedDate?: Date | null;
300
+ }
301
+ export interface EntityUpdatedEvent {
302
+ /**
303
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
304
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
305
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
306
+ */
307
+ currentEntityAsJson?: string;
308
+ }
309
+ export interface EntityDeletedEvent {
310
+ /** Entity that was deleted */
311
+ deletedEntityAsJson?: string | null;
312
+ }
313
+ export interface ActionEvent {
314
+ bodyAsJson?: string;
315
+ }
316
+ export interface Empty {
317
+ }
318
+ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
319
+ /**
320
+ * List of NileProtoTagsEntities that their tags will update.
321
+ * @minSize 1
322
+ * @maxSize 100
323
+ * @format GUID
324
+ */
325
+ ids: string[];
326
+ /** List of Tags to assign */
327
+ assignTags?: Tags;
328
+ /** List of Tags to unAssign */
329
+ unassignTags?: Tags;
330
+ }
331
+ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
332
+ /**
333
+ * Results
334
+ * @minSize 1
335
+ * @maxSize 100
336
+ */
337
+ results?: BulkUpdateDisputeHistoryRecordTagsResult[];
338
+ /** Metadata regarding the bulk update operation */
339
+ bulkActionMetadata?: BulkActionMetadata;
340
+ }
341
+ export interface ItemMetadata {
342
+ /**
343
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
344
+ * @format GUID
345
+ */
346
+ id?: string | null;
347
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
348
+ originalIndex?: number;
349
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
350
+ success?: boolean;
351
+ /** Details about the error in case of failure. */
352
+ error?: ApplicationError;
353
+ }
354
+ export interface ApplicationError {
355
+ /** Error code. */
356
+ code?: string;
357
+ /** Description of the error. */
358
+ description?: string;
359
+ /** Data related to the error. */
360
+ data?: Record<string, any> | null;
361
+ }
362
+ export interface BulkUpdateDisputeHistoryRecordTagsResult {
363
+ /** Metadata regarding the specific single update operation */
364
+ itemMetadata?: ItemMetadata;
365
+ }
366
+ export interface BulkActionMetadata {
367
+ /** Number of items that were successfully processed. */
368
+ totalSuccesses?: number;
369
+ /** Number of items that couldn't be processed. */
370
+ totalFailures?: number;
371
+ /** Number of failures without details because detailed failure threshold was exceeded. */
372
+ undetailedFailures?: number;
373
+ }
374
+ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
375
+ /** Filter */
376
+ filter: Record<string, any> | null;
377
+ /** List of Tags to assign */
378
+ assignTags?: Tags;
379
+ /** List of Tags to unAssign */
380
+ unassignTags?: Tags;
381
+ }
382
+ export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
383
+ /**
384
+ * Job ID
385
+ * @format GUID
386
+ */
387
+ jobId?: string;
388
+ }
389
+ export interface MessageEnvelope {
390
+ /**
391
+ * App instance ID.
392
+ * @format GUID
393
+ */
394
+ instanceId?: string | null;
395
+ /**
396
+ * Event type.
397
+ * @maxLength 150
398
+ */
399
+ eventType?: string;
400
+ /** The identification type and identity data. */
401
+ identity?: IdentificationData;
402
+ /** Stringify payload. */
403
+ data?: string;
404
+ }
405
+ export interface IdentificationData extends IdentificationDataIdOneOf {
406
+ /**
407
+ * ID of a site visitor that has not logged in to the site.
408
+ * @format GUID
409
+ */
410
+ anonymousVisitorId?: string;
411
+ /**
412
+ * ID of a site visitor that has logged in to the site.
413
+ * @format GUID
414
+ */
415
+ memberId?: string;
416
+ /**
417
+ * ID of a Wix user (site owner, contributor, etc.).
418
+ * @format GUID
419
+ */
420
+ wixUserId?: string;
421
+ /**
422
+ * ID of an app.
423
+ * @format GUID
424
+ */
425
+ appId?: string;
426
+ /** @readonly */
427
+ identityType?: WebhookIdentityType;
428
+ }
429
+ /** @oneof */
430
+ export interface IdentificationDataIdOneOf {
431
+ /**
432
+ * ID of a site visitor that has not logged in to the site.
433
+ * @format GUID
434
+ */
435
+ anonymousVisitorId?: string;
436
+ /**
437
+ * ID of a site visitor that has logged in to the site.
438
+ * @format GUID
439
+ */
440
+ memberId?: string;
441
+ /**
442
+ * ID of a Wix user (site owner, contributor, etc.).
443
+ * @format GUID
444
+ */
445
+ wixUserId?: string;
446
+ /**
447
+ * ID of an app.
448
+ * @format GUID
449
+ */
450
+ appId?: string;
451
+ }
452
+ export declare enum WebhookIdentityType {
453
+ UNKNOWN = "UNKNOWN",
454
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
455
+ MEMBER = "MEMBER",
456
+ WIX_USER = "WIX_USER",
457
+ APP = "APP"
458
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebhookIdentityType = exports.SortOrder = exports.DisputeChannel = exports.DisputeStatus = exports.DisputeStage = void 0;
4
+ var DisputeStage;
5
+ (function (DisputeStage) {
6
+ DisputeStage["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
7
+ /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
8
+ DisputeStage["NOTIFICATION_OF_FRAUD"] = "NOTIFICATION_OF_FRAUD";
9
+ /** Request for Information / Inquiry */
10
+ DisputeStage["RFI"] = "RFI";
11
+ /** Chargeback */
12
+ DisputeStage["CHARGEBACK"] = "CHARGEBACK";
13
+ })(DisputeStage || (exports.DisputeStage = DisputeStage = {}));
14
+ var DisputeStatus;
15
+ (function (DisputeStatus) {
16
+ /** Unknown status */
17
+ DisputeStatus["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
18
+ /** Waiting for some merchant action */
19
+ DisputeStatus["WAITING_MERCHANT"] = "WAITING_MERCHANT";
20
+ /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
21
+ DisputeStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
22
+ /** Waiting for some buyer action */
23
+ DisputeStatus["WAITING_BUYER"] = "WAITING_BUYER";
24
+ /** Dispute won */
25
+ DisputeStatus["WON"] = "WON";
26
+ /** Dispute lost */
27
+ DisputeStatus["LOST"] = "LOST";
28
+ })(DisputeStatus || (exports.DisputeStatus = DisputeStatus = {}));
29
+ var DisputeChannel;
30
+ (function (DisputeChannel) {
31
+ DisputeChannel["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
32
+ /** Internal, the dispute is reviewed by PSP */
33
+ DisputeChannel["INTERNAL"] = "INTERNAL";
34
+ /** External, the dispute is reviewed by bank (or other financial institution) */
35
+ DisputeChannel["EXTERNAL"] = "EXTERNAL";
36
+ })(DisputeChannel || (exports.DisputeChannel = DisputeChannel = {}));
37
+ var SortOrder;
38
+ (function (SortOrder) {
39
+ SortOrder["ASC"] = "ASC";
40
+ SortOrder["DESC"] = "DESC";
41
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
42
+ var WebhookIdentityType;
43
+ (function (WebhookIdentityType) {
44
+ WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
45
+ WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
46
+ WebhookIdentityType["MEMBER"] = "MEMBER";
47
+ WebhookIdentityType["WIX_USER"] = "WIX_USER";
48
+ WebhookIdentityType["APP"] = "APP";
49
+ })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
50
+ //# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js","sourceRoot":"","sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.ts"],"names":[],"mappings":";;;AAuEA,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,4BAAZ,YAAY,QAQvB;AAED,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,6BAAb,aAAa,QAaxB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,+CAA+C;IAC/C,uCAAqB,CAAA;IACrB,iFAAiF;IACjF,uCAAqB,CAAA;AACvB,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAwGD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAsRD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}