@wix/auto_sdk_payments_disputes 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 (128) hide show
  1. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.mts} +125 -113
  2. package/build/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → index.d.ts} +125 -113
  3. package/build/index.js +588 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +550 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +87 -0
  8. package/build/internal/index.d.ts +87 -0
  9. package/build/internal/index.js +588 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +550 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{es/src/payments-disputes-v1-dispute-disputes.types.d.ts → internal/meta.d.mts} +68 -240
  14. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -240
  15. package/build/internal/meta.js +366 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +333 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.mts} +125 -185
  20. package/build/internal/{es/src/payments-disputes-v1-dispute-disputes.universal.d.ts → payments-disputes-v1-dispute-disputes.universal-T48jckbY.d.ts} +125 -185
  21. package/build/{cjs/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.mts} +68 -240
  22. package/build/{internal/es/src/payments-disputes-v1-dispute-disputes.types.d.ts → meta.d.ts} +68 -240
  23. package/build/meta.js +366 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +333 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/package.json +13 -12
  28. package/build/cjs/index.d.ts +0 -1
  29. package/build/cjs/index.js +0 -18
  30. package/build/cjs/index.js.map +0 -1
  31. package/build/cjs/index.typings.d.ts +0 -1
  32. package/build/cjs/index.typings.js +0 -18
  33. package/build/cjs/index.typings.js.map +0 -1
  34. package/build/cjs/meta.d.ts +0 -1
  35. package/build/cjs/meta.js +0 -18
  36. package/build/cjs/meta.js.map +0 -1
  37. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
  38. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
  39. package/build/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  40. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  41. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
  42. package/build/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  43. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  44. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
  45. package/build/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  46. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
  47. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
  48. package/build/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  49. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
  50. package/build/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  51. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
  52. package/build/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  53. package/build/es/index.d.ts +0 -1
  54. package/build/es/index.js +0 -2
  55. package/build/es/index.js.map +0 -1
  56. package/build/es/index.typings.d.ts +0 -1
  57. package/build/es/index.typings.js +0 -2
  58. package/build/es/index.typings.js.map +0 -1
  59. package/build/es/meta.d.ts +0 -1
  60. package/build/es/meta.js +0 -2
  61. package/build/es/meta.js.map +0 -1
  62. package/build/es/package.json +0 -3
  63. package/build/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -2
  64. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  65. package/build/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  66. package/build/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  67. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  68. package/build/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  69. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  70. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  71. package/build/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  72. package/build/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -4
  73. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  74. package/build/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  75. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  76. package/build/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  77. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  78. package/build/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  79. package/build/internal/cjs/index.d.ts +0 -1
  80. package/build/internal/cjs/index.js +0 -18
  81. package/build/internal/cjs/index.js.map +0 -1
  82. package/build/internal/cjs/index.typings.d.ts +0 -1
  83. package/build/internal/cjs/index.typings.js +0 -18
  84. package/build/internal/cjs/index.typings.js.map +0 -1
  85. package/build/internal/cjs/meta.d.ts +0 -1
  86. package/build/internal/cjs/meta.js +0 -18
  87. package/build/internal/cjs/meta.js.map +0 -1
  88. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  89. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js +0 -29
  90. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  91. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  92. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js +0 -217
  93. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  94. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  95. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js +0 -161
  96. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  97. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  98. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js +0 -64
  99. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  100. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js +0 -94
  101. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  102. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js +0 -386
  103. package/build/internal/cjs/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
  104. package/build/internal/es/index.d.ts +0 -1
  105. package/build/internal/es/index.js +0 -2
  106. package/build/internal/es/index.js.map +0 -1
  107. package/build/internal/es/index.typings.d.ts +0 -1
  108. package/build/internal/es/index.typings.js +0 -2
  109. package/build/internal/es/index.typings.js.map +0 -1
  110. package/build/internal/es/meta.d.ts +0 -1
  111. package/build/internal/es/meta.js +0 -2
  112. package/build/internal/es/meta.js.map +0 -1
  113. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.d.ts +0 -18
  114. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js +0 -18
  115. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.context.js.map +0 -1
  116. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.d.ts +0 -22
  117. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js +0 -207
  118. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.http.js.map +0 -1
  119. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.d.ts +0 -27
  120. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js +0 -128
  121. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.meta.js.map +0 -1
  122. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.d.ts +0 -72
  123. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js +0 -46
  124. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.public.js.map +0 -1
  125. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js +0 -91
  126. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.types.js.map +0 -1
  127. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js +0 -353
  128. package/build/internal/es/src/payments-disputes-v1-dispute-disputes.universal.js.map +0 -1
@@ -1,5 +1,7 @@
1
+ import { l as GetDisputeRequest$1, m as GetDisputeResponse$1, Q as QueryDisputesRequest$1, q as QueryDisputesResponse$1, t as GetDisputeActionsRequest$1, G as GetDisputeActionsResponse$1, v as AcceptDisputeRequest$1, A as AcceptDisputeResponse$1, w as SubmitDisputeEvidenceRequest$1, S as SubmitDisputeEvidenceResponse$1, H as BulkUpdateDisputeTagsRequest$1, b as BulkUpdateDisputeTagsResponse$1, O as BulkUpdateDisputeTagsByFilterRequest$1, d as BulkUpdateDisputeTagsByFilterResponse$1 } from './payments-disputes-v1-dispute-disputes.universal-T48jckbY.mjs';
2
+
1
3
  /** Dispute. A dispute occurs when an account owner contacts their PSP or bank to contest a payment to you for a number of possible reasons. */
2
- export interface Dispute {
4
+ interface Dispute {
3
5
  /**
4
6
  * Dispute ID
5
7
  * @format GUID
@@ -78,7 +80,7 @@ export interface Dispute {
78
80
  /** Tags */
79
81
  tags?: PublicTags;
80
82
  }
81
- export declare enum DisputeStage {
83
+ declare enum DisputeStage {
82
84
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
83
85
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
84
86
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -87,7 +89,7 @@ export declare enum DisputeStage {
87
89
  /** Chargeback */
88
90
  CHARGEBACK = "CHARGEBACK"
89
91
  }
90
- export declare enum DisputeReason {
92
+ declare enum DisputeReason {
91
93
  /** Unknown reason */
92
94
  UNKNOWN_DISPUTE_REASON = "UNKNOWN_DISPUTE_REASON",
93
95
  /** Fraud card */
@@ -111,7 +113,7 @@ export declare enum DisputeReason {
111
113
  /** Other reason */
112
114
  OTHER = "OTHER"
113
115
  }
114
- export declare enum DisputeStatus {
116
+ declare enum DisputeStatus {
115
117
  /** Unknown status */
116
118
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
117
119
  /** Waiting for some merchant action */
@@ -125,7 +127,7 @@ export declare enum DisputeStatus {
125
127
  /** Dispute lost */
126
128
  LOST = "LOST"
127
129
  }
128
- export declare enum SellerProtection {
130
+ declare enum SellerProtection {
129
131
  UNKNOWN_SELLER_PROTECTION = "UNKNOWN_SELLER_PROTECTION",
130
132
  /** Not Eligible */
131
133
  NOT_ELIGIBLE = "NOT_ELIGIBLE",
@@ -134,14 +136,14 @@ export declare enum SellerProtection {
134
136
  /** Extended seller protection */
135
137
  EXTENDED = "EXTENDED"
136
138
  }
137
- export declare enum DisputeChannel {
139
+ declare enum DisputeChannel {
138
140
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
139
141
  /** Internal, the dispute is reviewed by PSP */
140
142
  INTERNAL = "INTERNAL",
141
143
  /** External, the dispute is reviewed by bank (or other financial institution) */
142
144
  EXTERNAL = "EXTERNAL"
143
145
  }
144
- export interface ExtendedFields {
146
+ interface ExtendedFields {
145
147
  /**
146
148
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
147
149
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -152,11 +154,11 @@ export interface ExtendedFields {
152
154
  */
153
155
  namespaces?: Record<string, Record<string, any>>;
154
156
  }
155
- export interface PublicTags {
157
+ interface PublicTags {
156
158
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
157
159
  tags?: TagList;
158
160
  }
159
- export interface TagList {
161
+ interface TagList {
160
162
  /**
161
163
  * List of tag IDs
162
164
  * @maxSize 100
@@ -164,22 +166,22 @@ export interface TagList {
164
166
  */
165
167
  tagIds?: string[];
166
168
  }
167
- export interface GetDisputeRequest {
169
+ interface GetDisputeRequest {
168
170
  /**
169
171
  * ID of the Dispute to retrieve.
170
172
  * @format GUID
171
173
  */
172
174
  disputeId: string;
173
175
  }
174
- export interface GetDisputeResponse {
176
+ interface GetDisputeResponse {
175
177
  /** The requested Dispute. */
176
178
  dispute?: Dispute;
177
179
  }
178
- export interface QueryDisputesRequest {
180
+ interface QueryDisputesRequest {
179
181
  /** WQL expression. */
180
182
  query?: CursorQuery;
181
183
  }
182
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
184
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
183
185
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
184
186
  cursorPaging?: CursorPaging;
185
187
  /**
@@ -199,11 +201,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
199
201
  sort?: Sorting[];
200
202
  }
201
203
  /** @oneof */
202
- export interface CursorQueryPagingMethodOneOf {
204
+ interface CursorQueryPagingMethodOneOf {
203
205
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
204
206
  cursorPaging?: CursorPaging;
205
207
  }
206
- export interface Sorting {
208
+ interface Sorting {
207
209
  /**
208
210
  * Name of the field to sort by.
209
211
  * @maxLength 512
@@ -212,11 +214,11 @@ export interface Sorting {
212
214
  /** Sort order. */
213
215
  order?: SortOrder;
214
216
  }
215
- export declare enum SortOrder {
217
+ declare enum SortOrder {
216
218
  ASC = "ASC",
217
219
  DESC = "DESC"
218
220
  }
219
- export interface CursorPaging {
221
+ interface CursorPaging {
220
222
  /**
221
223
  * Maximum number of items to return in the results.
222
224
  * @max 100
@@ -231,13 +233,13 @@ export interface CursorPaging {
231
233
  */
232
234
  cursor?: string | null;
233
235
  }
234
- export interface QueryDisputesResponse {
236
+ interface QueryDisputesResponse {
235
237
  /** List of Disputes. */
236
238
  disputes?: Dispute[];
237
239
  /** Paging metadata */
238
240
  pagingMetadata?: CursorPagingMetadata;
239
241
  }
240
- export interface CursorPagingMetadata {
242
+ interface CursorPagingMetadata {
241
243
  /** Number of items returned in the response. */
242
244
  count?: number | null;
243
245
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -250,7 +252,7 @@ export interface CursorPagingMetadata {
250
252
  */
251
253
  hasNext?: boolean | null;
252
254
  }
253
- export interface Cursors {
255
+ interface Cursors {
254
256
  /**
255
257
  * Cursor string pointing to the next page in the list of results.
256
258
  * @maxLength 16000
@@ -262,27 +264,27 @@ export interface Cursors {
262
264
  */
263
265
  prev?: string | null;
264
266
  }
265
- export interface GetDisputeActionsRequest {
267
+ interface GetDisputeActionsRequest {
266
268
  /**
267
269
  * Dispute ID
268
270
  * @format GUID
269
271
  */
270
272
  disputeId: string;
271
273
  }
272
- export interface GetDisputeActionsResponse {
274
+ interface GetDisputeActionsResponse {
273
275
  /**
274
276
  * Dispute actions
275
277
  * @maxSize 20
276
278
  */
277
279
  actions?: DisputeAction[];
278
280
  }
279
- export interface DisputeAction {
281
+ interface DisputeAction {
280
282
  /** Dispute Action type */
281
283
  type?: DisputeActionType;
282
284
  /** The latest date and time until which the action can be performed */
283
285
  dueDate?: Date | null;
284
286
  }
285
- export declare enum DisputeActionType {
287
+ declare enum DisputeActionType {
286
288
  /** Unknown dispute status */
287
289
  UNKNOWN_DISPUTE_ACTION = "UNKNOWN_DISPUTE_ACTION",
288
290
  /** Accept dispute */
@@ -290,29 +292,29 @@ export declare enum DisputeActionType {
290
292
  /** Submit evidence */
291
293
  SUBMIT_EVIDENCE = "SUBMIT_EVIDENCE"
292
294
  }
293
- export interface AcceptDisputeRequest {
295
+ interface AcceptDisputeRequest {
294
296
  /**
295
297
  * Dispute ID
296
298
  * @format GUID
297
299
  */
298
300
  disputeId: string;
299
301
  }
300
- export interface AcceptDisputeResponse {
302
+ interface AcceptDisputeResponse {
301
303
  /** Dispute */
302
304
  dispute?: Dispute;
303
305
  }
304
- export interface SubmitDisputeEvidenceRequest {
306
+ interface SubmitDisputeEvidenceRequest {
305
307
  /**
306
308
  * Dispute ID
307
309
  * @format GUID
308
310
  */
309
311
  disputeId: string;
310
312
  }
311
- export interface SubmitDisputeEvidenceResponse {
313
+ interface SubmitDisputeEvidenceResponse {
312
314
  /** Dispute */
313
315
  dispute?: Dispute;
314
316
  }
315
- export interface BulkUpdateDisputeTagsRequest {
317
+ interface BulkUpdateDisputeTagsRequest {
316
318
  /**
317
319
  * List of NileProtoTagsEntities that their tags will update.
318
320
  * @minSize 1
@@ -347,11 +349,11 @@ export interface BulkUpdateDisputeTagsRequest {
347
349
  * }
348
350
  * }
349
351
  */
350
- export interface Tags {
352
+ interface Tags {
351
353
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
352
354
  tags?: TagsTagList;
353
355
  }
354
- export interface TagsTagList {
356
+ interface TagsTagList {
355
357
  /**
356
358
  * List of tag IDs
357
359
  * @maxSize 100
@@ -359,7 +361,7 @@ export interface TagsTagList {
359
361
  */
360
362
  tagIds?: string[];
361
363
  }
362
- export interface BulkUpdateDisputeTagsResponse {
364
+ interface BulkUpdateDisputeTagsResponse {
363
365
  /**
364
366
  * Results
365
367
  * @minSize 1
@@ -369,7 +371,7 @@ export interface BulkUpdateDisputeTagsResponse {
369
371
  /** Metadata regarding the bulk update operation */
370
372
  bulkActionMetadata?: BulkActionMetadata;
371
373
  }
372
- export interface ItemMetadata {
374
+ interface ItemMetadata {
373
375
  /**
374
376
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
375
377
  * @format GUID
@@ -382,7 +384,7 @@ export interface ItemMetadata {
382
384
  /** Details about the error in case of failure. */
383
385
  error?: ApplicationError;
384
386
  }
385
- export interface ApplicationError {
387
+ interface ApplicationError {
386
388
  /** Error code. */
387
389
  code?: string;
388
390
  /** Description of the error. */
@@ -390,11 +392,11 @@ export interface ApplicationError {
390
392
  /** Data related to the error. */
391
393
  data?: Record<string, any> | null;
392
394
  }
393
- export interface BulkUpdateDisputeTagsResult {
395
+ interface BulkUpdateDisputeTagsResult {
394
396
  /** Metadata regarding the specific single update operation */
395
397
  itemMetadata?: ItemMetadata;
396
398
  }
397
- export interface BulkActionMetadata {
399
+ interface BulkActionMetadata {
398
400
  /** Number of items that were successfully processed. */
399
401
  totalSuccesses?: number;
400
402
  /** Number of items that couldn't be processed. */
@@ -402,7 +404,7 @@ export interface BulkActionMetadata {
402
404
  /** Number of failures without details because detailed failure threshold was exceeded. */
403
405
  undetailedFailures?: number;
404
406
  }
405
- export interface BulkUpdateDisputeTagsByFilterRequest {
407
+ interface BulkUpdateDisputeTagsByFilterRequest {
406
408
  /** Filter */
407
409
  filter: Record<string, any> | null;
408
410
  /** List of Tags to assign */
@@ -410,212 +412,38 @@ export interface BulkUpdateDisputeTagsByFilterRequest {
410
412
  /** List of Tags to unAssign */
411
413
  unassignTags?: Tags;
412
414
  }
413
- export interface BulkUpdateDisputeTagsByFilterResponse {
415
+ interface BulkUpdateDisputeTagsByFilterResponse {
414
416
  /**
415
417
  * Job ID
416
418
  * @format GUID
417
419
  */
418
420
  jobId?: string;
419
421
  }
420
- export interface DomainEvent extends DomainEventBodyOneOf {
421
- createdEvent?: EntityCreatedEvent;
422
- updatedEvent?: EntityUpdatedEvent;
423
- deletedEvent?: EntityDeletedEvent;
424
- actionEvent?: ActionEvent;
425
- /**
426
- * Unique event ID.
427
- * Allows clients to ignore duplicate webhooks.
428
- */
429
- id?: string;
430
- /**
431
- * Assumes actions are also always typed to an entity_type
432
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
433
- */
434
- entityFqdn?: string;
435
- /**
436
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
437
- * This is although the created/updated/deleted notion is duplication of the oneof types
438
- * Example: created/updated/deleted/started/completed/email_opened
439
- */
440
- slug?: string;
441
- /** ID of the entity associated with the event. */
442
- entityId?: string;
443
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
444
- eventTime?: Date | null;
445
- /**
446
- * Whether the event was triggered as a result of a privacy regulation application
447
- * (for example, GDPR).
448
- */
449
- triggeredByAnonymizeRequest?: boolean | null;
450
- /** If present, indicates the action that triggered the event. */
451
- originatedFrom?: string | null;
452
- /**
453
- * A sequence number defining the order of updates to the underlying entity.
454
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
455
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
456
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
457
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
458
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
459
- */
460
- entityEventSequence?: string | null;
461
- }
462
- /** @oneof */
463
- export interface DomainEventBodyOneOf {
464
- createdEvent?: EntityCreatedEvent;
465
- updatedEvent?: EntityUpdatedEvent;
466
- deletedEvent?: EntityDeletedEvent;
467
- actionEvent?: ActionEvent;
468
- }
469
- export interface EntityCreatedEvent {
470
- entityAsJson?: string;
471
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
472
- restoreInfo?: RestoreInfo;
473
- }
474
- export interface RestoreInfo {
475
- deletedDate?: Date | null;
476
- }
477
- export interface EntityUpdatedEvent {
478
- /**
479
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
480
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
481
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
482
- */
483
- currentEntityAsJson?: string;
484
- }
485
- export interface EntityDeletedEvent {
486
- /** Entity that was deleted */
487
- deletedEntityAsJson?: string | null;
488
- }
489
- export interface ActionEvent {
490
- bodyAsJson?: string;
491
- }
492
- export interface MessageEnvelope {
493
- /**
494
- * App instance ID.
495
- * @format GUID
496
- */
497
- instanceId?: string | null;
498
- /**
499
- * Event type.
500
- * @maxLength 150
501
- */
502
- eventType?: string;
503
- /** The identification type and identity data. */
504
- identity?: IdentificationData;
505
- /** Stringify payload. */
506
- data?: string;
507
- }
508
- export interface IdentificationData extends IdentificationDataIdOneOf {
509
- /**
510
- * ID of a site visitor that has not logged in to the site.
511
- * @format GUID
512
- */
513
- anonymousVisitorId?: string;
514
- /**
515
- * ID of a site visitor that has logged in to the site.
516
- * @format GUID
517
- */
518
- memberId?: string;
519
- /**
520
- * ID of a Wix user (site owner, contributor, etc.).
521
- * @format GUID
522
- */
523
- wixUserId?: string;
524
- /**
525
- * ID of an app.
526
- * @format GUID
527
- */
528
- appId?: string;
529
- /** @readonly */
530
- identityType?: WebhookIdentityType;
531
- }
532
- /** @oneof */
533
- export interface IdentificationDataIdOneOf {
534
- /**
535
- * ID of a site visitor that has not logged in to the site.
536
- * @format GUID
537
- */
538
- anonymousVisitorId?: string;
539
- /**
540
- * ID of a site visitor that has logged in to the site.
541
- * @format GUID
542
- */
543
- memberId?: string;
544
- /**
545
- * ID of a Wix user (site owner, contributor, etc.).
546
- * @format GUID
547
- */
548
- wixUserId?: string;
549
- /**
550
- * ID of an app.
551
- * @format GUID
552
- */
553
- appId?: string;
554
- }
555
- export declare enum WebhookIdentityType {
556
- UNKNOWN = "UNKNOWN",
557
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
558
- MEMBER = "MEMBER",
559
- WIX_USER = "WIX_USER",
560
- APP = "APP"
561
- }
562
- interface TagListNonNullableFields {
563
- tagIds: string[];
564
- }
565
- interface PublicTagsNonNullableFields {
566
- tags?: TagListNonNullableFields;
567
- }
568
- interface DisputeNonNullableFields {
569
- id: string;
570
- chargeId: string;
571
- providerDisputeId: string;
572
- stage: DisputeStage;
573
- reason: DisputeReason;
574
- status: DisputeStatus;
575
- sellerProtection: SellerProtection;
576
- channel: DisputeChannel;
577
- tags?: PublicTagsNonNullableFields;
578
- }
579
- export interface GetDisputeResponseNonNullableFields {
580
- dispute?: DisputeNonNullableFields;
581
- }
582
- export interface QueryDisputesResponseNonNullableFields {
583
- disputes: DisputeNonNullableFields[];
584
- }
585
- interface DisputeActionNonNullableFields {
586
- type: DisputeActionType;
587
- }
588
- export interface GetDisputeActionsResponseNonNullableFields {
589
- actions: DisputeActionNonNullableFields[];
590
- }
591
- export interface AcceptDisputeResponseNonNullableFields {
592
- dispute?: DisputeNonNullableFields;
593
- }
594
- export interface SubmitDisputeEvidenceResponseNonNullableFields {
595
- dispute?: DisputeNonNullableFields;
596
- }
597
- interface ApplicationErrorNonNullableFields {
598
- code: string;
599
- description: string;
600
- }
601
- interface ItemMetadataNonNullableFields {
602
- originalIndex: number;
603
- success: boolean;
604
- error?: ApplicationErrorNonNullableFields;
605
- }
606
- interface BulkUpdateDisputeTagsResultNonNullableFields {
607
- itemMetadata?: ItemMetadataNonNullableFields;
608
- }
609
- interface BulkActionMetadataNonNullableFields {
610
- totalSuccesses: number;
611
- totalFailures: number;
612
- undetailedFailures: number;
613
- }
614
- export interface BulkUpdateDisputeTagsResponseNonNullableFields {
615
- results: BulkUpdateDisputeTagsResultNonNullableFields[];
616
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
617
- }
618
- export interface BulkUpdateDisputeTagsByFilterResponseNonNullableFields {
619
- jobId: string;
620
- }
621
- export {};
422
+
423
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
424
+ getUrl: (context: any) => string;
425
+ httpMethod: K;
426
+ path: string;
427
+ pathParams: M;
428
+ __requestType: T;
429
+ __originalRequestType: S;
430
+ __responseType: Q;
431
+ __originalResponseType: R;
432
+ };
433
+ declare function getDispute(): __PublicMethodMetaInfo<'GET', {
434
+ disputeId: string;
435
+ }, GetDisputeRequest$1, GetDisputeRequest, GetDisputeResponse$1, GetDisputeResponse>;
436
+ declare function queryDisputes(): __PublicMethodMetaInfo<'GET', {}, QueryDisputesRequest$1, QueryDisputesRequest, QueryDisputesResponse$1, QueryDisputesResponse>;
437
+ declare function getDisputeActions(): __PublicMethodMetaInfo<'GET', {
438
+ disputeId: string;
439
+ }, GetDisputeActionsRequest$1, GetDisputeActionsRequest, GetDisputeActionsResponse$1, GetDisputeActionsResponse>;
440
+ declare function acceptDispute(): __PublicMethodMetaInfo<'POST', {
441
+ disputeId: string;
442
+ }, AcceptDisputeRequest$1, AcceptDisputeRequest, AcceptDisputeResponse$1, AcceptDisputeResponse>;
443
+ declare function submitDisputeEvidence(): __PublicMethodMetaInfo<'POST', {
444
+ disputeId: string;
445
+ }, SubmitDisputeEvidenceRequest$1, SubmitDisputeEvidenceRequest, SubmitDisputeEvidenceResponse$1, SubmitDisputeEvidenceResponse>;
446
+ declare function bulkUpdateDisputeTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsRequest$1, BulkUpdateDisputeTagsRequest, BulkUpdateDisputeTagsResponse$1, BulkUpdateDisputeTagsResponse>;
447
+ declare function bulkUpdateDisputeTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeTagsByFilterRequest$1, BulkUpdateDisputeTagsByFilterRequest, BulkUpdateDisputeTagsByFilterResponse$1, BulkUpdateDisputeTagsByFilterResponse>;
448
+
449
+ export { type __PublicMethodMetaInfo, acceptDispute, bulkUpdateDisputeTags, bulkUpdateDisputeTagsByFilter, getDispute, getDisputeActions, queryDisputes, submitDisputeEvidence };