@wix/auto_sdk_payments_dispute-history-records 1.0.3 → 1.0.5

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-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.mts} +44 -87
  2. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +44 -87
  3. package/build/index.js +386 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +354 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +54 -0
  8. package/build/internal/index.d.ts +54 -0
  9. package/build/internal/index.js +386 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +354 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/meta.d.mts} +47 -215
  14. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
  15. package/build/internal/meta.js +238 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +208 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.mts} +44 -129
  20. package/build/internal/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.d.ts} +44 -129
  21. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +47 -215
  22. package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
  23. package/build/meta.js +238 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +208 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/package.json +14 -13
  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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  38. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  39. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  40. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  41. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  42. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  43. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  44. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  45. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  46. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  47. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  48. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  49. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  50. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  51. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -244
  52. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  64. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  65. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  66. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  67. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  68. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  69. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  70. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  71. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  72. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  73. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  74. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  75. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  76. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  77. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -214
  78. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  89. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  90. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  91. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  92. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  93. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  94. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  95. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  96. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  97. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  98. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  99. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  100. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  101. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  102. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -244
  103. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.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-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  114. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  115. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  116. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  117. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  118. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  119. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  120. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  121. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  122. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  123. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  124. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  125. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  126. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  127. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -214
  128. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
@@ -1,5 +1,7 @@
1
+ import { G as GetDisputeHistoryRecordRequest$1, i as GetDisputeHistoryRecordResponse$1, Q as QueryDisputeHistoryRecordsRequest$1, m as QueryDisputeHistoryRecordsResponse$1, v as BulkUpdateDisputeHistoryRecordTagsRequest$1, b as BulkUpdateDisputeHistoryRecordTagsResponse$1, z as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, d as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-60Otw4pt.mjs';
2
+
1
3
  /** A DisputeHistoryRecord */
2
- export interface DisputeHistoryRecord {
4
+ interface DisputeHistoryRecord {
3
5
  /**
4
6
  * DisputeHistoryRecord ID.
5
7
  * @format GUID
@@ -68,7 +70,7 @@ export interface DisputeHistoryRecord {
68
70
  /** Tags */
69
71
  tags?: Tags;
70
72
  }
71
- export declare enum DisputeStage {
73
+ declare enum DisputeStage {
72
74
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
73
75
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
74
76
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -77,7 +79,7 @@ export declare enum DisputeStage {
77
79
  /** Chargeback */
78
80
  CHARGEBACK = "CHARGEBACK"
79
81
  }
80
- export declare enum DisputeStatus {
82
+ declare enum DisputeStatus {
81
83
  /** Unknown status */
82
84
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
83
85
  /** Waiting for some merchant action */
@@ -91,14 +93,14 @@ export declare enum DisputeStatus {
91
93
  /** Dispute lost */
92
94
  LOST = "LOST"
93
95
  }
94
- export declare enum DisputeChannel {
96
+ declare enum DisputeChannel {
95
97
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
96
98
  /** Internal, the dispute is reviewed by PSP */
97
99
  INTERNAL = "INTERNAL",
98
100
  /** External, the dispute is reviewed by bank (or other financial institution) */
99
101
  EXTERNAL = "EXTERNAL"
100
102
  }
101
- export interface ExtendedFields {
103
+ interface ExtendedFields {
102
104
  /**
103
105
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
104
106
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -131,11 +133,11 @@ export interface ExtendedFields {
131
133
  * }
132
134
  * }
133
135
  */
134
- export interface Tags {
136
+ interface Tags {
135
137
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
136
138
  tags?: TagList;
137
139
  }
138
- export interface TagList {
140
+ interface TagList {
139
141
  /**
140
142
  * List of tag IDs
141
143
  * @maxSize 100
@@ -143,22 +145,22 @@ export interface TagList {
143
145
  */
144
146
  tagIds?: string[];
145
147
  }
146
- export interface GetDisputeHistoryRecordRequest {
148
+ interface GetDisputeHistoryRecordRequest {
147
149
  /**
148
150
  * ID of the DisputeHistoryRecord to retrieve.
149
151
  * @format GUID
150
152
  */
151
153
  disputeHistoryRecordId: string;
152
154
  }
153
- export interface GetDisputeHistoryRecordResponse {
155
+ interface GetDisputeHistoryRecordResponse {
154
156
  /** The requested DisputeHistoryRecord. */
155
157
  disputeHistoryRecord?: DisputeHistoryRecord;
156
158
  }
157
- export interface QueryDisputeHistoryRecordsRequest {
159
+ interface QueryDisputeHistoryRecordsRequest {
158
160
  /** WQL expression. */
159
161
  query?: CursorQuery;
160
162
  }
161
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
163
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
162
164
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
163
165
  cursorPaging?: CursorPaging;
164
166
  /**
@@ -178,11 +180,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
178
180
  sort?: Sorting[];
179
181
  }
180
182
  /** @oneof */
181
- export interface CursorQueryPagingMethodOneOf {
183
+ interface CursorQueryPagingMethodOneOf {
182
184
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
183
185
  cursorPaging?: CursorPaging;
184
186
  }
185
- export interface Sorting {
187
+ interface Sorting {
186
188
  /**
187
189
  * Name of the field to sort by.
188
190
  * @maxLength 512
@@ -191,11 +193,11 @@ export interface Sorting {
191
193
  /** Sort order. */
192
194
  order?: SortOrder;
193
195
  }
194
- export declare enum SortOrder {
196
+ declare enum SortOrder {
195
197
  ASC = "ASC",
196
198
  DESC = "DESC"
197
199
  }
198
- export interface CursorPaging {
200
+ interface CursorPaging {
199
201
  /**
200
202
  * Maximum number of items to return in the results.
201
203
  * @max 100
@@ -210,13 +212,13 @@ export interface CursorPaging {
210
212
  */
211
213
  cursor?: string | null;
212
214
  }
213
- export interface QueryDisputeHistoryRecordsResponse {
215
+ interface QueryDisputeHistoryRecordsResponse {
214
216
  /** List of DisputeHistoryRecords. */
215
217
  disputeHistoryRecords?: DisputeHistoryRecord[];
216
218
  /** Paging metadata */
217
219
  pagingMetadata?: CursorPagingMetadata;
218
220
  }
219
- export interface CursorPagingMetadata {
221
+ interface CursorPagingMetadata {
220
222
  /** Number of items returned in the response. */
221
223
  count?: number | null;
222
224
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -229,7 +231,7 @@ export interface CursorPagingMetadata {
229
231
  */
230
232
  hasNext?: boolean | null;
231
233
  }
232
- export interface Cursors {
234
+ interface Cursors {
233
235
  /**
234
236
  * Cursor string pointing to the next page in the list of results.
235
237
  * @maxLength 16000
@@ -241,81 +243,7 @@ export interface Cursors {
241
243
  */
242
244
  prev?: string | null;
243
245
  }
244
- export interface DomainEvent extends DomainEventBodyOneOf {
245
- createdEvent?: EntityCreatedEvent;
246
- updatedEvent?: EntityUpdatedEvent;
247
- deletedEvent?: EntityDeletedEvent;
248
- actionEvent?: ActionEvent;
249
- /**
250
- * Unique event ID.
251
- * Allows clients to ignore duplicate webhooks.
252
- */
253
- id?: string;
254
- /**
255
- * Assumes actions are also always typed to an entity_type
256
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
257
- */
258
- entityFqdn?: string;
259
- /**
260
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
261
- * This is although the created/updated/deleted notion is duplication of the oneof types
262
- * Example: created/updated/deleted/started/completed/email_opened
263
- */
264
- slug?: string;
265
- /** ID of the entity associated with the event. */
266
- entityId?: string;
267
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
268
- eventTime?: Date | null;
269
- /**
270
- * Whether the event was triggered as a result of a privacy regulation application
271
- * (for example, GDPR).
272
- */
273
- triggeredByAnonymizeRequest?: boolean | null;
274
- /** If present, indicates the action that triggered the event. */
275
- originatedFrom?: string | null;
276
- /**
277
- * A sequence number defining the order of updates to the underlying entity.
278
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
279
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
280
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
281
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
282
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
283
- */
284
- entityEventSequence?: string | null;
285
- }
286
- /** @oneof */
287
- export interface DomainEventBodyOneOf {
288
- createdEvent?: EntityCreatedEvent;
289
- updatedEvent?: EntityUpdatedEvent;
290
- deletedEvent?: EntityDeletedEvent;
291
- actionEvent?: ActionEvent;
292
- }
293
- export interface EntityCreatedEvent {
294
- entityAsJson?: string;
295
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
296
- restoreInfo?: RestoreInfo;
297
- }
298
- export interface RestoreInfo {
299
- deletedDate?: Date | null;
300
- }
301
- export interface EntityUpdatedEvent {
302
- /**
303
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
304
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
305
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
306
- */
307
- currentEntityAsJson?: string;
308
- }
309
- export interface EntityDeletedEvent {
310
- /** Entity that was deleted */
311
- deletedEntityAsJson?: string | null;
312
- }
313
- export interface ActionEvent {
314
- bodyAsJson?: string;
315
- }
316
- export interface Empty {
317
- }
318
- export interface BulkUpdateDisputeHistoryRecordTagsRequest {
246
+ interface BulkUpdateDisputeHistoryRecordTagsRequest {
319
247
  /**
320
248
  * List of NileProtoTagsEntities that their tags will update.
321
249
  * @minSize 1
@@ -328,7 +256,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
328
256
  /** List of Tags to unAssign */
329
257
  unassignTags?: Tags;
330
258
  }
331
- export interface BulkUpdateDisputeHistoryRecordTagsResponse {
259
+ interface BulkUpdateDisputeHistoryRecordTagsResponse {
332
260
  /**
333
261
  * Results
334
262
  * @minSize 1
@@ -338,7 +266,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
338
266
  /** Metadata regarding the bulk update operation */
339
267
  bulkActionMetadata?: BulkActionMetadata;
340
268
  }
341
- export interface ItemMetadata {
269
+ interface ItemMetadata {
342
270
  /**
343
271
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
344
272
  * @format GUID
@@ -351,7 +279,7 @@ export interface ItemMetadata {
351
279
  /** Details about the error in case of failure. */
352
280
  error?: ApplicationError;
353
281
  }
354
- export interface ApplicationError {
282
+ interface ApplicationError {
355
283
  /** Error code. */
356
284
  code?: string;
357
285
  /** Description of the error. */
@@ -359,11 +287,11 @@ export interface ApplicationError {
359
287
  /** Data related to the error. */
360
288
  data?: Record<string, any> | null;
361
289
  }
362
- export interface BulkUpdateDisputeHistoryRecordTagsResult {
290
+ interface BulkUpdateDisputeHistoryRecordTagsResult {
363
291
  /** Metadata regarding the specific single update operation */
364
292
  itemMetadata?: ItemMetadata;
365
293
  }
366
- export interface BulkActionMetadata {
294
+ interface BulkActionMetadata {
367
295
  /** Number of items that were successfully processed. */
368
296
  totalSuccesses?: number;
369
297
  /** Number of items that couldn't be processed. */
@@ -371,7 +299,7 @@ export interface BulkActionMetadata {
371
299
  /** Number of failures without details because detailed failure threshold was exceeded. */
372
300
  undetailedFailures?: number;
373
301
  }
374
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
302
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
375
303
  /** Filter */
376
304
  filter: Record<string, any> | null;
377
305
  /** List of Tags to assign */
@@ -379,125 +307,29 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
379
307
  /** List of Tags to unAssign */
380
308
  unassignTags?: Tags;
381
309
  }
382
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
310
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
383
311
  /**
384
312
  * Job ID
385
313
  * @format GUID
386
314
  */
387
315
  jobId?: string;
388
316
  }
389
- export interface MessageEnvelope {
390
- /**
391
- * App instance ID.
392
- * @format GUID
393
- */
394
- instanceId?: string | null;
395
- /**
396
- * Event type.
397
- * @maxLength 150
398
- */
399
- eventType?: string;
400
- /** The identification type and identity data. */
401
- identity?: IdentificationData;
402
- /** Stringify payload. */
403
- data?: string;
404
- }
405
- export interface IdentificationData extends IdentificationDataIdOneOf {
406
- /**
407
- * ID of a site visitor that has not logged in to the site.
408
- * @format GUID
409
- */
410
- anonymousVisitorId?: string;
411
- /**
412
- * ID of a site visitor that has logged in to the site.
413
- * @format GUID
414
- */
415
- memberId?: string;
416
- /**
417
- * ID of a Wix user (site owner, contributor, etc.).
418
- * @format GUID
419
- */
420
- wixUserId?: string;
421
- /**
422
- * ID of an app.
423
- * @format GUID
424
- */
425
- appId?: string;
426
- /** @readonly */
427
- identityType?: WebhookIdentityType;
428
- }
429
- /** @oneof */
430
- export interface IdentificationDataIdOneOf {
431
- /**
432
- * ID of a site visitor that has not logged in to the site.
433
- * @format GUID
434
- */
435
- anonymousVisitorId?: string;
436
- /**
437
- * ID of a site visitor that has logged in to the site.
438
- * @format GUID
439
- */
440
- memberId?: string;
441
- /**
442
- * ID of a Wix user (site owner, contributor, etc.).
443
- * @format GUID
444
- */
445
- wixUserId?: string;
446
- /**
447
- * ID of an app.
448
- * @format GUID
449
- */
450
- appId?: string;
451
- }
452
- export declare enum WebhookIdentityType {
453
- UNKNOWN = "UNKNOWN",
454
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
455
- MEMBER = "MEMBER",
456
- WIX_USER = "WIX_USER",
457
- APP = "APP"
458
- }
459
- interface TagListNonNullableFields {
460
- tagIds: string[];
461
- }
462
- interface TagsNonNullableFields {
463
- tags?: TagListNonNullableFields;
464
- }
465
- interface DisputeHistoryRecordNonNullableFields {
466
- disputeId: string;
467
- stage: DisputeStage;
468
- status: DisputeStatus;
469
- chargeId: string;
470
- channel: DisputeChannel;
471
- tags?: TagsNonNullableFields;
472
- }
473
- export interface GetDisputeHistoryRecordResponseNonNullableFields {
474
- disputeHistoryRecord?: DisputeHistoryRecordNonNullableFields;
475
- }
476
- export interface QueryDisputeHistoryRecordsResponseNonNullableFields {
477
- disputeHistoryRecords: DisputeHistoryRecordNonNullableFields[];
478
- }
479
- interface ApplicationErrorNonNullableFields {
480
- code: string;
481
- description: string;
482
- }
483
- interface ItemMetadataNonNullableFields {
484
- originalIndex: number;
485
- success: boolean;
486
- error?: ApplicationErrorNonNullableFields;
487
- }
488
- interface BulkUpdateDisputeHistoryRecordTagsResultNonNullableFields {
489
- itemMetadata?: ItemMetadataNonNullableFields;
490
- }
491
- interface BulkActionMetadataNonNullableFields {
492
- totalSuccesses: number;
493
- totalFailures: number;
494
- undetailedFailures: number;
495
- }
496
- export interface BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields {
497
- results: BulkUpdateDisputeHistoryRecordTagsResultNonNullableFields[];
498
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
499
- }
500
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields {
501
- jobId: string;
502
- }
503
- export {};
317
+
318
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
319
+ getUrl: (context: any) => string;
320
+ httpMethod: K;
321
+ path: string;
322
+ pathParams: M;
323
+ __requestType: T;
324
+ __originalRequestType: S;
325
+ __responseType: Q;
326
+ __originalResponseType: R;
327
+ };
328
+ declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
329
+ disputeHistoryRecordId: string;
330
+ }, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
331
+ declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
332
+ declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
333
+ declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
334
+
335
+ export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };