@wix/auto_sdk_payments_dispute-history-records 1.0.13 → 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 +13 -12
  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
package/build/meta.mjs ADDED
@@ -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":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,wEACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,wBACd,SAC4B;AAC5B,WAAS,0BAA0B,EAAE,KAAK,GAAQ;AAChD,UAAM,WAAW;AAAA,MACf,YACE;AAAA,MACF,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,KAAK;AAAA,QACH;AAAA,UACE,WAAW;AAAA,UACX,MAAM;AAAA,UACN;AAAA,QACF;AAAA,MACF;AAAA,MACA,QAAQ,kBAAkB,OAAO;AAAA,MACjC,mBAAmB,CAACA,aAClB,eAAeA,UAAS;AAAA,QACtB;AAAA,UACE,aAAa;AAAA,UACb,OAAO;AAAA,YACL,EAAE,MAAM,mCAAmC;AAAA,YAC3C,EAAE,MAAM,mCAAmC;AAAA,YAC3C,EAAE,MAAM,+BAA+B;AAAA,UACzC;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACL;AAEA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAGO,SAAS,2BACd,SAC4B;AAC5B,WAAS,6BAA6B,EAAE,KAAK,GAAQ;AACnD,UAAM,WAAW;AAAA,MACf,YACE;AAAA,MACF,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,KAAK;AAAA,QACH,EAAE,WAAW,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AAA,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"]}
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_payments_dispute-history-records",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
7
7
  },
8
8
  "keywords": [],
9
9
  "sideEffects": false,
10
- "main": "./build/cjs/index.js",
11
- "types": "./build/es/index.d.ts",
10
+ "main": "/build/index.js",
11
+ "types": "./build/index.d.mts",
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./build/es/index.js",
15
- "require": "./build/cjs/index.js",
16
- "types": "./build/es/index.d.ts"
14
+ "import": "./build/index.mjs",
15
+ "require": "./build/index.js",
16
+ "types": "./build/index.d.mts"
17
17
  },
18
18
  "./package.json": "./package.json",
19
19
  "./meta": {
20
- "import": "./build/es/meta.js",
21
- "require": "./build/cjs/meta.js",
22
- "types": "./build/es/meta.d.ts"
20
+ "import": "./build/meta.mjs",
21
+ "require": "./build/meta.js",
22
+ "types": "./build/meta.d.mts"
23
23
  }
24
24
  },
25
25
  "files": [
@@ -29,13 +29,14 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@wix/sdk-runtime": "^0.3.49",
32
- "@wix/sdk-types": "^1.13.23"
32
+ "@wix/sdk-types": "^1.13.28"
33
33
  },
34
34
  "devDependencies": {
35
+ "tsup": "^8.4.0",
35
36
  "typescript": "^5.3.2"
36
37
  },
37
38
  "scripts": {
38
- "build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.internal.json tsconfig.internal.esm.json",
39
+ "build": "tsup",
39
40
  "test": ":"
40
41
  },
41
42
  "wix": {
@@ -48,5 +49,5 @@
48
49
  "fqdn": "wix.payments.dispute_history_records.v1.dispute_history_record"
49
50
  }
50
51
  },
51
- "falconPackageHash": "b19686387ef431ed3009b6f93fb1552654bb3f56e909089f7248205b"
52
+ "falconPackageHash": "0e0eb2a41c702bc58d12cad12856df79fc0fd0a1429ea1ab3da420ff"
52
53
  }
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sIAAoH"}
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wIAAsH"}
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';
package/build/cjs/meta.js DELETED
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js"), exports);
18
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mIAAiH"}
@@ -1,2 +0,0 @@
1
- export { DisputeStage, DisputeStatus, DisputeChannel, SortOrder, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
2
- export { DisputeHistoryRecord, ExtendedFields, Tags, TagList, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse, QueryDisputeHistoryRecordsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryDisputeHistoryRecordsResponse, CursorPagingMetadata, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse, ItemMetadata, ApplicationError, BulkUpdateDisputeHistoryRecordTagsResult, BulkActionMetadata, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, DisputeHistoryRecordsQueryResult, DisputeHistoryRecordsQueryBuilder, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.SortOrder = exports.DisputeChannel = exports.DisputeStatus = exports.DisputeStage = exports.bulkUpdateDisputeHistoryRecordTagsByFilter = exports.bulkUpdateDisputeHistoryRecordTags = exports.queryDisputeHistoryRecords = exports.getDisputeHistoryRecord = void 0;
4
- const payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1 = require("./payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- /** @internal */
7
- exports.getDisputeHistoryRecord = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.getDisputeHistoryRecord);
8
- /** @internal */
9
- exports.queryDisputeHistoryRecords = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.queryDisputeHistoryRecords);
10
- /** @internal */
11
- exports.bulkUpdateDisputeHistoryRecordTags = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.bulkUpdateDisputeHistoryRecordTags);
12
- /** @internal */
13
- exports.bulkUpdateDisputeHistoryRecordTagsByFilter = (0, rest_modules_1.createRESTModule)(payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_public_js_1.bulkUpdateDisputeHistoryRecordTagsByFilter);
14
- var payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1 = require("./payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js");
15
- Object.defineProperty(exports, "DisputeStage", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeStage; } });
16
- Object.defineProperty(exports, "DisputeStatus", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeStatus; } });
17
- Object.defineProperty(exports, "DisputeChannel", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.DisputeChannel; } });
18
- Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.SortOrder; } });
19
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return payments_dispute_history_records_v1_dispute_history_record_dispute_history_records_universal_js_1.WebhookIdentityType; } });
20
- //# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js","sourceRoot":"","sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.ts"],"names":[],"mappings":";;;AAAA,iNAKwG;AACxG,gEAAiE;AAGjE,gBAAgB;AACH,QAAA,uBAAuB,GAGlB,IAAA,+BAAgB,EAAC,sHAA6B,CAAC,CAAC;AAClE,gBAAgB;AACH,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,yHAAgC,CAAC,CAAC;AACrE,gBAAgB;AACH,QAAA,kCAAkC,GAG7B,IAAA,+BAAgB,EAAC,iIAAwC,CAAC,CAAC;AAC7E,gBAAgB;AACH,QAAA,0CAA0C,GAGrC,IAAA,+BAAgB,EAChC,yIAAgD,CACjD,CAAC;AAEF,qNAM2G;AALzG,+LAAA,YAAY,OAAA;AACZ,gMAAA,aAAa,OAAA;AACb,iMAAA,cAAc,OAAA;AACd,4LAAA,SAAS,OAAA;AACT,sMAAA,mBAAmB,OAAA"}
@@ -1,16 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /** Retrieves a DisputeHistoryRecord. */
3
- export declare function getDisputeHistoryRecord(payload: object): RequestOptionsFactory<any>;
4
- /** Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1]. */
5
- export declare function queryDisputeHistoryRecords(payload: object): RequestOptionsFactory<any>;
6
- /**
7
- * Synchronously update tags on multiple products, by list of product ids
8
- * A tag that appears both in the list of assign and unassign tags, will be assigned
9
- */
10
- export declare function bulkUpdateDisputeHistoryRecordTags(payload: object): RequestOptionsFactory<any>;
11
- /**
12
- * Asynchronously update tags on multiple products, by provided filter
13
- * An empty filter will update all products
14
- * A tag that appears both in the list of assign and unassign tags, will be assigned
15
- */
16
- export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(payload: object): RequestOptionsFactory<any>;
@@ -1,127 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bulkUpdateDisputeHistoryRecordTagsByFilter = exports.bulkUpdateDisputeHistoryRecordTags = exports.queryDisputeHistoryRecords = exports.getDisputeHistoryRecord = void 0;
4
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
7
- const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
8
- function resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(opts) {
9
- const domainToMappings = {};
10
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
11
- }
12
- const PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';
13
- /** Retrieves a DisputeHistoryRecord. */
14
- function getDisputeHistoryRecord(payload) {
15
- function __getDisputeHistoryRecord({ host }) {
16
- const metadata = {
17
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
18
- method: 'GET',
19
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord',
20
- packageName: PACKAGE_NAME,
21
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
22
- protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',
23
- data: payload,
24
- host,
25
- }),
26
- params: (0, rest_modules_1.toURLSearchParams)(payload),
27
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
28
- {
29
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
30
- paths: [
31
- { path: 'disputeHistoryRecord.createdDate' },
32
- { path: 'disputeHistoryRecord.updatedDate' },
33
- { path: 'disputeHistoryRecord.dueDate' },
34
- ],
35
- },
36
- ]),
37
- };
38
- return metadata;
39
- }
40
- return __getDisputeHistoryRecord;
41
- }
42
- exports.getDisputeHistoryRecord = getDisputeHistoryRecord;
43
- /** Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1]. */
44
- function queryDisputeHistoryRecords(payload) {
45
- function __queryDisputeHistoryRecords({ host }) {
46
- const metadata = {
47
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
48
- method: 'POST',
49
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',
50
- packageName: PACKAGE_NAME,
51
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({ protoPath: '/v1/dispute-history-records/query', data: payload, host }),
52
- data: payload,
53
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
54
- {
55
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
56
- paths: [
57
- { path: 'disputeHistoryRecords.createdDate' },
58
- { path: 'disputeHistoryRecords.updatedDate' },
59
- { path: 'disputeHistoryRecords.dueDate' },
60
- ],
61
- },
62
- ]),
63
- fallback: [
64
- {
65
- method: 'POST',
66
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
67
- protoPath: '/v1/dispute-history-records/query',
68
- data: payload,
69
- host,
70
- }),
71
- data: payload,
72
- },
73
- ],
74
- };
75
- return metadata;
76
- }
77
- return __queryDisputeHistoryRecords;
78
- }
79
- exports.queryDisputeHistoryRecords = queryDisputeHistoryRecords;
80
- /**
81
- * Synchronously update tags on multiple products, by list of product ids
82
- * A tag that appears both in the list of assign and unassign tags, will be assigned
83
- */
84
- function bulkUpdateDisputeHistoryRecordTags(payload) {
85
- function __bulkUpdateDisputeHistoryRecordTags({ host }) {
86
- const metadata = {
87
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
88
- method: 'POST',
89
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',
90
- packageName: PACKAGE_NAME,
91
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
92
- protoPath: '/v1/bulk/dispute-history-records/update-tags',
93
- data: payload,
94
- host,
95
- }),
96
- data: payload,
97
- };
98
- return metadata;
99
- }
100
- return __bulkUpdateDisputeHistoryRecordTags;
101
- }
102
- exports.bulkUpdateDisputeHistoryRecordTags = bulkUpdateDisputeHistoryRecordTags;
103
- /**
104
- * Asynchronously update tags on multiple products, by provided filter
105
- * An empty filter will update all products
106
- * A tag that appears both in the list of assign and unassign tags, will be assigned
107
- */
108
- function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
109
- function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }) {
110
- const metadata = {
111
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
112
- method: 'POST',
113
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',
114
- packageName: PACKAGE_NAME,
115
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
116
- protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',
117
- data: payload,
118
- host,
119
- }),
120
- data: payload,
121
- };
122
- return metadata;
123
- }
124
- return __bulkUpdateDisputeHistoryRecordTagsByFilter;
125
- }
126
- exports.bulkUpdateDisputeHistoryRecordTagsByFilter = bulkUpdateDisputeHistoryRecordTagsByFilter;
127
- //# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js","sourceRoot":"","sources":["../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,uEAAuE,CAC9E,IAA8C;IAE9C,MAAM,gBAAgB,GAAG,EAAE,CAAC;IAE5B,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC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,IAAI;aACL,CACF;YACD,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,4CAA4C,CAAC;AACtD,CAAC;AAzBD,gGAyBC"}
@@ -1,18 +0,0 @@
1
- import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js';
2
- import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
3
- export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
- getUrl: (context: any) => string;
5
- httpMethod: K;
6
- path: string;
7
- pathParams: M;
8
- __requestType: T;
9
- __originalRequestType: S;
10
- __responseType: Q;
11
- __originalResponseType: R;
12
- };
13
- export declare function getDisputeHistoryRecord(): __PublicMethodMetaInfo<'GET', {
14
- disputeHistoryRecordId: string;
15
- }, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponse, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse>;
16
- export declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse>;
17
- export declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse>;
18
- export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;