@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/build/cjs/index.d.ts +549 -1
  2. package/build/cjs/index.js +386 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +343 -1
  5. package/build/cjs/meta.js +235 -15
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/index.d.mts} +49 -48
  8. package/build/es/index.mjs +357 -0
  9. package/build/es/index.mjs.map +1 -0
  10. package/build/es/{src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
  11. package/build/es/meta.mjs +208 -0
  12. package/build/es/meta.mjs.map +1 -0
  13. package/build/internal/cjs/index.d.ts +54 -1
  14. package/build/internal/cjs/index.js +386 -15
  15. package/build/internal/cjs/index.js.map +1 -1
  16. package/build/internal/cjs/meta.d.ts +343 -1
  17. package/build/internal/cjs/meta.js +235 -15
  18. package/build/internal/cjs/meta.js.map +1 -1
  19. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → internal/cjs/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.ts} +49 -48
  20. package/build/internal/es/index.d.mts +54 -0
  21. package/build/internal/es/index.mjs +357 -0
  22. package/build/internal/es/index.mjs.map +1 -0
  23. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/es/meta.d.mts} +51 -168
  24. package/build/internal/es/meta.mjs +208 -0
  25. package/build/internal/es/meta.mjs.map +1 -0
  26. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → es/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.d.mts} +49 -92
  27. package/package.json +9 -8
  28. package/build/cjs/index.typings.d.ts +0 -1
  29. package/build/cjs/index.typings.js +0 -18
  30. package/build/cjs/index.typings.js.map +0 -1
  31. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  32. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  33. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  34. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  35. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  36. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  37. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  38. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  39. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  40. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  41. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  42. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  43. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  44. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  45. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  46. package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  47. package/build/es/index.d.ts +0 -1
  48. package/build/es/index.js +0 -2
  49. package/build/es/index.js.map +0 -1
  50. package/build/es/index.typings.d.ts +0 -1
  51. package/build/es/index.typings.js +0 -2
  52. package/build/es/index.typings.js.map +0 -1
  53. package/build/es/meta.d.ts +0 -1
  54. package/build/es/meta.js +0 -2
  55. package/build/es/meta.js.map +0 -1
  56. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
  57. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  58. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  59. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  60. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  61. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  62. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  63. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  64. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  65. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
  66. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  67. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  68. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  69. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  70. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  71. package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  72. package/build/internal/cjs/index.typings.d.ts +0 -1
  73. package/build/internal/cjs/index.typings.js +0 -18
  74. package/build/internal/cjs/index.typings.js.map +0 -1
  75. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  76. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
  77. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  78. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  79. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
  80. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  81. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  82. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
  83. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  84. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  85. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
  86. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  87. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  88. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
  89. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  90. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
  91. package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
  92. package/build/internal/es/index.d.ts +0 -1
  93. package/build/internal/es/index.js +0 -2
  94. package/build/internal/es/index.js.map +0 -1
  95. package/build/internal/es/index.typings.d.ts +0 -1
  96. package/build/internal/es/index.typings.js +0 -2
  97. package/build/internal/es/index.typings.js.map +0 -1
  98. package/build/internal/es/meta.d.ts +0 -1
  99. package/build/internal/es/meta.js +0 -2
  100. package/build/internal/es/meta.js.map +0 -1
  101. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
  102. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
  103. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
  104. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
  105. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
  106. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
  107. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
  108. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
  109. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
  110. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
  111. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
  112. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
  113. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts +0 -460
  114. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
  115. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
  116. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts +0 -592
  117. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
  118. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
@@ -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,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AuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,8BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6D;AAAA,IAC/D;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,sCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6D;AAAA,IAC/D;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,8CAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6D;AAAA,IAC/D;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","getDisputeHistoryRecord","queryDisputeHistoryRecords","bulkUpdateDisputeHistoryRecordTags","bulkUpdateDisputeHistoryRecordTagsByFilter"]}
@@ -1 +1,54 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
1
+ import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { D as DisputeHistoryRecord, a as DisputeHistoryRecordsQueryBuilder, B as BulkUpdateDisputeHistoryRecordTagsOptions, b as BulkUpdateDisputeHistoryRecordTagsResponse, c as BulkUpdateDisputeHistoryRecordTagsByFilterOptions, d as BulkUpdateDisputeHistoryRecordTagsByFilterResponse } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.js';
3
+ export { A as ActionEvent, w as ApplicationError, y as BulkActionMetadata, z as BulkUpdateDisputeHistoryRecordTagsByFilterRequest, v as BulkUpdateDisputeHistoryRecordTagsRequest, x as BulkUpdateDisputeHistoryRecordTagsResult, l as CursorPaging, n as CursorPagingMetadata, C as CursorQuery, j as CursorQueryPagingMethodOneOf, o as Cursors, g as DisputeChannel, J as DisputeHistoryRecordsQueryResult, e as DisputeStage, f as DisputeStatus, p as DomainEvent, q as DomainEventBodyOneOf, u as Empty, r as EntityCreatedEvent, t as EntityDeletedEvent, s as EntityUpdatedEvent, E as ExtendedFields, G as GetDisputeHistoryRecordRequest, i as GetDisputeHistoryRecordResponse, F as IdentificationData, H as IdentificationDataIdOneOf, I as ItemMetadata, M as MessageEnvelope, Q as QueryDisputeHistoryRecordsRequest, m as QueryDisputeHistoryRecordsResponse, R as RestoreInfo, S as SortOrder, k as Sorting, h as TagList, T as Tags, W as WebhookIdentityType } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal-BpPZdD2w.js';
4
+
5
+ /** @internal */
6
+ declare function getDisputeHistoryRecord$1(httpClient: HttpClient): GetDisputeHistoryRecordSignature;
7
+ interface GetDisputeHistoryRecordSignature {
8
+ /**
9
+ * Retrieves a DisputeHistoryRecord.
10
+ * @param - ID of the DisputeHistoryRecord to retrieve.
11
+ * @returns The requested DisputeHistoryRecord.
12
+ */
13
+ (disputeHistoryRecordId: string): Promise<DisputeHistoryRecord>;
14
+ }
15
+ /** @internal */
16
+ declare function queryDisputeHistoryRecords$1(httpClient: HttpClient): QueryDisputeHistoryRecordsSignature;
17
+ interface QueryDisputeHistoryRecordsSignature {
18
+ /**
19
+ * Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
20
+ */
21
+ (): DisputeHistoryRecordsQueryBuilder;
22
+ }
23
+ /** @internal */
24
+ declare function bulkUpdateDisputeHistoryRecordTags$1(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsSignature;
25
+ interface BulkUpdateDisputeHistoryRecordTagsSignature {
26
+ /**
27
+ * Synchronously update tags on multiple products, by list of product ids
28
+ * A tag that appears both in the list of assign and unassign tags, will be assigned
29
+ * @param - List of NileProtoTagsEntities that their tags will update.
30
+ */
31
+ (ids: string[], options?: BulkUpdateDisputeHistoryRecordTagsOptions | undefined): Promise<BulkUpdateDisputeHistoryRecordTagsResponse>;
32
+ }
33
+ /** @internal */
34
+ declare function bulkUpdateDisputeHistoryRecordTagsByFilter$1(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsByFilterSignature;
35
+ interface BulkUpdateDisputeHistoryRecordTagsByFilterSignature {
36
+ /**
37
+ * Asynchronously update tags on multiple products, by provided filter
38
+ * An empty filter will update all products
39
+ * A tag that appears both in the list of assign and unassign tags, will be assigned
40
+ * @param - Filter
41
+ */
42
+ (filter: Record<string, any>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions | undefined): Promise<BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
43
+ }
44
+
45
+ /** @internal */
46
+ declare const getDisputeHistoryRecord: MaybeContext<BuildRESTFunction<typeof getDisputeHistoryRecord$1> & typeof getDisputeHistoryRecord$1>;
47
+ /** @internal */
48
+ declare const queryDisputeHistoryRecords: MaybeContext<BuildRESTFunction<typeof queryDisputeHistoryRecords$1> & typeof queryDisputeHistoryRecords$1>;
49
+ /** @internal */
50
+ declare const bulkUpdateDisputeHistoryRecordTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateDisputeHistoryRecordTags$1> & typeof bulkUpdateDisputeHistoryRecordTags$1>;
51
+ /** @internal */
52
+ declare const bulkUpdateDisputeHistoryRecordTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateDisputeHistoryRecordTagsByFilter$1> & typeof bulkUpdateDisputeHistoryRecordTagsByFilter$1>;
53
+
54
+ export { BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsResponse, DisputeHistoryRecord, DisputeHistoryRecordsQueryBuilder, bulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter, getDisputeHistoryRecord, queryDisputeHistoryRecords };