@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/build/cjs/index.d.ts +549 -1
  2. package/build/cjs/index.js +386 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +343 -1
  5. package/build/cjs/meta.js +235 -15
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/index.d.mts} +49 -48
  8. package/build/es/index.mjs +357 -0
  9. package/build/es/index.mjs.map +1 -0
  10. package/build/es/{src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
  11. package/build/es/meta.mjs +208 -0
  12. package/build/es/meta.mjs.map +1 -0
  13. package/build/internal/cjs/index.d.ts +54 -1
  14. package/build/internal/cjs/index.js +386 -15
  15. package/build/internal/cjs/index.js.map +1 -1
  16. package/build/internal/cjs/meta.d.ts +343 -1
  17. package/build/internal/cjs/meta.js +235 -15
  18. package/build/internal/cjs/meta.js.map +1 -1
  19. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → internal/cjs/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -48
  20. package/build/internal/es/index.d.mts +54 -0
  21. package/build/internal/es/index.mjs +357 -0
  22. package/build/internal/es/index.mjs.map +1 -0
  23. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/es/meta.d.mts} +51 -168
  24. package/build/internal/es/meta.mjs +208 -0
  25. package/build/internal/es/meta.mjs.map +1 -0
  26. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
  27. package/package.json +9 -8
  28. package/build/cjs/index.typings.d.ts +0 -1
  29. package/build/cjs/index.typings.js +0 -18
  30. package/build/cjs/index.typings.js.map +0 -1
  31. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  32. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  33. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  34. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  35. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  36. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  37. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  38. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  39. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  40. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  41. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  42. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  43. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  44. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  45. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  46. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  47. package/build/es/index.d.ts +0 -1
  48. package/build/es/index.js +0 -2
  49. package/build/es/index.js.map +0 -1
  50. package/build/es/index.typings.d.ts +0 -1
  51. package/build/es/index.typings.js +0 -2
  52. package/build/es/index.typings.js.map +0 -1
  53. package/build/es/meta.d.ts +0 -1
  54. package/build/es/meta.js +0 -2
  55. package/build/es/meta.js.map +0 -1
  56. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  57. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  58. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  59. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  60. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  61. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  62. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  63. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  64. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  65. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  66. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  67. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  68. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  69. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  70. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  71. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  72. package/build/internal/cjs/index.typings.d.ts +0 -1
  73. package/build/internal/cjs/index.typings.js +0 -18
  74. package/build/internal/cjs/index.typings.js.map +0 -1
  75. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  76. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  77. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  78. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  79. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  80. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  81. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  82. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  83. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  84. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  85. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  86. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  87. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  88. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  89. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  90. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  91. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  92. package/build/internal/es/index.d.ts +0 -1
  93. package/build/internal/es/index.js +0 -2
  94. package/build/internal/es/index.js.map +0 -1
  95. package/build/internal/es/index.typings.d.ts +0 -1
  96. package/build/internal/es/index.typings.js +0 -2
  97. package/build/internal/es/index.typings.js.map +0 -1
  98. package/build/internal/es/meta.d.ts +0 -1
  99. package/build/internal/es/meta.js +0 -2
  100. package/build/internal/es/meta.js.map +0 -1
  101. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  102. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  103. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  104. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  105. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  106. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  107. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  108. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  109. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  110. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  111. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  112. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  113. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  114. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  115. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  116. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts +0 -592
  117. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  118. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
@@ -1 +1,343 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';
1
+ import { GetDisputeHistoryRecordRequest as GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordResponse as GetDisputeHistoryRecordResponse$1, QueryDisputeHistoryRecordsRequest as QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsResponse as QueryDisputeHistoryRecordsResponse$1, BulkUpdateDisputeHistoryRecordTagsRequest as BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsResponse as BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest as BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse as BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1 } from './index.js';
2
+
3
+ /** A DisputeHistoryRecord */
4
+ interface DisputeHistoryRecord {
5
+ /**
6
+ * DisputeHistoryRecord ID.
7
+ * @format GUID
8
+ * @readonly
9
+ * @immutable
10
+ */
11
+ id?: string | null;
12
+ /**
13
+ * Revision number
14
+ * @readonly
15
+ */
16
+ revision?: string | null;
17
+ /**
18
+ * Date and time the DisputeHistoryRecord was created.
19
+ * @readonly
20
+ * @immutable
21
+ */
22
+ createdDate?: Date | null;
23
+ /**
24
+ * Date and time the DisputeHistoryRecord was last updated.
25
+ * @readonly
26
+ * @immutable
27
+ */
28
+ updatedDate?: Date | null;
29
+ /**
30
+ * Dispute ID
31
+ * @format GUID
32
+ * @immutable
33
+ */
34
+ disputeId?: string;
35
+ /**
36
+ * Dispute stage (RFI, Chargeback, so on)
37
+ * @readonly
38
+ * @immutable
39
+ */
40
+ stage?: DisputeStageWithLiterals;
41
+ /**
42
+ * Dispute Status
43
+ * @readonly
44
+ * @immutable
45
+ */
46
+ status?: DisputeStatusWithLiterals;
47
+ /**
48
+ * Due Date
49
+ * @readonly
50
+ * @immutable
51
+ */
52
+ dueDate?: Date | null;
53
+ /**
54
+ * Charge ID
55
+ * @format GUID
56
+ * @readonly
57
+ * @immutable
58
+ */
59
+ chargeId?: string;
60
+ /**
61
+ * Dispute Channel
62
+ * Internal - this dispute is created on provider side
63
+ * External - this dispute is created on bank side
64
+ * @readonly
65
+ * @immutable
66
+ */
67
+ channel?: DisputeChannelWithLiterals;
68
+ /** Data Extensions */
69
+ extendedFields?: ExtendedFields;
70
+ /** Tags */
71
+ tags?: Tags;
72
+ }
73
+ declare enum DisputeStage {
74
+ UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
75
+ /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
76
+ NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
77
+ /** Request for Information / Inquiry */
78
+ RFI = "RFI",
79
+ /** Chargeback */
80
+ CHARGEBACK = "CHARGEBACK"
81
+ }
82
+ /** @enumType */
83
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
84
+ declare enum DisputeStatus {
85
+ /** Unknown status */
86
+ UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
87
+ /** Waiting for some merchant action */
88
+ WAITING_MERCHANT = "WAITING_MERCHANT",
89
+ /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
90
+ UNDER_REVIEW = "UNDER_REVIEW",
91
+ /** Waiting for some buyer action */
92
+ WAITING_BUYER = "WAITING_BUYER",
93
+ /** Dispute won */
94
+ WON = "WON",
95
+ /** Dispute lost */
96
+ LOST = "LOST"
97
+ }
98
+ /** @enumType */
99
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
100
+ declare enum DisputeChannel {
101
+ UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
102
+ /** Internal, the dispute is reviewed by PSP */
103
+ INTERNAL = "INTERNAL",
104
+ /** External, the dispute is reviewed by bank (or other financial institution) */
105
+ EXTERNAL = "EXTERNAL"
106
+ }
107
+ /** @enumType */
108
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
109
+ interface ExtendedFields {
110
+ /**
111
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
112
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
113
+ *
114
+ * You can only access fields for which you have the appropriate permissions.
115
+ *
116
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
117
+ */
118
+ namespaces?: Record<string, Record<string, any>>;
119
+ }
120
+ /**
121
+ * Common object for tags.
122
+ * Should be use as in this example:
123
+ * message Foo {
124
+ * string id = 1;
125
+ * ...
126
+ * Tags tags = 5
127
+ * }
128
+ *
129
+ * example of taggable entity
130
+ * {
131
+ * id: "123"
132
+ * tags: {
133
+ * tags: {
134
+ * tag_ids:["11","22"]
135
+ * },
136
+ * private_tags: {
137
+ * tag_ids: ["33", "44"]
138
+ * }
139
+ * }
140
+ * }
141
+ */
142
+ interface Tags {
143
+ /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
144
+ tags?: TagList;
145
+ }
146
+ interface TagList {
147
+ /**
148
+ * List of tag IDs
149
+ * @maxSize 100
150
+ * @maxLength 5
151
+ */
152
+ tagIds?: string[];
153
+ }
154
+ interface GetDisputeHistoryRecordRequest {
155
+ /**
156
+ * ID of the DisputeHistoryRecord to retrieve.
157
+ * @format GUID
158
+ */
159
+ disputeHistoryRecordId: string;
160
+ }
161
+ interface GetDisputeHistoryRecordResponse {
162
+ /** The requested DisputeHistoryRecord. */
163
+ disputeHistoryRecord?: DisputeHistoryRecord;
164
+ }
165
+ interface QueryDisputeHistoryRecordsRequest {
166
+ /** WQL expression. */
167
+ query?: CursorQuery;
168
+ }
169
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
170
+ /** 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`. */
171
+ cursorPaging?: CursorPaging;
172
+ /**
173
+ * Filter object in the following format:
174
+ * `"filter" : {
175
+ * "fieldName1": "value1",
176
+ * "fieldName2":{"$operator":"value2"}
177
+ * }`
178
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
179
+ */
180
+ filter?: Record<string, any> | null;
181
+ /**
182
+ * Sort object in the following format:
183
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
184
+ * @maxSize 5
185
+ */
186
+ sort?: Sorting[];
187
+ }
188
+ /** @oneof */
189
+ interface CursorQueryPagingMethodOneOf {
190
+ /** 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`. */
191
+ cursorPaging?: CursorPaging;
192
+ }
193
+ interface Sorting {
194
+ /**
195
+ * Name of the field to sort by.
196
+ * @maxLength 512
197
+ */
198
+ fieldName?: string;
199
+ /** Sort order. */
200
+ order?: SortOrderWithLiterals;
201
+ }
202
+ declare enum SortOrder {
203
+ ASC = "ASC",
204
+ DESC = "DESC"
205
+ }
206
+ /** @enumType */
207
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
208
+ interface CursorPaging {
209
+ /**
210
+ * Maximum number of items to return in the results.
211
+ * @max 100
212
+ */
213
+ limit?: number | null;
214
+ /**
215
+ * Pointer to the next or previous page in the list of results.
216
+ *
217
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
218
+ * Not relevant for the first request.
219
+ * @maxLength 16000
220
+ */
221
+ cursor?: string | null;
222
+ }
223
+ interface QueryDisputeHistoryRecordsResponse {
224
+ /** List of DisputeHistoryRecords. */
225
+ disputeHistoryRecords?: DisputeHistoryRecord[];
226
+ /** Paging metadata */
227
+ pagingMetadata?: CursorPagingMetadata;
228
+ }
229
+ interface CursorPagingMetadata {
230
+ /** Number of items returned in the response. */
231
+ count?: number | null;
232
+ /** Cursor strings that point to the next page, previous page, or both. */
233
+ cursors?: Cursors;
234
+ /**
235
+ * Whether there are more pages to retrieve following the current page.
236
+ *
237
+ * + `true`: Another page of results can be retrieved.
238
+ * + `false`: This is the last page.
239
+ */
240
+ hasNext?: boolean | null;
241
+ }
242
+ interface Cursors {
243
+ /**
244
+ * Cursor string pointing to the next page in the list of results.
245
+ * @maxLength 16000
246
+ */
247
+ next?: string | null;
248
+ /**
249
+ * Cursor pointing to the previous page in the list of results.
250
+ * @maxLength 16000
251
+ */
252
+ prev?: string | null;
253
+ }
254
+ interface BulkUpdateDisputeHistoryRecordTagsRequest {
255
+ /**
256
+ * List of NileProtoTagsEntities that their tags will update.
257
+ * @minSize 1
258
+ * @maxSize 100
259
+ * @format GUID
260
+ */
261
+ ids: string[];
262
+ /** List of Tags to assign */
263
+ assignTags?: Tags;
264
+ /** List of Tags to unAssign */
265
+ unassignTags?: Tags;
266
+ }
267
+ interface BulkUpdateDisputeHistoryRecordTagsResponse {
268
+ /**
269
+ * Results
270
+ * @minSize 1
271
+ * @maxSize 100
272
+ */
273
+ results?: BulkUpdateDisputeHistoryRecordTagsResult[];
274
+ /** Metadata regarding the bulk update operation */
275
+ bulkActionMetadata?: BulkActionMetadata;
276
+ }
277
+ interface ItemMetadata {
278
+ /**
279
+ * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
280
+ * @format GUID
281
+ */
282
+ id?: string | null;
283
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
284
+ originalIndex?: number;
285
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
286
+ success?: boolean;
287
+ /** Details about the error in case of failure. */
288
+ error?: ApplicationError;
289
+ }
290
+ interface ApplicationError {
291
+ /** Error code. */
292
+ code?: string;
293
+ /** Description of the error. */
294
+ description?: string;
295
+ /** Data related to the error. */
296
+ data?: Record<string, any> | null;
297
+ }
298
+ interface BulkUpdateDisputeHistoryRecordTagsResult {
299
+ /** Metadata regarding the specific single update operation */
300
+ itemMetadata?: ItemMetadata;
301
+ }
302
+ interface BulkActionMetadata {
303
+ /** Number of items that were successfully processed. */
304
+ totalSuccesses?: number;
305
+ /** Number of items that couldn't be processed. */
306
+ totalFailures?: number;
307
+ /** Number of failures without details because detailed failure threshold was exceeded. */
308
+ undetailedFailures?: number;
309
+ }
310
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
311
+ /** Filter */
312
+ filter: Record<string, any> | null;
313
+ /** List of Tags to assign */
314
+ assignTags?: Tags;
315
+ /** List of Tags to unAssign */
316
+ unassignTags?: Tags;
317
+ }
318
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
319
+ /**
320
+ * Job ID
321
+ * @format GUID
322
+ */
323
+ jobId?: string;
324
+ }
325
+
326
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
327
+ getUrl: (context: any) => string;
328
+ httpMethod: K;
329
+ path: string;
330
+ pathParams: M;
331
+ __requestType: T;
332
+ __originalRequestType: S;
333
+ __responseType: Q;
334
+ __originalResponseType: R;
335
+ };
336
+ declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
337
+ disputeHistoryRecordId: string;
338
+ }, GetDisputeHistoryRecordRequest$1, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse$1, GetDisputeHistoryRecordResponse>;
339
+ declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, QueryDisputeHistoryRecordsRequest$1, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse$1, QueryDisputeHistoryRecordsResponse>;
340
+ declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsRequest$1, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse$1, BulkUpdateDisputeHistoryRecordTagsResponse>;
341
+ declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateDisputeHistoryRecordTagsByFilterRequest$1, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse$1, BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
342
+
343
+ export { type __PublicMethodMetaInfo, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };
package/build/cjs/meta.js CHANGED
@@ -1,18 +1,238 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
15
9
  };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js"), exports);
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ bulkUpdateDisputeHistoryRecordTags: () => bulkUpdateDisputeHistoryRecordTags2,
24
+ bulkUpdateDisputeHistoryRecordTagsByFilter: () => bulkUpdateDisputeHistoryRecordTagsByFilter2,
25
+ getDisputeHistoryRecord: () => getDisputeHistoryRecord2,
26
+ queryDisputeHistoryRecords: () => queryDisputeHistoryRecords2
27
+ });
28
+ module.exports = __toCommonJS(meta_exports);
29
+
30
+ // src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts
31
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
32
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
33
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
34
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
35
+ function resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(opts) {
36
+ const domainToMappings = {};
37
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
38
+ }
39
+ var PACKAGE_NAME = "@wix/auto_sdk_payments_dispute-history-records";
40
+ function getDisputeHistoryRecord(payload) {
41
+ function __getDisputeHistoryRecord({ host }) {
42
+ const metadata = {
43
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
44
+ method: "GET",
45
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord",
46
+ packageName: PACKAGE_NAME,
47
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
48
+ {
49
+ protoPath: "/v1/dispute-history-records/{disputeHistoryRecordId}",
50
+ data: payload,
51
+ host
52
+ }
53
+ ),
54
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
55
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
56
+ {
57
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
58
+ paths: [
59
+ { path: "disputeHistoryRecord.createdDate" },
60
+ { path: "disputeHistoryRecord.updatedDate" },
61
+ { path: "disputeHistoryRecord.dueDate" }
62
+ ]
63
+ }
64
+ ])
65
+ };
66
+ return metadata;
67
+ }
68
+ return __getDisputeHistoryRecord;
69
+ }
70
+ function queryDisputeHistoryRecords(payload) {
71
+ function __queryDisputeHistoryRecords({ host }) {
72
+ const metadata = {
73
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
74
+ method: "POST",
75
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords",
76
+ packageName: PACKAGE_NAME,
77
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
78
+ { protoPath: "/v1/dispute-history-records/query", data: payload, host }
79
+ ),
80
+ data: payload,
81
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
82
+ {
83
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
84
+ paths: [
85
+ { path: "disputeHistoryRecords.createdDate" },
86
+ { path: "disputeHistoryRecords.updatedDate" },
87
+ { path: "disputeHistoryRecords.dueDate" }
88
+ ]
89
+ }
90
+ ]),
91
+ fallback: [
92
+ {
93
+ method: "POST",
94
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
95
+ {
96
+ protoPath: "/v1/dispute-history-records/query",
97
+ data: payload,
98
+ host
99
+ }
100
+ ),
101
+ data: payload
102
+ }
103
+ ]
104
+ };
105
+ return metadata;
106
+ }
107
+ return __queryDisputeHistoryRecords;
108
+ }
109
+ function bulkUpdateDisputeHistoryRecordTags(payload) {
110
+ function __bulkUpdateDisputeHistoryRecordTags({ host }) {
111
+ const metadata = {
112
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
113
+ method: "POST",
114
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags",
115
+ packageName: PACKAGE_NAME,
116
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
117
+ {
118
+ protoPath: "/v1/bulk/dispute-history-records/update-tags",
119
+ data: payload,
120
+ host
121
+ }
122
+ ),
123
+ data: payload
124
+ };
125
+ return metadata;
126
+ }
127
+ return __bulkUpdateDisputeHistoryRecordTags;
128
+ }
129
+ function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
130
+ function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }) {
131
+ const metadata = {
132
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
133
+ method: "POST",
134
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter",
135
+ packageName: PACKAGE_NAME,
136
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
137
+ {
138
+ protoPath: "/v1/bulk/dispute-history-records/update-tags-by-filter",
139
+ data: payload,
140
+ host
141
+ }
142
+ ),
143
+ data: payload
144
+ };
145
+ return metadata;
146
+ }
147
+ return __bulkUpdateDisputeHistoryRecordTagsByFilter;
148
+ }
149
+
150
+ // src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts
151
+ function getDisputeHistoryRecord2() {
152
+ const payload = { disputeHistoryRecordId: ":disputeHistoryRecordId" };
153
+ const getRequestOptions = getDisputeHistoryRecord(
154
+ payload
155
+ );
156
+ const getUrl = (context) => {
157
+ const { url } = getRequestOptions(context);
158
+ return url;
159
+ };
160
+ return {
161
+ getUrl,
162
+ httpMethod: "GET",
163
+ path: "/v1/dispute-history-records/{disputeHistoryRecordId}",
164
+ pathParams: { disputeHistoryRecordId: "disputeHistoryRecordId" },
165
+ __requestType: null,
166
+ __originalRequestType: null,
167
+ __responseType: null,
168
+ __originalResponseType: null
169
+ };
170
+ }
171
+ function queryDisputeHistoryRecords2() {
172
+ const payload = {};
173
+ const getRequestOptions = queryDisputeHistoryRecords(
174
+ payload
175
+ );
176
+ const getUrl = (context) => {
177
+ const { url } = getRequestOptions(context);
178
+ return url;
179
+ };
180
+ return {
181
+ getUrl,
182
+ httpMethod: "GET",
183
+ path: "/v1/dispute-history-records/query",
184
+ pathParams: {},
185
+ __requestType: null,
186
+ __originalRequestType: null,
187
+ __responseType: null,
188
+ __originalResponseType: null
189
+ };
190
+ }
191
+ function bulkUpdateDisputeHistoryRecordTags2() {
192
+ const payload = {};
193
+ const getRequestOptions = bulkUpdateDisputeHistoryRecordTags(
194
+ payload
195
+ );
196
+ const getUrl = (context) => {
197
+ const { url } = getRequestOptions(context);
198
+ return url;
199
+ };
200
+ return {
201
+ getUrl,
202
+ httpMethod: "POST",
203
+ path: "/v1/bulk/dispute-history-records/update-tags",
204
+ pathParams: {},
205
+ __requestType: null,
206
+ __originalRequestType: null,
207
+ __responseType: null,
208
+ __originalResponseType: null
209
+ };
210
+ }
211
+ function bulkUpdateDisputeHistoryRecordTagsByFilter2() {
212
+ const payload = {};
213
+ const getRequestOptions = bulkUpdateDisputeHistoryRecordTagsByFilter(
214
+ payload
215
+ );
216
+ const getUrl = (context) => {
217
+ const { url } = getRequestOptions(context);
218
+ return url;
219
+ };
220
+ return {
221
+ getUrl,
222
+ httpMethod: "POST",
223
+ path: "/v1/bulk/dispute-history-records/update-tags-by-filter",
224
+ pathParams: {},
225
+ __requestType: null,
226
+ __originalRequestType: null,
227
+ __responseType: null,
228
+ __originalResponseType: null
229
+ };
230
+ }
231
+ // Annotate the CommonJS export names for ESM import in node:
232
+ 0 && (module.exports = {
233
+ bulkUpdateDisputeHistoryRecordTags,
234
+ bulkUpdateDisputeHistoryRecordTagsByFilter,
235
+ getDisputeHistoryRecord,
236
+ queryDisputeHistoryRecords
237
+ });
18
238
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mIAAiH"}
1
+ {"version":3,"sources":["../../meta.ts","../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts","../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts"],"sourcesContent":["export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';\n\n/** Retrieves a DisputeHistoryRecord. */\nexport function getDisputeHistoryRecord(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDisputeHistoryRecord({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'GET' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecord.createdDate' },\n { path: 'disputeHistoryRecord.updatedDate' },\n { path: 'disputeHistoryRecord.dueDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getDisputeHistoryRecord;\n}\n\n/** Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1]. */\nexport function queryDisputeHistoryRecords(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryDisputeHistoryRecords({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n { protoPath: '/v1/dispute-history-records/query', data: payload, host }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'disputeHistoryRecords.createdDate' },\n { path: 'disputeHistoryRecords.updatedDate' },\n { path: 'disputeHistoryRecords.dueDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/dispute-history-records/query',\n data: payload,\n host,\n }\n ),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryDisputeHistoryRecords;\n}\n\n/**\n * Synchronously update tags on multiple products, by list of product ids\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdateDisputeHistoryRecordTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTags({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTags;\n}\n\n/**\n * Asynchronously update tags on multiple products, by provided filter\n * An empty filter will update all products\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn:\n 'wix.payments.dispute_history_records.v1.dispute_history_record',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(\n {\n protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateDisputeHistoryRecordTagsByFilter;\n}\n","import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';\nimport * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getDisputeHistoryRecord(): __PublicMethodMetaInfo<\n 'GET',\n { disputeHistoryRecordId: string },\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse\n> {\n const payload = { disputeHistoryRecordId: ':disputeHistoryRecordId' } as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/{disputeHistoryRecordId}',\n pathParams: { disputeHistoryRecordId: 'disputeHistoryRecordId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/dispute-history-records/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse,\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/dispute-history-records/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":"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","names":["bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter","getDisputeHistoryRecord","queryDisputeHistoryRecords","import_rest_modules","payload","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}