@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
@@ -0,0 +1,208 @@
1
+ // src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
4
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
5
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
6
+ function resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(opts) {
7
+ const domainToMappings = {};
8
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
9
+ }
10
+ var PACKAGE_NAME = "@wix/auto_sdk_payments_dispute-history-records";
11
+ function getDisputeHistoryRecord(payload) {
12
+ function __getDisputeHistoryRecord({ host }) {
13
+ const metadata = {
14
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
15
+ method: "GET",
16
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord",
17
+ packageName: PACKAGE_NAME,
18
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
19
+ {
20
+ protoPath: "/v1/dispute-history-records/{disputeHistoryRecordId}",
21
+ data: payload,
22
+ host
23
+ }
24
+ ),
25
+ params: toURLSearchParams(payload),
26
+ transformResponse: (payload2) => transformPaths(payload2, [
27
+ {
28
+ transformFn: transformRESTTimestampToSDKTimestamp,
29
+ paths: [
30
+ { path: "disputeHistoryRecord.createdDate" },
31
+ { path: "disputeHistoryRecord.updatedDate" },
32
+ { path: "disputeHistoryRecord.dueDate" }
33
+ ]
34
+ }
35
+ ])
36
+ };
37
+ return metadata;
38
+ }
39
+ return __getDisputeHistoryRecord;
40
+ }
41
+ function queryDisputeHistoryRecords(payload) {
42
+ function __queryDisputeHistoryRecords({ host }) {
43
+ const metadata = {
44
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
45
+ method: "POST",
46
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords",
47
+ packageName: PACKAGE_NAME,
48
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
49
+ { protoPath: "/v1/dispute-history-records/query", data: payload, host }
50
+ ),
51
+ data: payload,
52
+ transformResponse: (payload2) => transformPaths(payload2, [
53
+ {
54
+ transformFn: transformRESTTimestampToSDKTimestamp,
55
+ paths: [
56
+ { path: "disputeHistoryRecords.createdDate" },
57
+ { path: "disputeHistoryRecords.updatedDate" },
58
+ { path: "disputeHistoryRecords.dueDate" }
59
+ ]
60
+ }
61
+ ]),
62
+ fallback: [
63
+ {
64
+ method: "POST",
65
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
66
+ {
67
+ protoPath: "/v1/dispute-history-records/query",
68
+ data: payload,
69
+ host
70
+ }
71
+ ),
72
+ data: payload
73
+ }
74
+ ]
75
+ };
76
+ return metadata;
77
+ }
78
+ return __queryDisputeHistoryRecords;
79
+ }
80
+ function bulkUpdateDisputeHistoryRecordTags(payload) {
81
+ function __bulkUpdateDisputeHistoryRecordTags({ host }) {
82
+ const metadata = {
83
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
84
+ method: "POST",
85
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags",
86
+ packageName: PACKAGE_NAME,
87
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
88
+ {
89
+ protoPath: "/v1/bulk/dispute-history-records/update-tags",
90
+ data: payload,
91
+ host
92
+ }
93
+ ),
94
+ data: payload
95
+ };
96
+ return metadata;
97
+ }
98
+ return __bulkUpdateDisputeHistoryRecordTags;
99
+ }
100
+ function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
101
+ function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }) {
102
+ const metadata = {
103
+ entityFqdn: "wix.payments.dispute_history_records.v1.dispute_history_record",
104
+ method: "POST",
105
+ methodFqn: "wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter",
106
+ packageName: PACKAGE_NAME,
107
+ url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(
108
+ {
109
+ protoPath: "/v1/bulk/dispute-history-records/update-tags-by-filter",
110
+ data: payload,
111
+ host
112
+ }
113
+ ),
114
+ data: payload
115
+ };
116
+ return metadata;
117
+ }
118
+ return __bulkUpdateDisputeHistoryRecordTagsByFilter;
119
+ }
120
+
121
+ // src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts
122
+ function getDisputeHistoryRecord2() {
123
+ const payload = { disputeHistoryRecordId: ":disputeHistoryRecordId" };
124
+ const getRequestOptions = getDisputeHistoryRecord(
125
+ payload
126
+ );
127
+ const getUrl = (context) => {
128
+ const { url } = getRequestOptions(context);
129
+ return url;
130
+ };
131
+ return {
132
+ getUrl,
133
+ httpMethod: "GET",
134
+ path: "/v1/dispute-history-records/{disputeHistoryRecordId}",
135
+ pathParams: { disputeHistoryRecordId: "disputeHistoryRecordId" },
136
+ __requestType: null,
137
+ __originalRequestType: null,
138
+ __responseType: null,
139
+ __originalResponseType: null
140
+ };
141
+ }
142
+ function queryDisputeHistoryRecords2() {
143
+ const payload = {};
144
+ const getRequestOptions = queryDisputeHistoryRecords(
145
+ payload
146
+ );
147
+ const getUrl = (context) => {
148
+ const { url } = getRequestOptions(context);
149
+ return url;
150
+ };
151
+ return {
152
+ getUrl,
153
+ httpMethod: "GET",
154
+ path: "/v1/dispute-history-records/query",
155
+ pathParams: {},
156
+ __requestType: null,
157
+ __originalRequestType: null,
158
+ __responseType: null,
159
+ __originalResponseType: null
160
+ };
161
+ }
162
+ function bulkUpdateDisputeHistoryRecordTags2() {
163
+ const payload = {};
164
+ const getRequestOptions = bulkUpdateDisputeHistoryRecordTags(
165
+ payload
166
+ );
167
+ const getUrl = (context) => {
168
+ const { url } = getRequestOptions(context);
169
+ return url;
170
+ };
171
+ return {
172
+ getUrl,
173
+ httpMethod: "POST",
174
+ path: "/v1/bulk/dispute-history-records/update-tags",
175
+ pathParams: {},
176
+ __requestType: null,
177
+ __originalRequestType: null,
178
+ __responseType: null,
179
+ __originalResponseType: null
180
+ };
181
+ }
182
+ function bulkUpdateDisputeHistoryRecordTagsByFilter2() {
183
+ const payload = {};
184
+ const getRequestOptions = bulkUpdateDisputeHistoryRecordTagsByFilter(
185
+ payload
186
+ );
187
+ const getUrl = (context) => {
188
+ const { url } = getRequestOptions(context);
189
+ return url;
190
+ };
191
+ return {
192
+ getUrl,
193
+ httpMethod: "POST",
194
+ path: "/v1/bulk/dispute-history-records/update-tags-by-filter",
195
+ pathParams: {},
196
+ __requestType: null,
197
+ __originalRequestType: null,
198
+ __responseType: null,
199
+ __originalResponseType: null
200
+ };
201
+ }
202
+ export {
203
+ bulkUpdateDisputeHistoryRecordTags2 as bulkUpdateDisputeHistoryRecordTags,
204
+ bulkUpdateDisputeHistoryRecordTagsByFilter2 as bulkUpdateDisputeHistoryRecordTagsByFilter,
205
+ getDisputeHistoryRecord2 as getDisputeHistoryRecord,
206
+ queryDisputeHistoryRecords2 as queryDisputeHistoryRecords
207
+ };
208
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../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":["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":["payload","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}
@@ -1,6 +1,5 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
1
  /** A DisputeHistoryRecord */
3
- export interface DisputeHistoryRecord {
2
+ interface DisputeHistoryRecord {
4
3
  /**
5
4
  * DisputeHistoryRecord ID.
6
5
  * @format GUID
@@ -69,7 +68,7 @@ export interface DisputeHistoryRecord {
69
68
  /** Tags */
70
69
  tags?: Tags;
71
70
  }
72
- export declare enum DisputeStage {
71
+ declare enum DisputeStage {
73
72
  UNKNOWN_DISPUTE_STAGE = "UNKNOWN_DISPUTE_STAGE",
74
73
  /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
75
74
  NOTIFICATION_OF_FRAUD = "NOTIFICATION_OF_FRAUD",
@@ -79,8 +78,8 @@ export declare enum DisputeStage {
79
78
  CHARGEBACK = "CHARGEBACK"
80
79
  }
81
80
  /** @enumType */
82
- export type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
83
- export declare enum DisputeStatus {
81
+ type DisputeStageWithLiterals = DisputeStage | 'UNKNOWN_DISPUTE_STAGE' | 'NOTIFICATION_OF_FRAUD' | 'RFI' | 'CHARGEBACK';
82
+ declare enum DisputeStatus {
84
83
  /** Unknown status */
85
84
  UNKNOWN_DISPUTE_STATUS = "UNKNOWN_DISPUTE_STATUS",
86
85
  /** Waiting for some merchant action */
@@ -95,8 +94,8 @@ export declare enum DisputeStatus {
95
94
  LOST = "LOST"
96
95
  }
97
96
  /** @enumType */
98
- export type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
99
- export declare enum DisputeChannel {
97
+ type DisputeStatusWithLiterals = DisputeStatus | 'UNKNOWN_DISPUTE_STATUS' | 'WAITING_MERCHANT' | 'UNDER_REVIEW' | 'WAITING_BUYER' | 'WON' | 'LOST';
98
+ declare enum DisputeChannel {
100
99
  UNKNOWN_DISPUTE_CHANNEL = "UNKNOWN_DISPUTE_CHANNEL",
101
100
  /** Internal, the dispute is reviewed by PSP */
102
101
  INTERNAL = "INTERNAL",
@@ -104,8 +103,8 @@ export declare enum DisputeChannel {
104
103
  EXTERNAL = "EXTERNAL"
105
104
  }
106
105
  /** @enumType */
107
- export type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
108
- export interface ExtendedFields {
106
+ type DisputeChannelWithLiterals = DisputeChannel | 'UNKNOWN_DISPUTE_CHANNEL' | 'INTERNAL' | 'EXTERNAL';
107
+ interface ExtendedFields {
109
108
  /**
110
109
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
111
110
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -138,11 +137,11 @@ export interface ExtendedFields {
138
137
  * }
139
138
  * }
140
139
  */
141
- export interface Tags {
140
+ interface Tags {
142
141
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
143
142
  tags?: TagList;
144
143
  }
145
- export interface TagList {
144
+ interface TagList {
146
145
  /**
147
146
  * List of tag IDs
148
147
  * @maxSize 100
@@ -150,22 +149,22 @@ export interface TagList {
150
149
  */
151
150
  tagIds?: string[];
152
151
  }
153
- export interface GetDisputeHistoryRecordRequest {
152
+ interface GetDisputeHistoryRecordRequest {
154
153
  /**
155
154
  * ID of the DisputeHistoryRecord to retrieve.
156
155
  * @format GUID
157
156
  */
158
157
  disputeHistoryRecordId: string;
159
158
  }
160
- export interface GetDisputeHistoryRecordResponse {
159
+ interface GetDisputeHistoryRecordResponse {
161
160
  /** The requested DisputeHistoryRecord. */
162
161
  disputeHistoryRecord?: DisputeHistoryRecord;
163
162
  }
164
- export interface QueryDisputeHistoryRecordsRequest {
163
+ interface QueryDisputeHistoryRecordsRequest {
165
164
  /** WQL expression. */
166
165
  query?: CursorQuery;
167
166
  }
168
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
167
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
169
168
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
170
169
  cursorPaging?: CursorPaging;
171
170
  /**
@@ -185,11 +184,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
185
184
  sort?: Sorting[];
186
185
  }
187
186
  /** @oneof */
188
- export interface CursorQueryPagingMethodOneOf {
187
+ interface CursorQueryPagingMethodOneOf {
189
188
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
190
189
  cursorPaging?: CursorPaging;
191
190
  }
192
- export interface Sorting {
191
+ interface Sorting {
193
192
  /**
194
193
  * Name of the field to sort by.
195
194
  * @maxLength 512
@@ -198,13 +197,13 @@ export interface Sorting {
198
197
  /** Sort order. */
199
198
  order?: SortOrderWithLiterals;
200
199
  }
201
- export declare enum SortOrder {
200
+ declare enum SortOrder {
202
201
  ASC = "ASC",
203
202
  DESC = "DESC"
204
203
  }
205
204
  /** @enumType */
206
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
207
- export interface CursorPaging {
205
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
206
+ interface CursorPaging {
208
207
  /**
209
208
  * Maximum number of items to return in the results.
210
209
  * @max 100
@@ -219,13 +218,13 @@ export interface CursorPaging {
219
218
  */
220
219
  cursor?: string | null;
221
220
  }
222
- export interface QueryDisputeHistoryRecordsResponse {
221
+ interface QueryDisputeHistoryRecordsResponse {
223
222
  /** List of DisputeHistoryRecords. */
224
223
  disputeHistoryRecords?: DisputeHistoryRecord[];
225
224
  /** Paging metadata */
226
225
  pagingMetadata?: CursorPagingMetadata;
227
226
  }
228
- export interface CursorPagingMetadata {
227
+ interface CursorPagingMetadata {
229
228
  /** Number of items returned in the response. */
230
229
  count?: number | null;
231
230
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -238,7 +237,7 @@ export interface CursorPagingMetadata {
238
237
  */
239
238
  hasNext?: boolean | null;
240
239
  }
241
- export interface Cursors {
240
+ interface Cursors {
242
241
  /**
243
242
  * Cursor string pointing to the next page in the list of results.
244
243
  * @maxLength 16000
@@ -250,7 +249,7 @@ export interface Cursors {
250
249
  */
251
250
  prev?: string | null;
252
251
  }
253
- export interface DomainEvent extends DomainEventBodyOneOf {
252
+ interface DomainEvent extends DomainEventBodyOneOf {
254
253
  createdEvent?: EntityCreatedEvent;
255
254
  updatedEvent?: EntityUpdatedEvent;
256
255
  deletedEvent?: EntityDeletedEvent;
@@ -285,19 +284,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
285
284
  entityEventSequence?: string | null;
286
285
  }
287
286
  /** @oneof */
288
- export interface DomainEventBodyOneOf {
287
+ interface DomainEventBodyOneOf {
289
288
  createdEvent?: EntityCreatedEvent;
290
289
  updatedEvent?: EntityUpdatedEvent;
291
290
  deletedEvent?: EntityDeletedEvent;
292
291
  actionEvent?: ActionEvent;
293
292
  }
294
- export interface EntityCreatedEvent {
293
+ interface EntityCreatedEvent {
295
294
  entity?: string;
296
295
  }
297
- export interface RestoreInfo {
296
+ interface RestoreInfo {
298
297
  deletedDate?: Date | null;
299
298
  }
300
- export interface EntityUpdatedEvent {
299
+ interface EntityUpdatedEvent {
301
300
  /**
302
301
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
303
302
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -305,16 +304,16 @@ export interface EntityUpdatedEvent {
305
304
  */
306
305
  currentEntity?: string;
307
306
  }
308
- export interface EntityDeletedEvent {
307
+ interface EntityDeletedEvent {
309
308
  /** Entity that was deleted. */
310
309
  deletedEntity?: string | null;
311
310
  }
312
- export interface ActionEvent {
311
+ interface ActionEvent {
313
312
  body?: string;
314
313
  }
315
- export interface Empty {
314
+ interface Empty {
316
315
  }
317
- export interface BulkUpdateDisputeHistoryRecordTagsRequest {
316
+ interface BulkUpdateDisputeHistoryRecordTagsRequest {
318
317
  /**
319
318
  * List of NileProtoTagsEntities that their tags will update.
320
319
  * @minSize 1
@@ -327,7 +326,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsRequest {
327
326
  /** List of Tags to unAssign */
328
327
  unassignTags?: Tags;
329
328
  }
330
- export interface BulkUpdateDisputeHistoryRecordTagsResponse {
329
+ interface BulkUpdateDisputeHistoryRecordTagsResponse {
331
330
  /**
332
331
  * Results
333
332
  * @minSize 1
@@ -337,7 +336,7 @@ export interface BulkUpdateDisputeHistoryRecordTagsResponse {
337
336
  /** Metadata regarding the bulk update operation */
338
337
  bulkActionMetadata?: BulkActionMetadata;
339
338
  }
340
- export interface ItemMetadata {
339
+ interface ItemMetadata {
341
340
  /**
342
341
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
343
342
  * @format GUID
@@ -350,7 +349,7 @@ export interface ItemMetadata {
350
349
  /** Details about the error in case of failure. */
351
350
  error?: ApplicationError;
352
351
  }
353
- export interface ApplicationError {
352
+ interface ApplicationError {
354
353
  /** Error code. */
355
354
  code?: string;
356
355
  /** Description of the error. */
@@ -358,11 +357,11 @@ export interface ApplicationError {
358
357
  /** Data related to the error. */
359
358
  data?: Record<string, any> | null;
360
359
  }
361
- export interface BulkUpdateDisputeHistoryRecordTagsResult {
360
+ interface BulkUpdateDisputeHistoryRecordTagsResult {
362
361
  /** Metadata regarding the specific single update operation */
363
362
  itemMetadata?: ItemMetadata;
364
363
  }
365
- export interface BulkActionMetadata {
364
+ interface BulkActionMetadata {
366
365
  /** Number of items that were successfully processed. */
367
366
  totalSuccesses?: number;
368
367
  /** Number of items that couldn't be processed. */
@@ -370,7 +369,7 @@ export interface BulkActionMetadata {
370
369
  /** Number of failures without details because detailed failure threshold was exceeded. */
371
370
  undetailedFailures?: number;
372
371
  }
373
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
372
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
374
373
  /** Filter */
375
374
  filter: Record<string, any> | null;
376
375
  /** List of Tags to assign */
@@ -378,14 +377,14 @@ export interface BulkUpdateDisputeHistoryRecordTagsByFilterRequest {
378
377
  /** List of Tags to unAssign */
379
378
  unassignTags?: Tags;
380
379
  }
381
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
380
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterResponse {
382
381
  /**
383
382
  * Job ID
384
383
  * @format GUID
385
384
  */
386
385
  jobId?: string;
387
386
  }
388
- export interface MessageEnvelope {
387
+ interface MessageEnvelope {
389
388
  /**
390
389
  * App instance ID.
391
390
  * @format GUID
@@ -401,7 +400,7 @@ export interface MessageEnvelope {
401
400
  /** Stringify payload. */
402
401
  data?: string;
403
402
  }
404
- export interface IdentificationData extends IdentificationDataIdOneOf {
403
+ interface IdentificationData extends IdentificationDataIdOneOf {
405
404
  /**
406
405
  * ID of a site visitor that has not logged in to the site.
407
406
  * @format GUID
@@ -426,7 +425,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
426
425
  identityType?: WebhookIdentityTypeWithLiterals;
427
426
  }
428
427
  /** @oneof */
429
- export interface IdentificationDataIdOneOf {
428
+ interface IdentificationDataIdOneOf {
430
429
  /**
431
430
  * ID of a site visitor that has not logged in to the site.
432
431
  * @format GUID
@@ -448,7 +447,7 @@ export interface IdentificationDataIdOneOf {
448
447
  */
449
448
  appId?: string;
450
449
  }
451
- export declare enum WebhookIdentityType {
450
+ declare enum WebhookIdentityType {
452
451
  UNKNOWN = "UNKNOWN",
453
452
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
454
453
  MEMBER = "MEMBER",
@@ -456,27 +455,7 @@ export declare enum WebhookIdentityType {
456
455
  APP = "APP"
457
456
  }
458
457
  /** @enumType */
459
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
460
- type DisputeHistoryRecordNonNullablePaths = `disputeId` | `stage` | `status` | `chargeId` | `channel` | `tags.tags.tagIds`;
461
- /**
462
- * Retrieves a DisputeHistoryRecord.
463
- * @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
464
- * @internal
465
- * @documentationMaturity preview
466
- * @requiredField disputeHistoryRecordId
467
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
468
- * @returns The requested DisputeHistoryRecord.
469
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
470
- */
471
- export declare function getDisputeHistoryRecord(disputeHistoryRecordId: string): Promise<NonNullablePaths<DisputeHistoryRecord, DisputeHistoryRecordNonNullablePaths>>;
472
- /**
473
- * Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
474
- * @internal
475
- * @documentationMaturity preview
476
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
477
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
478
- */
479
- export declare function queryDisputeHistoryRecords(): DisputeHistoryRecordsQueryBuilder;
458
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
480
459
  interface QueryCursorResult {
481
460
  cursors: Cursors;
482
461
  hasNext: () => boolean;
@@ -484,13 +463,13 @@ interface QueryCursorResult {
484
463
  length: number;
485
464
  pageSize: number;
486
465
  }
487
- export interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
466
+ interface DisputeHistoryRecordsQueryResult extends QueryCursorResult {
488
467
  items: DisputeHistoryRecord[];
489
468
  query: DisputeHistoryRecordsQueryBuilder;
490
469
  next: () => Promise<DisputeHistoryRecordsQueryResult>;
491
470
  prev: () => Promise<DisputeHistoryRecordsQueryResult>;
492
471
  }
493
- export interface DisputeHistoryRecordsQueryBuilder {
472
+ interface DisputeHistoryRecordsQueryBuilder {
494
473
  /** @param propertyName - Property whose value is compared with `value`.
495
474
  * @param value - Value to compare against.
496
475
  * @documentationMaturity preview
@@ -554,39 +533,17 @@ export interface DisputeHistoryRecordsQueryBuilder {
554
533
  /** @documentationMaturity preview */
555
534
  find: () => Promise<DisputeHistoryRecordsQueryResult>;
556
535
  }
557
- /**
558
- * Synchronously update tags on multiple products, by list of product ids
559
- * A tag that appears both in the list of assign and unassign tags, will be assigned
560
- * @param ids - List of NileProtoTagsEntities that their tags will update.
561
- * @internal
562
- * @documentationMaturity preview
563
- * @requiredField ids
564
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
565
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
566
- */
567
- export declare function bulkUpdateDisputeHistoryRecordTags(ids: string[], options?: BulkUpdateDisputeHistoryRecordTagsOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
568
- export interface BulkUpdateDisputeHistoryRecordTagsOptions {
536
+ interface BulkUpdateDisputeHistoryRecordTagsOptions {
569
537
  /** List of Tags to assign */
570
538
  assignTags?: Tags;
571
539
  /** List of Tags to unAssign */
572
540
  unassignTags?: Tags;
573
541
  }
574
- /**
575
- * Asynchronously update tags on multiple products, by provided filter
576
- * An empty filter will update all products
577
- * A tag that appears both in the list of assign and unassign tags, will be assigned
578
- * @param filter - Filter
579
- * @internal
580
- * @documentationMaturity preview
581
- * @requiredField filter
582
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
583
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
584
- */
585
- export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(filter: Record<string, any>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateDisputeHistoryRecordTagsByFilterResponse, `jobId`>>;
586
- export interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
542
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterOptions {
587
543
  /** List of Tags to assign */
588
544
  assignTags?: Tags;
589
545
  /** List of Tags to unAssign */
590
546
  unassignTags?: Tags;
591
547
  }
592
- export {};
548
+
549
+ export { type ActionEvent as A, type BulkUpdateDisputeHistoryRecordTagsOptions as B, type CursorQuery as C, type DisputeHistoryRecord as D, type ExtendedFields as E, type IdentificationData as F, type GetDisputeHistoryRecordRequest as G, type IdentificationDataIdOneOf as H, type ItemMetadata as I, type DisputeHistoryRecordsQueryResult as J, type MessageEnvelope as M, type QueryDisputeHistoryRecordsRequest as Q, type RestoreInfo as R, SortOrder as S, type Tags as T, WebhookIdentityType as W, type DisputeHistoryRecordsQueryBuilder as a, type BulkUpdateDisputeHistoryRecordTagsResponse as b, type BulkUpdateDisputeHistoryRecordTagsByFilterOptions as c, type BulkUpdateDisputeHistoryRecordTagsByFilterResponse as d, DisputeStage as e, DisputeStatus as f, DisputeChannel as g, type TagList as h, type GetDisputeHistoryRecordResponse as i, type CursorQueryPagingMethodOneOf as j, type Sorting as k, type CursorPaging as l, type QueryDisputeHistoryRecordsResponse as m, type CursorPagingMetadata as n, type Cursors as o, type DomainEvent as p, type DomainEventBodyOneOf as q, type EntityCreatedEvent as r, type EntityUpdatedEvent as s, type EntityDeletedEvent as t, type Empty as u, type BulkUpdateDisputeHistoryRecordTagsRequest as v, type ApplicationError as w, type BulkUpdateDisputeHistoryRecordTagsResult as x, type BulkActionMetadata as y, type BulkUpdateDisputeHistoryRecordTagsByFilterRequest as z };