@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.15

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} +49 -48
  2. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +49 -48
  3. package/build/index.js +389 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +357 -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 +389 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +357 -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} +51 -168
  14. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
  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-BpPZdD2w.d.mts} +49 -92
  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-BpPZdD2w.d.ts} +49 -92
  21. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
  22. package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
  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 +12 -11
  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 -246
  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 -216
  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 -246
  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 -216
  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 { 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
+
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",
@@ -78,8 +80,8 @@ export declare enum DisputeStage {
78
80
  CHARGEBACK = "CHARGEBACK"
79
81
  }
80
82
  /** @enumType */
81
- export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
82
- export declare enum DisputeStatus {
83
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
84
+ declare enum DisputeStatus {
83
85
  /** Unknown status */
84
86
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
85
87
  /** Waiting for some merchant action */
@@ -94,8 +96,8 @@ export declare enum DisputeStatus {
94
96
  LOST = "LOST"
95
97
  }
96
98
  /** @enumType */
97
- export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
98
- export declare enum DisputeChannel {
99
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
100
+ declare enum DisputeChannel {
99
101
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
100
102
  /** Internal, the dispute is reviewed by PSP */
101
103
  INTERNAL = "INTERNAL",
@@ -103,8 +105,8 @@ export declare enum DisputeChannel {
103
105
  EXTERNAL = "EXTERNAL"
104
106
  }
105
107
  /** @enumType */
106
- export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
107
- export interface ExtendedFields {
108
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
109
+ interface ExtendedFields {
108
110
  /**
109
111
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
110
112
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -137,11 +139,11 @@ export interface ExtendedFields {
137
139
  * }
138
140
  * }
139
141
  */
140
- export interface Tags {
142
+ interface Tags {
141
143
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
142
144
  tags?: TagList;
143
145
  }
144
- export interface TagList {
146
+ interface TagList {
145
147
  /**
146
148
  * List of tag IDs
147
149
  * @maxSize 100
@@ -149,22 +151,22 @@ export interface TagList {
149
151
  */
150
152
  tagIds?: string[];
151
153
  }
152
- export interface GetDisputeHistoryRecordRequest {
154
+ interface GetDisputeHistoryRecordRequest {
153
155
  /**
154
156
  * ID of the DisputeHistoryRecord to retrieve.
155
157
  * @format GUID
156
158
  */
157
159
  disputeHistoryRecordId: string;
158
160
  }
159
- export interface GetDisputeHistoryRecordResponse {
161
+ interface GetDisputeHistoryRecordResponse {
160
162
  /** The requested DisputeHistoryRecord. */
161
163
  disputeHistoryRecord?: DisputeHistoryRecord;
162
164
  }
163
- export interface QueryDisputeHistoryRecordsRequest {
165
+ interface QueryDisputeHistoryRecordsRequest {
164
166
  /** WQL expression. */
165
167
  query?: CursorQuery;
166
168
  }
167
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
169
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
168
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`. */
169
171
  cursorPaging?: CursorPaging;
170
172
  /**
@@ -184,11 +186,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
184
186
  sort?: Sorting[];
185
187
  }
186
188
  /** @oneof */
187
- export interface CursorQueryPagingMethodOneOf {
189
+ interface CursorQueryPagingMethodOneOf {
188
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`. */
189
191
  cursorPaging?: CursorPaging;
190
192
  }
191
- export interface Sorting {
193
+ interface Sorting {
192
194
  /**
193
195
  * Name of the field to sort by.
194
196
  * @maxLength 512
@@ -197,13 +199,13 @@ export interface Sorting {
197
199
  /** Sort order. */
198
200
  order?: SortOrderWithLiterals;
199
201
  }
200
- export declare enum SortOrder {
202
+ declare enum SortOrder {
201
203
  ASC = "ASC",
202
204
  DESC = "DESC"
203
205
  }
204
206
  /** @enumType */
205
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
206
- export interface CursorPaging {
207
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
208
+ interface CursorPaging {
207
209
  /**
208
210
  * Maximum number of items to return in the results.
209
211
  * @max 100
@@ -218,13 +220,13 @@ export interface CursorPaging {
218
220
  */
219
221
  cursor?: string | null;
220
222
  }
221
- export interface QueryDisputeHistoryRecordsResponse {
223
+ interface QueryDisputeHistoryRecordsResponse {
222
224
  /** List of DisputeHistoryRecords. */
223
225
  disputeHistoryRecords?: DisputeHistoryRecord[];
224
226
  /** Paging metadata */
225
227
  pagingMetadata?: CursorPagingMetadata;
226
228
  }
227
- export interface CursorPagingMetadata {
229
+ interface CursorPagingMetadata {
228
230
  /** Number of items returned in the response. */
229
231
  count?: number | null;
230
232
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -237,7 +239,7 @@ export interface CursorPagingMetadata {
237
239
  */
238
240
  hasNext?: boolean | null;
239
241
  }
240
- export interface Cursors {
242
+ interface Cursors {
241
243
  /**
242
244
  * Cursor string pointing to the next page in the list of results.
243
245
  * @maxLength 16000
@@ -249,73 +251,7 @@ export interface Cursors {
249
251
  */
250
252
  prev?: string | null;
251
253
  }
252
- export interface DomainEvent extends DomainEventBodyOneOf {
253
- createdEvent?: EntityCreatedEvent;
254
- updatedEvent?: EntityUpdatedEvent;
255
- deletedEvent?: EntityDeletedEvent;
256
- actionEvent?: ActionEvent;
257
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
258
- id?: string;
259
- /**
260
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
261
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
262
- */
263
- entityFqdn?: string;
264
- /**
265
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
266
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
267
- */
268
- slug?: string;
269
- /** ID of the entity associated with the event. */
270
- entityId?: string;
271
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
272
- eventTime?: Date | null;
273
- /**
274
- * Whether the event was triggered as a result of a privacy regulation application
275
- * (for example, GDPR).
276
- */
277
- triggeredByAnonymizeRequest?: boolean | null;
278
- /** If present, indicates the action that triggered the event. */
279
- originatedFrom?: string | null;
280
- /**
281
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
282
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
283
- */
284
- entityEventSequence?: string | null;
285
- }
286
- /** @oneof */
287
- export interface DomainEventBodyOneOf {
288
- createdEvent?: EntityCreatedEvent;
289
- updatedEvent?: EntityUpdatedEvent;
290
- deletedEvent?: EntityDeletedEvent;
291
- actionEvent?: ActionEvent;
292
- }
293
- export interface EntityCreatedEvent {
294
- entityAsJson?: string;
295
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
296
- restoreInfo?: RestoreInfo;
297
- }
298
- export interface RestoreInfo {
299
- deletedDate?: Date | null;
300
- }
301
- export interface EntityUpdatedEvent {
302
- /**
303
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
304
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
305
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
306
- */
307
- currentEntityAsJson?: string;
308
- }
309
- export interface EntityDeletedEvent {
310
- /** Entity that was deleted. */
311
- deletedEntityAsJson?: string | null;
312
- }
313
- export interface ActionEvent {
314
- bodyAsJson?: string;
315
- }
316
- export interface Empty {
317
- }
318
- export interface BulkUpdateDisputeHistoryRecordTagsRequest {
254
+ interface BulkUpdateDisputeHistoryRecordTagsRequest {
319
255
  /**
320
256
  * List of NileProtoTagsEntities that their tags will update.
321
257
  * @minSize 1
@@ -328,7 +264,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
328
264
  /** List of Tags to unAssign */
329
265
  unassignTags?: Tags;
330
266
  }
331
- export interface BulkUpdateDisputeHistoryRecordTagsResponse {
267
+ interface BulkUpdateDisputeHistoryRecordTagsResponse {
332
268
  /**
333
269
  * Results
334
270
  * @minSize 1
@@ -338,7 +274,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
338
274
  /** Metadata regarding the bulk update operation */
339
275
  bulkActionMetadata?: BulkActionMetadata;
340
276
  }
341
- export interface ItemMetadata {
277
+ interface ItemMetadata {
342
278
  /**
343
279
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
344
280
  * @format GUID
@@ -351,7 +287,7 @@ export interface ItemMetadata {
351
287
  /** Details about the error in case of failure. */
352
288
  error?: ApplicationError;
353
289
  }
354
- export interface ApplicationError {
290
+ interface ApplicationError {
355
291
  /** Error code. */
356
292
  code?: string;
357
293
  /** Description of the error. */
@@ -359,11 +295,11 @@ export interface ApplicationError {
359
295
  /** Data related to the error. */
360
296
  data?: Record<string, any> | null;
361
297
  }
362
- export interface BulkUpdateDisputeHistoryRecordTagsResult {
298
+ interface BulkUpdateDisputeHistoryRecordTagsResult {
363
299
  /** Metadata regarding the specific single update operation */
364
300
  itemMetadata?: ItemMetadata;
365
301
  }
366
- export interface BulkActionMetadata {
302
+ interface BulkActionMetadata {
367
303
  /** Number of items that were successfully processed. */
368
304
  totalSuccesses?: number;
369
305
  /** Number of items that couldn't be processed. */
@@ -371,7 +307,7 @@ export interface BulkActionMetadata {
371
307
  /** Number of failures without details because detailed failure threshold was exceeded. */
372
308
  undetailedFailures?: number;
373
309
  }
374
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
310
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
375
311
  /** Filter */
376
312
  filter: Record<string, any> | null;
377
313
  /** List of Tags to assign */
@@ -379,82 +315,29 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
379
315
  /** List of Tags to unAssign */
380
316
  unassignTags?: Tags;
381
317
  }
382
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
318
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
383
319
  /**
384
320
  * Job ID
385
321
  * @format GUID
386
322
  */
387
323
  jobId?: string;
388
324
  }
389
- export interface MessageEnvelope {
390
- /**
391
- * App instance ID.
392
- * @format GUID
393
- */
394
- instanceId?: string | null;
395
- /**
396
- * Event type.
397
- * @maxLength 150
398
- */
399
- eventType?: string;
400
- /** The identification type and identity data. */
401
- identity?: IdentificationData;
402
- /** Stringify payload. */
403
- data?: string;
404
- }
405
- export interface IdentificationData extends IdentificationDataIdOneOf {
406
- /**
407
- * ID of a site visitor that has not logged in to the site.
408
- * @format GUID
409
- */
410
- anonymousVisitorId?: string;
411
- /**
412
- * ID of a site visitor that has logged in to the site.
413
- * @format GUID
414
- */
415
- memberId?: string;
416
- /**
417
- * ID of a Wix user (site owner, contributor, etc.).
418
- * @format GUID
419
- */
420
- wixUserId?: string;
421
- /**
422
- * ID of an app.
423
- * @format GUID
424
- */
425
- appId?: string;
426
- /** @readonly */
427
- identityType?: WebhookIdentityTypeWithLiterals;
428
- }
429
- /** @oneof */
430
- export interface IdentificationDataIdOneOf {
431
- /**
432
- * ID of a site visitor that has not logged in to the site.
433
- * @format GUID
434
- */
435
- anonymousVisitorId?: string;
436
- /**
437
- * ID of a site visitor that has logged in to the site.
438
- * @format GUID
439
- */
440
- memberId?: string;
441
- /**
442
- * ID of a Wix user (site owner, contributor, etc.).
443
- * @format GUID
444
- */
445
- wixUserId?: string;
446
- /**
447
- * ID of an app.
448
- * @format GUID
449
- */
450
- appId?: string;
451
- }
452
- export declare enum WebhookIdentityType {
453
- UNKNOWN = "UNKNOWN",
454
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
455
- MEMBER = "MEMBER",
456
- WIX_USER = "WIX_USER",
457
- APP = "APP"
458
- }
459
- /** @enumType */
460
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
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/meta.js ADDED
@@ -0,0 +1,238 @@
1
+ "use strict";
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 });
9
+ };
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
+ });
238
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
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"]}