@wix/auto_sdk_payments_dispute-history-records 1.0.4 → 1.0.5

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} +44 -87
  2. package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +44 -87
  3. package/build/index.js +386 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +354 -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 +386 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +354 -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} +47 -215
  14. package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
  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-60Otw4pt.d.mts} +44 -129
  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-60Otw4pt.d.ts} +44 -129
  21. package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +47 -215
  22. package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +47 -215
  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 -244
  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 -214
  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 -244
  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 -214
  128. package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
@@ -1,244 +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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.bulkUpdateDisputeHistoryRecordTagsByFilter = exports.bulkUpdateDisputeHistoryRecordTags = exports.queryDisputeHistoryRecords = exports.getDisputeHistoryRecord = exports.WebhookIdentityType = exports.SortOrder = exports.DisputeChannel = exports.DisputeStatus = exports.DisputeStage = void 0;
27
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
- const query_builder_1 = require("@wix/sdk-runtime/query-builder");
29
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
30
- const ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord = __importStar(require("./payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js"));
31
- var DisputeStage;
32
- (function (DisputeStage) {
33
- DisputeStage["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
34
- /** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
35
- DisputeStage["NOTIFICATION_OF_FRAUD"] = "NOTIFICATION_OF_FRAUD";
36
- /** Request for Information / Inquiry */
37
- DisputeStage["RFI"] = "RFI";
38
- /** Chargeback */
39
- DisputeStage["CHARGEBACK"] = "CHARGEBACK";
40
- })(DisputeStage || (exports.DisputeStage = DisputeStage = {}));
41
- var DisputeStatus;
42
- (function (DisputeStatus) {
43
- /** Unknown status */
44
- DisputeStatus["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
45
- /** Waiting for some merchant action */
46
- DisputeStatus["WAITING_MERCHANT"] = "WAITING_MERCHANT";
47
- /** Dispute is under review by PSP (internal channel) or Bank (external channel) */
48
- DisputeStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
49
- /** Waiting for some buyer action */
50
- DisputeStatus["WAITING_BUYER"] = "WAITING_BUYER";
51
- /** Dispute won */
52
- DisputeStatus["WON"] = "WON";
53
- /** Dispute lost */
54
- DisputeStatus["LOST"] = "LOST";
55
- })(DisputeStatus || (exports.DisputeStatus = DisputeStatus = {}));
56
- var DisputeChannel;
57
- (function (DisputeChannel) {
58
- DisputeChannel["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
59
- /** Internal, the dispute is reviewed by PSP */
60
- DisputeChannel["INTERNAL"] = "INTERNAL";
61
- /** External, the dispute is reviewed by bank (or other financial institution) */
62
- DisputeChannel["EXTERNAL"] = "EXTERNAL";
63
- })(DisputeChannel || (exports.DisputeChannel = DisputeChannel = {}));
64
- var SortOrder;
65
- (function (SortOrder) {
66
- SortOrder["ASC"] = "ASC";
67
- SortOrder["DESC"] = "DESC";
68
- })(SortOrder || (exports.SortOrder = SortOrder = {}));
69
- var WebhookIdentityType;
70
- (function (WebhookIdentityType) {
71
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
72
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
73
- WebhookIdentityType["MEMBER"] = "MEMBER";
74
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
75
- WebhookIdentityType["APP"] = "APP";
76
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
77
- /**
78
- * Retrieves a DisputeHistoryRecord.
79
- * @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
80
- * @internal
81
- * @documentationMaturity preview
82
- * @requiredField disputeHistoryRecordId
83
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
84
- * @returns The requested DisputeHistoryRecord.
85
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
86
- */
87
- async function getDisputeHistoryRecord(disputeHistoryRecordId) {
88
- // @ts-ignore
89
- const { httpClient, sideEffects } = arguments[1];
90
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
91
- disputeHistoryRecordId: disputeHistoryRecordId,
92
- });
93
- const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(payload);
94
- sideEffects?.onSiteCall?.();
95
- try {
96
- const result = await httpClient.request(reqOpts);
97
- sideEffects?.onSuccess?.(result);
98
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)
99
- ?.disputeHistoryRecord;
100
- }
101
- catch (err) {
102
- const transformedError = (0, transform_error_1.transformError)(err, {
103
- spreadPathsToArguments: {},
104
- explicitPathsToArguments: { disputeHistoryRecordId: '$[0]' },
105
- singleArgumentUnchanged: false,
106
- }, ['disputeHistoryRecordId']);
107
- sideEffects?.onError?.(err);
108
- throw transformedError;
109
- }
110
- }
111
- exports.getDisputeHistoryRecord = getDisputeHistoryRecord;
112
- /**
113
- * Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
114
- * @internal
115
- * @documentationMaturity preview
116
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
117
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
118
- */
119
- function queryDisputeHistoryRecords() {
120
- // @ts-ignore
121
- const { httpClient, sideEffects } = arguments[0];
122
- return (0, query_builder_1.queryBuilder)({
123
- func: async (payload) => {
124
- const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(payload);
125
- sideEffects?.onSiteCall?.();
126
- try {
127
- const result = await httpClient.request(reqOpts);
128
- sideEffects?.onSuccess?.(result);
129
- return result;
130
- }
131
- catch (err) {
132
- sideEffects?.onError?.(err);
133
- throw err;
134
- }
135
- },
136
- requestTransformer: (query) => {
137
- const args = [query, {}];
138
- return (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
139
- ...args?.[1],
140
- query: args?.[0],
141
- });
142
- },
143
- responseTransformer: ({ data, }) => {
144
- const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(data);
145
- return {
146
- items: transformedData?.disputeHistoryRecords,
147
- pagingMetadata: transformedData?.pagingMetadata,
148
- };
149
- },
150
- errorTransformer: (err) => {
151
- const transformedError = (0, transform_error_1.transformError)(err, {
152
- spreadPathsToArguments: {},
153
- explicitPathsToArguments: { query: '$[0]' },
154
- singleArgumentUnchanged: false,
155
- });
156
- throw transformedError;
157
- },
158
- pagingMethod: 'CURSOR',
159
- transformationPaths: {},
160
- });
161
- }
162
- exports.queryDisputeHistoryRecords = queryDisputeHistoryRecords;
163
- /**
164
- * Synchronously update tags on multiple products, by list of product ids
165
- * A tag that appears both in the list of assign and unassign tags, will be assigned
166
- * @param ids - List of NileProtoTagsEntities that their tags will update.
167
- * @internal
168
- * @documentationMaturity preview
169
- * @requiredField ids
170
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
171
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
172
- */
173
- async function bulkUpdateDisputeHistoryRecordTags(ids, options) {
174
- // @ts-ignore
175
- const { httpClient, sideEffects } = arguments[2];
176
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
177
- ids: ids,
178
- assignTags: options?.assignTags,
179
- unassignTags: options?.unassignTags,
180
- });
181
- const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(payload);
182
- sideEffects?.onSiteCall?.();
183
- try {
184
- const result = await httpClient.request(reqOpts);
185
- sideEffects?.onSuccess?.(result);
186
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
187
- }
188
- catch (err) {
189
- const transformedError = (0, transform_error_1.transformError)(err, {
190
- spreadPathsToArguments: {},
191
- explicitPathsToArguments: {
192
- ids: '$[0]',
193
- assignTags: '$[1].assignTags',
194
- unassignTags: '$[1].unassignTags',
195
- },
196
- singleArgumentUnchanged: false,
197
- }, ['ids', 'options']);
198
- sideEffects?.onError?.(err);
199
- throw transformedError;
200
- }
201
- }
202
- exports.bulkUpdateDisputeHistoryRecordTags = bulkUpdateDisputeHistoryRecordTags;
203
- /**
204
- * Asynchronously update tags on multiple products, by provided filter
205
- * An empty filter will update all products
206
- * A tag that appears both in the list of assign and unassign tags, will be assigned
207
- * @param filter - Filter
208
- * @internal
209
- * @documentationMaturity preview
210
- * @requiredField filter
211
- * @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
212
- * @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
213
- */
214
- async function bulkUpdateDisputeHistoryRecordTagsByFilter(filter, options) {
215
- // @ts-ignore
216
- const { httpClient, sideEffects } = arguments[2];
217
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
218
- filter: filter,
219
- assignTags: options?.assignTags,
220
- unassignTags: options?.unassignTags,
221
- });
222
- const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(payload);
223
- sideEffects?.onSiteCall?.();
224
- try {
225
- const result = await httpClient.request(reqOpts);
226
- sideEffects?.onSuccess?.(result);
227
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
228
- }
229
- catch (err) {
230
- const transformedError = (0, transform_error_1.transformError)(err, {
231
- spreadPathsToArguments: {},
232
- explicitPathsToArguments: {
233
- filter: '$[0]',
234
- assignTags: '$[1].assignTags',
235
- unassignTags: '$[1].unassignTags',
236
- },
237
- singleArgumentUnchanged: false,
238
- }, ['filter', 'options']);
239
- sideEffects?.onError?.(err);
240
- throw transformedError;
241
- }
242
- }
243
- exports.bulkUpdateDisputeHistoryRecordTagsByFilter = bulkUpdateDisputeHistoryRecordTagsByFilter;
244
- //# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js","sourceRoot":"","sources":["../../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,+LAAiL;AA0EjL,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+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GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE,iBAAiB;gBAC7B,YAAY,EAAE,mBAAmB;aAClC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,QAAQ,EAAE,SAAS,CAAC,CACtB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAhDD,gGAgDC"}
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
@@ -1,2 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":"AAAA,cAAc,qGAAqG,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
@@ -1,2 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
2
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,uGAAuG,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';
@@ -1,2 +0,0 @@
1
- export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js';
2
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,kGAAkG,CAAC"}
@@ -1,12 +0,0 @@
1
- import { getDisputeHistoryRecord as publicGetDisputeHistoryRecord, queryDisputeHistoryRecords as publicQueryDisputeHistoryRecords, bulkUpdateDisputeHistoryRecordTags as publicBulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter as publicBulkUpdateDisputeHistoryRecordTagsByFilter } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js';
2
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
- /** @internal */
4
- export declare const getDisputeHistoryRecord: MaybeContext<BuildRESTFunction<typeof publicGetDisputeHistoryRecord> & typeof publicGetDisputeHistoryRecord>;
5
- /** @internal */
6
- export declare const queryDisputeHistoryRecords: MaybeContext<BuildRESTFunction<typeof publicQueryDisputeHistoryRecords> & typeof publicQueryDisputeHistoryRecords>;
7
- /** @internal */
8
- export declare const bulkUpdateDisputeHistoryRecordTags: MaybeContext<BuildRESTFunction<typeof publicBulkUpdateDisputeHistoryRecordTags> & typeof publicBulkUpdateDisputeHistoryRecordTags>;
9
- /** @internal */
10
- export declare const bulkUpdateDisputeHistoryRecordTagsByFilter: MaybeContext<BuildRESTFunction<typeof publicBulkUpdateDisputeHistoryRecordTagsByFilter> & typeof publicBulkUpdateDisputeHistoryRecordTagsByFilter>;
11
- export { DisputeStage, DisputeStatus, DisputeChannel, SortOrder, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
12
- 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, DisputeHistoryRecordNonNullableFields, GetDisputeHistoryRecordResponseNonNullableFields, QueryDisputeHistoryRecordsResponseNonNullableFields, BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields, BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields, DisputeHistoryRecordsQueryResult, DisputeHistoryRecordsQueryBuilder, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
@@ -1,12 +0,0 @@
1
- import { getDisputeHistoryRecord as publicGetDisputeHistoryRecord, queryDisputeHistoryRecords as publicQueryDisputeHistoryRecords, bulkUpdateDisputeHistoryRecordTags as publicBulkUpdateDisputeHistoryRecordTags, bulkUpdateDisputeHistoryRecordTagsByFilter as publicBulkUpdateDisputeHistoryRecordTagsByFilter, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js';
2
- import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
3
- /** @internal */
4
- export const getDisputeHistoryRecord = /*#__PURE__*/ createRESTModule(publicGetDisputeHistoryRecord);
5
- /** @internal */
6
- export const queryDisputeHistoryRecords = /*#__PURE__*/ createRESTModule(publicQueryDisputeHistoryRecords);
7
- /** @internal */
8
- export const bulkUpdateDisputeHistoryRecordTags = /*#__PURE__*/ createRESTModule(publicBulkUpdateDisputeHistoryRecordTags);
9
- /** @internal */
10
- export const bulkUpdateDisputeHistoryRecordTagsByFilter = /*#__PURE__*/ createRESTModule(publicBulkUpdateDisputeHistoryRecordTagsByFilter);
11
- export { DisputeStage, DisputeStatus, DisputeChannel, SortOrder, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
12
- //# 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,OAAO,EACL,uBAAuB,IAAI,6BAA6B,EACxD,0BAA0B,IAAI,gCAAgC,EAC9D,kCAAkC,IAAI,wCAAwC,EAC9E,0CAA0C,IAAI,gDAAgD,GAC/F,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAGhC,aAAa,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,CAAC;AAClE,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAGnC,aAAa,CAAC,gBAAgB,CAAC,gCAAgC,CAAC,CAAC;AACrE,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,aAAa,CAAC,gBAAgB,CAAC,wCAAwC,CAAC,CAAC;AAC7E,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,aAAa,CAAC,gBAAgB,CAChC,gDAAgD,CACjD,CAAC;AAEF,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,SAAS,EACT,mBAAmB,GACpB,MAAM,mGAAmG,CAAC"}
@@ -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,120 +0,0 @@
1
- import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';
2
- import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
3
- import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
4
- import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
5
- function resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl(opts) {
6
- const domainToMappings = {};
7
- return resolveUrl(Object.assign(opts, { domainToMappings }));
8
- }
9
- const PACKAGE_NAME = '@wix/auto_sdk_payments_dispute-history-records';
10
- /** Retrieves a DisputeHistoryRecord. */
11
- export 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
- protoPath: '/v1/dispute-history-records/{disputeHistoryRecordId}',
20
- data: payload,
21
- host,
22
- }),
23
- params: toURLSearchParams(payload),
24
- transformResponse: (payload) => transformPaths(payload, [
25
- {
26
- transformFn: transformRESTTimestampToSDKTimestamp,
27
- paths: [
28
- { path: 'disputeHistoryRecord.createdDate' },
29
- { path: 'disputeHistoryRecord.updatedDate' },
30
- { path: 'disputeHistoryRecord.dueDate' },
31
- ],
32
- },
33
- ]),
34
- };
35
- return metadata;
36
- }
37
- return __getDisputeHistoryRecord;
38
- }
39
- /** Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1]. */
40
- export function queryDisputeHistoryRecords(payload) {
41
- function __queryDisputeHistoryRecords({ host }) {
42
- const metadata = {
43
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
44
- method: 'POST',
45
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords',
46
- packageName: PACKAGE_NAME,
47
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({ protoPath: '/v1/dispute-history-records/query', data: payload, host }),
48
- data: payload,
49
- transformResponse: (payload) => transformPaths(payload, [
50
- {
51
- transformFn: transformRESTTimestampToSDKTimestamp,
52
- paths: [
53
- { path: 'disputeHistoryRecords.createdDate' },
54
- { path: 'disputeHistoryRecords.updatedDate' },
55
- { path: 'disputeHistoryRecords.dueDate' },
56
- ],
57
- },
58
- ]),
59
- fallback: [
60
- {
61
- method: 'POST',
62
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
63
- protoPath: '/v1/dispute-history-records/query',
64
- data: payload,
65
- host,
66
- }),
67
- data: payload,
68
- },
69
- ],
70
- };
71
- return metadata;
72
- }
73
- return __queryDisputeHistoryRecords;
74
- }
75
- /**
76
- * Synchronously update tags on multiple products, by list of product ids
77
- * A tag that appears both in the list of assign and unassign tags, will be assigned
78
- */
79
- export function bulkUpdateDisputeHistoryRecordTags(payload) {
80
- function __bulkUpdateDisputeHistoryRecordTags({ host }) {
81
- const metadata = {
82
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
83
- method: 'POST',
84
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags',
85
- packageName: PACKAGE_NAME,
86
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
87
- protoPath: '/v1/bulk/dispute-history-records/update-tags',
88
- data: payload,
89
- host,
90
- }),
91
- data: payload,
92
- };
93
- return metadata;
94
- }
95
- return __bulkUpdateDisputeHistoryRecordTags;
96
- }
97
- /**
98
- * Asynchronously update tags on multiple products, by provided filter
99
- * An empty filter will update all products
100
- * A tag that appears both in the list of assign and unassign tags, will be assigned
101
- */
102
- export function bulkUpdateDisputeHistoryRecordTagsByFilter(payload) {
103
- function __bulkUpdateDisputeHistoryRecordTagsByFilter({ host }) {
104
- const metadata = {
105
- entityFqdn: 'wix.payments.dispute_history_records.v1.dispute_history_record',
106
- method: 'POST',
107
- methodFqn: 'wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter',
108
- packageName: PACKAGE_NAME,
109
- url: resolveWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordServiceUrl({
110
- protoPath: '/v1/bulk/dispute-history-records/update-tags-by-filter',
111
- data: payload,
112
- host,
113
- }),
114
- data: payload,
115
- };
116
- return metadata;
117
- }
118
- return __bulkUpdateDisputeHistoryRecordTagsByFilter;
119
- }
120
- //# 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,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAA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;QACjE,MAAM,QAAQ,GAAG;YACf,UAAU,EACR,gEAAgE;YAClE,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,gHAAgH;YAClH,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,uEAAuE,CAC1E;gBACE,SAAS,EAAE,wDAAwD;gBACnE,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CACF;YACD,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,4CAA4C,CAAC;AACtD,CAAC"}
@@ -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 & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.GetDisputeHistoryRecordResponseNonNullableFields, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.GetDisputeHistoryRecordResponseNonNullableFields>;
16
- export declare function queryDisputeHistoryRecords(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.QueryDisputeHistoryRecordsResponseNonNullableFields, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.QueryDisputeHistoryRecordsResponseNonNullableFields>;
17
- export declare function bulkUpdateDisputeHistoryRecordTags(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields>;
18
- export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterRequest, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordUniversalTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields, ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponse & ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecordTypes.BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields>;
@@ -1,74 +0,0 @@
1
- import * as ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js';
2
- export function getDisputeHistoryRecord() {
3
- const payload = { disputeHistoryRecordId: ':disputeHistoryRecordId' };
4
- const getRequestOptions = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(payload);
5
- const getUrl = (context) => {
6
- const { url } = getRequestOptions(context);
7
- return url;
8
- };
9
- return {
10
- getUrl,
11
- httpMethod: 'GET',
12
- path: '/v1/dispute-history-records/{disputeHistoryRecordId}',
13
- pathParams: { disputeHistoryRecordId: 'disputeHistoryRecordId' },
14
- __requestType: null,
15
- __originalRequestType: null,
16
- __responseType: null,
17
- __originalResponseType: null,
18
- };
19
- }
20
- export function queryDisputeHistoryRecords() {
21
- const payload = {};
22
- const getRequestOptions = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(payload);
23
- const getUrl = (context) => {
24
- const { url } = getRequestOptions(context);
25
- return url;
26
- };
27
- return {
28
- getUrl,
29
- httpMethod: 'GET',
30
- path: '/v1/dispute-history-records/query',
31
- pathParams: {},
32
- __requestType: null,
33
- __originalRequestType: null,
34
- __responseType: null,
35
- __originalResponseType: null,
36
- };
37
- }
38
- export function bulkUpdateDisputeHistoryRecordTags() {
39
- const payload = {};
40
- const getRequestOptions = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(payload);
41
- const getUrl = (context) => {
42
- const { url } = getRequestOptions(context);
43
- return url;
44
- };
45
- return {
46
- getUrl,
47
- httpMethod: 'POST',
48
- path: '/v1/bulk/dispute-history-records/update-tags',
49
- pathParams: {},
50
- __requestType: null,
51
- __originalRequestType: null,
52
- __responseType: null,
53
- __originalResponseType: null,
54
- };
55
- }
56
- export function bulkUpdateDisputeHistoryRecordTagsByFilter() {
57
- const payload = {};
58
- const getRequestOptions = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(payload);
59
- const getUrl = (context) => {
60
- const { url } = getRequestOptions(context);
61
- return url;
62
- };
63
- return {
64
- getUrl,
65
- httpMethod: 'POST',
66
- path: '/v1/bulk/dispute-history-records/update-tags-by-filter',
67
- pathParams: {},
68
- __requestType: null,
69
- __originalRequestType: null,
70
- __responseType: null,
71
- __originalResponseType: null,
72
- };
73
- }
74
- //# sourceMappingURL=payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js","sourceRoot":"","sources":["../../../../src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gEAAgE,MAAM,8FAA8F,CAAC;AAsBjL,MAAM,UAAU,uBAAuB;IAUrC,MAAM,OAAO,GAAG,EAAE,sBAAsB,EAAE,yBAAyB,EAAS,CAAC;IAE7E,MAAM,iBAAiB,GACrB,gEAAgE,CAAC,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AAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,8CAA8C;QACpD,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0CAA0C;IAUxD,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,gEAAgE,CAAC,0CAA0C,CACzG,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,wDAAwD;QAC9D,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC"}
@@ -1,45 +0,0 @@
1
- import { HttpClient } from '@wix/sdk-types';
2
- import { BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsResponse, BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields, DisputeHistoryRecord, DisputeHistoryRecordNonNullableFields, DisputeHistoryRecordsQueryBuilder } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- /** @internal */
7
- export declare function getDisputeHistoryRecord(httpClient: HttpClient): GetDisputeHistoryRecordSignature;
8
- interface GetDisputeHistoryRecordSignature {
9
- /**
10
- * Retrieves a DisputeHistoryRecord.
11
- * @param - ID of the DisputeHistoryRecord to retrieve.
12
- * @returns The requested DisputeHistoryRecord.
13
- */
14
- (disputeHistoryRecordId: string): Promise<DisputeHistoryRecord & DisputeHistoryRecordNonNullableFields>;
15
- }
16
- /** @internal */
17
- export declare function queryDisputeHistoryRecords(httpClient: HttpClient): QueryDisputeHistoryRecordsSignature;
18
- interface QueryDisputeHistoryRecordsSignature {
19
- /**
20
- * Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
21
- */
22
- (): DisputeHistoryRecordsQueryBuilder;
23
- }
24
- /** @internal */
25
- export declare function bulkUpdateDisputeHistoryRecordTags(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsSignature;
26
- interface BulkUpdateDisputeHistoryRecordTagsSignature {
27
- /**
28
- * Synchronously update tags on multiple products, by list of product ids
29
- * A tag that appears both in the list of assign and unassign tags, will be assigned
30
- * @param - List of NileProtoTagsEntities that their tags will update.
31
- */
32
- (ids: string[], options?: BulkUpdateDisputeHistoryRecordTagsOptions | undefined): Promise<BulkUpdateDisputeHistoryRecordTagsResponse & BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields>;
33
- }
34
- /** @internal */
35
- export declare function bulkUpdateDisputeHistoryRecordTagsByFilter(httpClient: HttpClient): BulkUpdateDisputeHistoryRecordTagsByFilterSignature;
36
- interface BulkUpdateDisputeHistoryRecordTagsByFilterSignature {
37
- /**
38
- * Asynchronously update tags on multiple products, by provided filter
39
- * An empty filter will update all products
40
- * A tag that appears both in the list of assign and unassign tags, will be assigned
41
- * @param - Filter
42
- */
43
- (filter: Record<string, any> | null, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions | undefined): Promise<BulkUpdateDisputeHistoryRecordTagsByFilterResponse & BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields>;
44
- }
45
- export { ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsByFilterResponseNonNullableFields, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse, BulkUpdateDisputeHistoryRecordTagsResponseNonNullableFields, BulkUpdateDisputeHistoryRecordTagsResult, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DisputeChannel, DisputeHistoryRecord, DisputeHistoryRecordNonNullableFields, DisputeHistoryRecordsQueryBuilder, DisputeHistoryRecordsQueryResult, DisputeStage, DisputeStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse, GetDisputeHistoryRecordResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse, QueryDisputeHistoryRecordsResponseNonNullableFields, RestoreInfo, SortOrder, Sorting, TagList, Tags, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';