@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,460 +0,0 @@
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?: 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
- 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
- /** @enumType */
81
- export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
82
- export 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
- export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
98
- export 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
- export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
107
- export 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
- export 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
- export interface TagList {
145
- /**
146
- * List of tag IDs
147
- * @maxSize 100
148
- * @maxLength 5
149
- */
150
- tagIds?: string[];
151
- }
152
- export interface GetDisputeHistoryRecordRequest {
153
- /**
154
- * ID of the DisputeHistoryRecord to retrieve.
155
- * @format GUID
156
- */
157
- disputeHistoryRecordId: string;
158
- }
159
- export interface GetDisputeHistoryRecordResponse {
160
- /** The requested DisputeHistoryRecord. */
161
- disputeHistoryRecord?: DisputeHistoryRecord;
162
- }
163
- export interface QueryDisputeHistoryRecordsRequest {
164
- /** WQL expression. */
165
- query?: CursorQuery;
166
- }
167
- export 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
- export 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
- export 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
- export declare enum SortOrder {
201
- ASC = "ASC",
202
- DESC = "DESC"
203
- }
204
- /** @enumType */
205
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
206
- export 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
- export interface QueryDisputeHistoryRecordsResponse {
222
- /** List of DisputeHistoryRecords. */
223
- disputeHistoryRecords?: DisputeHistoryRecord[];
224
- /** Paging metadata */
225
- pagingMetadata?: CursorPagingMetadata;
226
- }
227
- export 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
- export 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
- export 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
- 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?: WebhookIdentityTypeWithLiterals;
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
- }
459
- /** @enumType */
460
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
@@ -1,50 +0,0 @@
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
@@ -1 +0,0 @@
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;AAUD,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;AAYD,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;AA+GD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAiRD,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"}