@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.16

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 (118) hide show
  1. package/build/cjs/index.d.ts +549 -1
  2. package/build/cjs/index.js +386 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +343 -1
  5. package/build/cjs/meta.js +235 -15
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/index.d.mts} +49 -48
  8. package/build/es/index.mjs +357 -0
  9. package/build/es/index.mjs.map +1 -0
  10. package/build/es/{src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
  11. package/build/es/meta.mjs +208 -0
  12. package/build/es/meta.mjs.map +1 -0
  13. package/build/internal/cjs/index.d.ts +54 -1
  14. package/build/internal/cjs/index.js +386 -15
  15. package/build/internal/cjs/index.js.map +1 -1
  16. package/build/internal/cjs/meta.d.ts +343 -1
  17. package/build/internal/cjs/meta.js +235 -15
  18. package/build/internal/cjs/meta.js.map +1 -1
  19. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → internal/cjs/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -48
  20. package/build/internal/es/index.d.mts +54 -0
  21. package/build/internal/es/index.mjs +357 -0
  22. package/build/internal/es/index.mjs.map +1 -0
  23. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/es/meta.d.mts} +51 -168
  24. package/build/internal/es/meta.mjs +208 -0
  25. package/build/internal/es/meta.mjs.map +1 -0
  26. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
  27. package/package.json +9 -8
  28. package/build/cjs/index.typings.d.ts +0 -1
  29. package/build/cjs/index.typings.js +0 -18
  30. package/build/cjs/index.typings.js.map +0 -1
  31. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  32. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  33. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  34. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  35. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  36. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  37. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  38. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  39. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  40. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  41. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  42. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  43. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  44. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  45. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  46. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  47. package/build/es/index.d.ts +0 -1
  48. package/build/es/index.js +0 -2
  49. package/build/es/index.js.map +0 -1
  50. package/build/es/index.typings.d.ts +0 -1
  51. package/build/es/index.typings.js +0 -2
  52. package/build/es/index.typings.js.map +0 -1
  53. package/build/es/meta.d.ts +0 -1
  54. package/build/es/meta.js +0 -2
  55. package/build/es/meta.js.map +0 -1
  56. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  57. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  58. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  59. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  60. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  61. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  62. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  63. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  64. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  65. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  66. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  67. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  68. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  69. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  70. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  71. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  72. package/build/internal/cjs/index.typings.d.ts +0 -1
  73. package/build/internal/cjs/index.typings.js +0 -18
  74. package/build/internal/cjs/index.typings.js.map +0 -1
  75. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  76. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  77. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  78. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  79. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  80. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  81. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  82. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  83. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  84. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  85. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  86. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  87. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  88. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  89. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  90. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  91. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  92. package/build/internal/es/index.d.ts +0 -1
  93. package/build/internal/es/index.js +0 -2
  94. package/build/internal/es/index.js.map +0 -1
  95. package/build/internal/es/index.typings.d.ts +0 -1
  96. package/build/internal/es/index.typings.js +0 -2
  97. package/build/internal/es/index.typings.js.map +0 -1
  98. package/build/internal/es/meta.d.ts +0 -1
  99. package/build/internal/es/meta.js +0 -2
  100. package/build/internal/es/meta.js.map +0 -1
  101. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  102. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  103. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  104. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  105. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  106. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  107. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  108. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  109. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  110. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  111. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  112. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  113. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  114. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  115. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  116. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts +0 -592
  117. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  118. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
@@ -1 +1,549 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
1
+ /** A DisputeHistoryRecord */
2
+ 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?: DisputeStageWithLiterals;
39
+ /**
40
+ * Dispute Status
41
+ * @readonly
42
+ * @immutable
43
+ */
44
+ status?: DisputeStatusWithLiterals;
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?: DisputeChannelWithLiterals;
66
+ /** Data Extensions */
67
+ extendedFields?: ExtendedFields;
68
+ /** Tags */
69
+ tags?: Tags;
70
+ }
71
+ 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
+ /** @enumType */
81
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
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
+ /** @enumType */
97
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
98
+ declare enum DisputeChannel {
99
+ UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
100
+ /** Internal, the dispute is reviewed by PSP */
101
+ INTERNAL = "INTERNAL",
102
+ /** External, the dispute is reviewed by bank (or other financial institution) */
103
+ EXTERNAL = "EXTERNAL"
104
+ }
105
+ /** @enumType */
106
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
107
+ interface ExtendedFields {
108
+ /**
109
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
110
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
111
+ *
112
+ * You can only access fields for which you have the appropriate permissions.
113
+ *
114
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
115
+ */
116
+ namespaces?: Record<string, Record<string, any>>;
117
+ }
118
+ /**
119
+ * Common object for tags.
120
+ * Should be use as in this example:
121
+ * message Foo {
122
+ * string id = 1;
123
+ * ...
124
+ * Tags tags = 5
125
+ * }
126
+ *
127
+ * example of taggable entity
128
+ * {
129
+ * id: "123"
130
+ * tags: {
131
+ * tags: {
132
+ * tag_ids:["11","22"]
133
+ * },
134
+ * private_tags: {
135
+ * tag_ids: ["33", "44"]
136
+ * }
137
+ * }
138
+ * }
139
+ */
140
+ interface Tags {
141
+ /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
142
+ tags?: TagList;
143
+ }
144
+ interface TagList {
145
+ /**
146
+ * List of tag IDs
147
+ * @maxSize 100
148
+ * @maxLength 5
149
+ */
150
+ tagIds?: string[];
151
+ }
152
+ interface GetDisputeHistoryRecordRequest {
153
+ /**
154
+ * ID of the DisputeHistoryRecord to retrieve.
155
+ * @format GUID
156
+ */
157
+ disputeHistoryRecordId: string;
158
+ }
159
+ interface GetDisputeHistoryRecordResponse {
160
+ /** The requested DisputeHistoryRecord. */
161
+ disputeHistoryRecord?: DisputeHistoryRecord;
162
+ }
163
+ interface QueryDisputeHistoryRecordsRequest {
164
+ /** WQL expression. */
165
+ query?: CursorQuery;
166
+ }
167
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
168
+ /** 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`. */
169
+ cursorPaging?: CursorPaging;
170
+ /**
171
+ * Filter object in the following format:
172
+ * `"filter" : {
173
+ * "fieldName1": "value1",
174
+ * "fieldName2":{"$operator":"value2"}
175
+ * }`
176
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
177
+ */
178
+ filter?: Record<string, any> | null;
179
+ /**
180
+ * Sort object in the following format:
181
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
182
+ * @maxSize 5
183
+ */
184
+ sort?: Sorting[];
185
+ }
186
+ /** @oneof */
187
+ interface CursorQueryPagingMethodOneOf {
188
+ /** 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`. */
189
+ cursorPaging?: CursorPaging;
190
+ }
191
+ interface Sorting {
192
+ /**
193
+ * Name of the field to sort by.
194
+ * @maxLength 512
195
+ */
196
+ fieldName?: string;
197
+ /** Sort order. */
198
+ order?: SortOrderWithLiterals;
199
+ }
200
+ declare enum SortOrder {
201
+ ASC = "ASC",
202
+ DESC = "DESC"
203
+ }
204
+ /** @enumType */
205
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
206
+ interface CursorPaging {
207
+ /**
208
+ * Maximum number of items to return in the results.
209
+ * @max 100
210
+ */
211
+ limit?: number | null;
212
+ /**
213
+ * Pointer to the next or previous page in the list of results.
214
+ *
215
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
216
+ * Not relevant for the first request.
217
+ * @maxLength 16000
218
+ */
219
+ cursor?: string | null;
220
+ }
221
+ interface QueryDisputeHistoryRecordsResponse {
222
+ /** List of DisputeHistoryRecords. */
223
+ disputeHistoryRecords?: DisputeHistoryRecord[];
224
+ /** Paging metadata */
225
+ pagingMetadata?: CursorPagingMetadata;
226
+ }
227
+ interface CursorPagingMetadata {
228
+ /** Number of items returned in the response. */
229
+ count?: number | null;
230
+ /** Cursor strings that point to the next page, previous page, or both. */
231
+ cursors?: Cursors;
232
+ /**
233
+ * Whether there are more pages to retrieve following the current page.
234
+ *
235
+ * + `true`: Another page of results can be retrieved.
236
+ * + `false`: This is the last page.
237
+ */
238
+ hasNext?: boolean | null;
239
+ }
240
+ interface Cursors {
241
+ /**
242
+ * Cursor string pointing to the next page in the list of results.
243
+ * @maxLength 16000
244
+ */
245
+ next?: string | null;
246
+ /**
247
+ * Cursor pointing to the previous page in the list of results.
248
+ * @maxLength 16000
249
+ */
250
+ prev?: string | null;
251
+ }
252
+ interface DomainEvent extends DomainEventBodyOneOf {
253
+ createdEvent?: EntityCreatedEvent;
254
+ updatedEvent?: EntityUpdatedEvent;
255
+ deletedEvent?: EntityDeletedEvent;
256
+ actionEvent?: ActionEvent;
257
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
258
+ _id?: string;
259
+ /**
260
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
261
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
262
+ */
263
+ entityFqdn?: string;
264
+ /**
265
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
266
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
267
+ */
268
+ slug?: string;
269
+ /** ID of the entity associated with the event. */
270
+ entityId?: string;
271
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
272
+ eventTime?: Date | null;
273
+ /**
274
+ * Whether the event was triggered as a result of a privacy regulation application
275
+ * (for example, GDPR).
276
+ */
277
+ triggeredByAnonymizeRequest?: boolean | null;
278
+ /** If present, indicates the action that triggered the event. */
279
+ originatedFrom?: string | null;
280
+ /**
281
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
282
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
283
+ */
284
+ entityEventSequence?: string | null;
285
+ }
286
+ /** @oneof */
287
+ interface DomainEventBodyOneOf {
288
+ createdEvent?: EntityCreatedEvent;
289
+ updatedEvent?: EntityUpdatedEvent;
290
+ deletedEvent?: EntityDeletedEvent;
291
+ actionEvent?: ActionEvent;
292
+ }
293
+ interface EntityCreatedEvent {
294
+ entity?: string;
295
+ }
296
+ interface RestoreInfo {
297
+ deletedDate?: Date | null;
298
+ }
299
+ interface EntityUpdatedEvent {
300
+ /**
301
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
302
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
303
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
304
+ */
305
+ currentEntity?: string;
306
+ }
307
+ interface EntityDeletedEvent {
308
+ /** Entity that was deleted. */
309
+ deletedEntity?: string | null;
310
+ }
311
+ interface ActionEvent {
312
+ body?: string;
313
+ }
314
+ interface Empty {
315
+ }
316
+ interface BulkUpdateDisputeHistoryRecordTagsRequest {
317
+ /**
318
+ * List of NileProtoTagsEntities that their tags will update.
319
+ * @minSize 1
320
+ * @maxSize 100
321
+ * @format GUID
322
+ */
323
+ ids: string[];
324
+ /** List of Tags to assign */
325
+ assignTags?: Tags;
326
+ /** List of Tags to unAssign */
327
+ unassignTags?: Tags;
328
+ }
329
+ interface BulkUpdateDisputeHistoryRecordTagsResponse {
330
+ /**
331
+ * Results
332
+ * @minSize 1
333
+ * @maxSize 100
334
+ */
335
+ results?: BulkUpdateDisputeHistoryRecordTagsResult[];
336
+ /** Metadata regarding the bulk update operation */
337
+ bulkActionMetadata?: BulkActionMetadata;
338
+ }
339
+ interface ItemMetadata {
340
+ /**
341
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
342
+ * @format GUID
343
+ */
344
+ _id?: string | null;
345
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
346
+ originalIndex?: number;
347
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
348
+ success?: boolean;
349
+ /** Details about the error in case of failure. */
350
+ error?: ApplicationError;
351
+ }
352
+ interface ApplicationError {
353
+ /** Error code. */
354
+ code?: string;
355
+ /** Description of the error. */
356
+ description?: string;
357
+ /** Data related to the error. */
358
+ data?: Record<string, any> | null;
359
+ }
360
+ interface BulkUpdateDisputeHistoryRecordTagsResult {
361
+ /** Metadata regarding the specific single update operation */
362
+ itemMetadata?: ItemMetadata;
363
+ }
364
+ interface BulkActionMetadata {
365
+ /** Number of items that were successfully processed. */
366
+ totalSuccesses?: number;
367
+ /** Number of items that couldn't be processed. */
368
+ totalFailures?: number;
369
+ /** Number of failures without details because detailed failure threshold was exceeded. */
370
+ undetailedFailures?: number;
371
+ }
372
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
373
+ /** Filter */
374
+ filter: Record<string, any> | null;
375
+ /** List of Tags to assign */
376
+ assignTags?: Tags;
377
+ /** List of Tags to unAssign */
378
+ unassignTags?: Tags;
379
+ }
380
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
381
+ /**
382
+ * Job ID
383
+ * @format GUID
384
+ */
385
+ jobId?: string;
386
+ }
387
+ interface MessageEnvelope {
388
+ /**
389
+ * App instance ID.
390
+ * @format GUID
391
+ */
392
+ instanceId?: string | null;
393
+ /**
394
+ * Event type.
395
+ * @maxLength 150
396
+ */
397
+ eventType?: string;
398
+ /** The identification type and identity data. */
399
+ identity?: IdentificationData;
400
+ /** Stringify payload. */
401
+ data?: string;
402
+ }
403
+ interface IdentificationData extends IdentificationDataIdOneOf {
404
+ /**
405
+ * ID of a site visitor that has not logged in to the site.
406
+ * @format GUID
407
+ */
408
+ anonymousVisitorId?: string;
409
+ /**
410
+ * ID of a site visitor that has logged in to the site.
411
+ * @format GUID
412
+ */
413
+ memberId?: string;
414
+ /**
415
+ * ID of a Wix user (site owner, contributor, etc.).
416
+ * @format GUID
417
+ */
418
+ wixUserId?: string;
419
+ /**
420
+ * ID of an app.
421
+ * @format GUID
422
+ */
423
+ appId?: string;
424
+ /** @readonly */
425
+ identityType?: WebhookIdentityTypeWithLiterals;
426
+ }
427
+ /** @oneof */
428
+ interface IdentificationDataIdOneOf {
429
+ /**
430
+ * ID of a site visitor that has not logged in to the site.
431
+ * @format GUID
432
+ */
433
+ anonymousVisitorId?: string;
434
+ /**
435
+ * ID of a site visitor that has logged in to the site.
436
+ * @format GUID
437
+ */
438
+ memberId?: string;
439
+ /**
440
+ * ID of a Wix user (site owner, contributor, etc.).
441
+ * @format GUID
442
+ */
443
+ wixUserId?: string;
444
+ /**
445
+ * ID of an app.
446
+ * @format GUID
447
+ */
448
+ appId?: string;
449
+ }
450
+ declare enum WebhookIdentityType {
451
+ UNKNOWN = "UNKNOWN",
452
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
453
+ MEMBER = "MEMBER",
454
+ WIX_USER = "WIX_USER",
455
+ APP = "APP"
456
+ }
457
+ /** @enumType */
458
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
459
+ interface QueryCursorResult {
460
+ cursors: Cursors;
461
+ hasNext: () => boolean;
462
+ hasPrev: () => boolean;
463
+ length: number;
464
+ pageSize: number;
465
+ }
466
+ interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
467
+ items: DisputeHistoryRecord[];
468
+ query: DisputeHistoryRecordsQueryBuilder;
469
+ next: () => Promise<DisputeHistoryRecordsQueryResult>;
470
+ prev: () => Promise<DisputeHistoryRecordsQueryResult>;
471
+ }
472
+ interface DisputeHistoryRecordsQueryBuilder {
473
+ /** @param propertyName - Property whose value is compared with `value`.
474
+ * @param value - Value to compare against.
475
+ * @documentationMaturity preview
476
+ */
477
+ eq: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
478
+ /** @param propertyName - Property whose value is compared with `value`.
479
+ * @param value - Value to compare against.
480
+ * @documentationMaturity preview
481
+ */
482
+ ne: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
483
+ /** @param propertyName - Property whose value is compared with `value`.
484
+ * @param value - Value to compare against.
485
+ * @documentationMaturity preview
486
+ */
487
+ ge: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
488
+ /** @param propertyName - Property whose value is compared with `value`.
489
+ * @param value - Value to compare against.
490
+ * @documentationMaturity preview
491
+ */
492
+ gt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
493
+ /** @param propertyName - Property whose value is compared with `value`.
494
+ * @param value - Value to compare against.
495
+ * @documentationMaturity preview
496
+ */
497
+ le: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
498
+ /** @param propertyName - Property whose value is compared with `value`.
499
+ * @param value - Value to compare against.
500
+ * @documentationMaturity preview
501
+ */
502
+ lt: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
503
+ /** @param propertyName - Property whose value is compared with `string`.
504
+ * @param string - String to compare against. Case-insensitive.
505
+ * @documentationMaturity preview
506
+ */
507
+ startsWith: (propertyName: 'disputeId', value: string) => DisputeHistoryRecordsQueryBuilder;
508
+ /** @param propertyName - Property whose value is compared with `values`.
509
+ * @param values - List of values to compare against.
510
+ * @documentationMaturity preview
511
+ */
512
+ hasSome: (propertyName: 'disputeId', value: any[]) => DisputeHistoryRecordsQueryBuilder;
513
+ /** @documentationMaturity preview */
514
+ in: (propertyName: 'disputeId', value: any) => DisputeHistoryRecordsQueryBuilder;
515
+ /** @documentationMaturity preview */
516
+ exists: (propertyName: 'disputeId', value: boolean) => DisputeHistoryRecordsQueryBuilder;
517
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
518
+ * @documentationMaturity preview
519
+ */
520
+ ascending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
521
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
522
+ * @documentationMaturity preview
523
+ */
524
+ descending: (...propertyNames: Array<'disputeId'>) => DisputeHistoryRecordsQueryBuilder;
525
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
526
+ * @documentationMaturity preview
527
+ */
528
+ limit: (limit: number) => DisputeHistoryRecordsQueryBuilder;
529
+ /** @param cursor - A pointer to specific record
530
+ * @documentationMaturity preview
531
+ */
532
+ skipTo: (cursor: string) => DisputeHistoryRecordsQueryBuilder;
533
+ /** @documentationMaturity preview */
534
+ find: () => Promise<DisputeHistoryRecordsQueryResult>;
535
+ }
536
+ interface BulkUpdateDisputeHistoryRecordTagsOptions {
537
+ /** List of Tags to assign */
538
+ assignTags?: Tags;
539
+ /** List of Tags to unAssign */
540
+ unassignTags?: Tags;
541
+ }
542
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
543
+ /** List of Tags to assign */
544
+ assignTags?: Tags;
545
+ /** List of Tags to unAssign */
546
+ unassignTags?: Tags;
547
+ }
548
+
549
+ export { type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkUpdateDisputeHistoryRecordTagsByFilterOptions, type BulkUpdateDisputeHistoryRecordTagsByFilterRequest, type BulkUpdateDisputeHistoryRecordTagsByFilterResponse, type BulkUpdateDisputeHistoryRecordTagsOptions, type BulkUpdateDisputeHistoryRecordTagsRequest, type BulkUpdateDisputeHistoryRecordTagsResponse, type BulkUpdateDisputeHistoryRecordTagsResult, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DisputeChannel, type DisputeHistoryRecord, type DisputeHistoryRecordsQueryBuilder, type DisputeHistoryRecordsQueryResult, DisputeStage, DisputeStatus, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetDisputeHistoryRecordRequest, type GetDisputeHistoryRecordResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type MessageEnvelope, type QueryDisputeHistoryRecordsRequest, type QueryDisputeHistoryRecordsResponse, type RestoreInfo, SortOrder, type Sorting, type TagList, type Tags, WebhookIdentityType };