@wix/auto_sdk_payments_dispute-history-records 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.mts} +49 -48
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.d.ts → index.d.ts} +49 -48
- package/build/index.js +389 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +357 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +54 -0
- package/build/internal/index.d.ts +54 -0
- package/build/internal/index.js +389 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +357 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → internal/meta.d.mts} +51 -168
- package/build/internal/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/internal/meta.js +238 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +208 -0
- package/build/internal/meta.mjs.map +1 -0
- 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
- 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
- package/build/{cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.mts} +51 -168
- package/build/{internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.d.ts → meta.d.ts} +51 -168
- package/build/meta.js +238 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +208 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -2
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -4
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -20
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -127
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -104
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -40
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -50
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -246
- package/build/internal/cjs/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.d.ts +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js +0 -12
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.d.ts +0 -16
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js +0 -120
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.http.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.d.ts +0 -18
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js +0 -74
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.meta.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.d.ts +0 -45
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js +0 -28
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.public.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js +0 -47
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.types.js.map +0 -1
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js +0 -216
- package/build/internal/es/src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js.map +0 -1
|
@@ -1,246 +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
|
-
// @ts-ignore
|
|
32
|
-
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
33
|
-
var DisputeStage;
|
|
34
|
-
(function (DisputeStage) {
|
|
35
|
-
DisputeStage["UNKNOWN_DISPUTE_STAGE"] = "UNKNOWN_DISPUTE_STAGE";
|
|
36
|
-
/** Notification of Fraud, Pre-chargeback, Early Fraud Warning */
|
|
37
|
-
DisputeStage["NOTIFICATION_OF_FRAUD"] = "NOTIFICATION_OF_FRAUD";
|
|
38
|
-
/** Request for Information / Inquiry */
|
|
39
|
-
DisputeStage["RFI"] = "RFI";
|
|
40
|
-
/** Chargeback */
|
|
41
|
-
DisputeStage["CHARGEBACK"] = "CHARGEBACK";
|
|
42
|
-
})(DisputeStage || (exports.DisputeStage = DisputeStage = {}));
|
|
43
|
-
var DisputeStatus;
|
|
44
|
-
(function (DisputeStatus) {
|
|
45
|
-
/** Unknown status */
|
|
46
|
-
DisputeStatus["UNKNOWN_DISPUTE_STATUS"] = "UNKNOWN_DISPUTE_STATUS";
|
|
47
|
-
/** Waiting for some merchant action */
|
|
48
|
-
DisputeStatus["WAITING_MERCHANT"] = "WAITING_MERCHANT";
|
|
49
|
-
/** Dispute is under review by PSP (internal channel) or Bank (external channel) */
|
|
50
|
-
DisputeStatus["UNDER_REVIEW"] = "UNDER_REVIEW";
|
|
51
|
-
/** Waiting for some buyer action */
|
|
52
|
-
DisputeStatus["WAITING_BUYER"] = "WAITING_BUYER";
|
|
53
|
-
/** Dispute won */
|
|
54
|
-
DisputeStatus["WON"] = "WON";
|
|
55
|
-
/** Dispute lost */
|
|
56
|
-
DisputeStatus["LOST"] = "LOST";
|
|
57
|
-
})(DisputeStatus || (exports.DisputeStatus = DisputeStatus = {}));
|
|
58
|
-
var DisputeChannel;
|
|
59
|
-
(function (DisputeChannel) {
|
|
60
|
-
DisputeChannel["UNKNOWN_DISPUTE_CHANNEL"] = "UNKNOWN_DISPUTE_CHANNEL";
|
|
61
|
-
/** Internal, the dispute is reviewed by PSP */
|
|
62
|
-
DisputeChannel["INTERNAL"] = "INTERNAL";
|
|
63
|
-
/** External, the dispute is reviewed by bank (or other financial institution) */
|
|
64
|
-
DisputeChannel["EXTERNAL"] = "EXTERNAL";
|
|
65
|
-
})(DisputeChannel || (exports.DisputeChannel = DisputeChannel = {}));
|
|
66
|
-
var SortOrder;
|
|
67
|
-
(function (SortOrder) {
|
|
68
|
-
SortOrder["ASC"] = "ASC";
|
|
69
|
-
SortOrder["DESC"] = "DESC";
|
|
70
|
-
})(SortOrder || (exports.SortOrder = SortOrder = {}));
|
|
71
|
-
var WebhookIdentityType;
|
|
72
|
-
(function (WebhookIdentityType) {
|
|
73
|
-
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
74
|
-
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
75
|
-
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
76
|
-
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
77
|
-
WebhookIdentityType["APP"] = "APP";
|
|
78
|
-
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
79
|
-
/**
|
|
80
|
-
* Retrieves a DisputeHistoryRecord.
|
|
81
|
-
* @param disputeHistoryRecordId - ID of the DisputeHistoryRecord to retrieve.
|
|
82
|
-
* @internal
|
|
83
|
-
* @documentationMaturity preview
|
|
84
|
-
* @requiredField disputeHistoryRecordId
|
|
85
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
86
|
-
* @returns The requested DisputeHistoryRecord.
|
|
87
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.GetDisputeHistoryRecord
|
|
88
|
-
*/
|
|
89
|
-
async function getDisputeHistoryRecord(disputeHistoryRecordId) {
|
|
90
|
-
// @ts-ignore
|
|
91
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
92
|
-
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
93
|
-
disputeHistoryRecordId: disputeHistoryRecordId,
|
|
94
|
-
});
|
|
95
|
-
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.getDisputeHistoryRecord(payload);
|
|
96
|
-
sideEffects?.onSiteCall?.();
|
|
97
|
-
try {
|
|
98
|
-
const result = await httpClient.request(reqOpts);
|
|
99
|
-
sideEffects?.onSuccess?.(result);
|
|
100
|
-
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
101
|
-
?.disputeHistoryRecord;
|
|
102
|
-
}
|
|
103
|
-
catch (err) {
|
|
104
|
-
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
105
|
-
spreadPathsToArguments: {},
|
|
106
|
-
explicitPathsToArguments: { disputeHistoryRecordId: '$[0]' },
|
|
107
|
-
singleArgumentUnchanged: false,
|
|
108
|
-
}, ['disputeHistoryRecordId']);
|
|
109
|
-
sideEffects?.onError?.(err);
|
|
110
|
-
throw transformedError;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
exports.getDisputeHistoryRecord = getDisputeHistoryRecord;
|
|
114
|
-
/**
|
|
115
|
-
* Retrieves a list of DisputeHistoryRecords, given the provided [paging, filtering, and sorting][1].
|
|
116
|
-
* @internal
|
|
117
|
-
* @documentationMaturity preview
|
|
118
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_READ
|
|
119
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.QueryDisputeHistoryRecords
|
|
120
|
-
*/
|
|
121
|
-
function queryDisputeHistoryRecords() {
|
|
122
|
-
// @ts-ignore
|
|
123
|
-
const { httpClient, sideEffects } = arguments[0];
|
|
124
|
-
return (0, query_builder_1.queryBuilder)({
|
|
125
|
-
func: async (payload) => {
|
|
126
|
-
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.queryDisputeHistoryRecords(payload);
|
|
127
|
-
sideEffects?.onSiteCall?.();
|
|
128
|
-
try {
|
|
129
|
-
const result = await httpClient.request(reqOpts);
|
|
130
|
-
sideEffects?.onSuccess?.(result);
|
|
131
|
-
return result;
|
|
132
|
-
}
|
|
133
|
-
catch (err) {
|
|
134
|
-
sideEffects?.onError?.(err);
|
|
135
|
-
throw err;
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
requestTransformer: (query) => {
|
|
139
|
-
const args = [query, {}];
|
|
140
|
-
return (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
141
|
-
...args?.[1],
|
|
142
|
-
query: args?.[0],
|
|
143
|
-
});
|
|
144
|
-
},
|
|
145
|
-
responseTransformer: ({ data, }) => {
|
|
146
|
-
const transformedData = (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(data, []));
|
|
147
|
-
return {
|
|
148
|
-
items: transformedData?.disputeHistoryRecords,
|
|
149
|
-
pagingMetadata: transformedData?.pagingMetadata,
|
|
150
|
-
};
|
|
151
|
-
},
|
|
152
|
-
errorTransformer: (err) => {
|
|
153
|
-
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
154
|
-
spreadPathsToArguments: {},
|
|
155
|
-
explicitPathsToArguments: { query: '$[0]' },
|
|
156
|
-
singleArgumentUnchanged: false,
|
|
157
|
-
});
|
|
158
|
-
throw transformedError;
|
|
159
|
-
},
|
|
160
|
-
pagingMethod: 'CURSOR',
|
|
161
|
-
transformationPaths: {},
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
exports.queryDisputeHistoryRecords = queryDisputeHistoryRecords;
|
|
165
|
-
/**
|
|
166
|
-
* Synchronously update tags on multiple products, by list of product ids
|
|
167
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
168
|
-
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
169
|
-
* @internal
|
|
170
|
-
* @documentationMaturity preview
|
|
171
|
-
* @requiredField ids
|
|
172
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
173
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTags
|
|
174
|
-
*/
|
|
175
|
-
async function bulkUpdateDisputeHistoryRecordTags(ids, options) {
|
|
176
|
-
// @ts-ignore
|
|
177
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
178
|
-
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
179
|
-
ids: ids,
|
|
180
|
-
assignTags: options?.assignTags,
|
|
181
|
-
unassignTags: options?.unassignTags,
|
|
182
|
-
});
|
|
183
|
-
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTags(payload);
|
|
184
|
-
sideEffects?.onSiteCall?.();
|
|
185
|
-
try {
|
|
186
|
-
const result = await httpClient.request(reqOpts);
|
|
187
|
-
sideEffects?.onSuccess?.(result);
|
|
188
|
-
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
189
|
-
}
|
|
190
|
-
catch (err) {
|
|
191
|
-
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
192
|
-
spreadPathsToArguments: {},
|
|
193
|
-
explicitPathsToArguments: {
|
|
194
|
-
ids: '$[0]',
|
|
195
|
-
assignTags: '$[1].assignTags',
|
|
196
|
-
unassignTags: '$[1].unassignTags',
|
|
197
|
-
},
|
|
198
|
-
singleArgumentUnchanged: false,
|
|
199
|
-
}, ['ids', 'options']);
|
|
200
|
-
sideEffects?.onError?.(err);
|
|
201
|
-
throw transformedError;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
exports.bulkUpdateDisputeHistoryRecordTags = bulkUpdateDisputeHistoryRecordTags;
|
|
205
|
-
/**
|
|
206
|
-
* Asynchronously update tags on multiple products, by provided filter
|
|
207
|
-
* An empty filter will update all products
|
|
208
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
209
|
-
* @param filter - Filter
|
|
210
|
-
* @internal
|
|
211
|
-
* @documentationMaturity preview
|
|
212
|
-
* @requiredField filter
|
|
213
|
-
* @permissionId PAYMENTS.DISPUTE_HISTORY_RECORD_UPDATE_TAGS
|
|
214
|
-
* @fqn wix.payments.dispute_history_records.v1.DisputeHistoryRecordService.BulkUpdateDisputeHistoryRecordTagsByFilter
|
|
215
|
-
*/
|
|
216
|
-
async function bulkUpdateDisputeHistoryRecordTagsByFilter(filter, options) {
|
|
217
|
-
// @ts-ignore
|
|
218
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
219
|
-
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
220
|
-
filter: filter,
|
|
221
|
-
assignTags: options?.assignTags,
|
|
222
|
-
unassignTags: options?.unassignTags,
|
|
223
|
-
});
|
|
224
|
-
const reqOpts = ambassadorWixPaymentsDisputeHistoryRecordsV1DisputeHistoryRecord.bulkUpdateDisputeHistoryRecordTagsByFilter(payload);
|
|
225
|
-
sideEffects?.onSiteCall?.();
|
|
226
|
-
try {
|
|
227
|
-
const result = await httpClient.request(reqOpts);
|
|
228
|
-
sideEffects?.onSuccess?.(result);
|
|
229
|
-
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
230
|
-
}
|
|
231
|
-
catch (err) {
|
|
232
|
-
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
233
|
-
spreadPathsToArguments: {},
|
|
234
|
-
explicitPathsToArguments: {
|
|
235
|
-
filter: '$[0]',
|
|
236
|
-
assignTags: '$[1].assignTags',
|
|
237
|
-
unassignTags: '$[1].unassignTags',
|
|
238
|
-
},
|
|
239
|
-
singleArgumentUnchanged: false,
|
|
240
|
-
}, ['filter', 'options']);
|
|
241
|
-
sideEffects?.onError?.(err);
|
|
242
|
-
throw transformedError;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
exports.bulkUpdateDisputeHistoryRecordTagsByFilter = bulkUpdateDisputeHistoryRecordTagsByFilter;
|
|
246
|
-
//# 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;AACjL,aAAa;AACb,sFAAkF;AAyElF,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iEAAiE;IACjE,+DAA+C,CAAA;IAC/C,wCAAwC;IACxC,2BAAW,CAAA;IACX,iBAAiB;IACjB,yCAAyB,CAAA;AAC3B,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAUD,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,qBAAqB;IACrB,kEAAiD,CAAA;IACjD,uCAAuC;IACvC,sDAAqC,CAAA;IACrC,mFAAmF;IACnF,8CAA6B,CAAA;IAC7B,oCAAoC;IACpC,gDAA+B,CAAA;IAC/B,kBAAkB;IAClB,4BAAW,CAAA;IACX,mBAAmB;IACnB,8BAAa,CAAA;AACf,CAAC,EAbW,aAAa,6BAAb,aAAa,QAaxB;AAYD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,qEAAmD,CAAA;IACnD,+CAA+C;IAC/C,uCAAqB,CAAA;IACrB,iFAAiF;IACjF,uCAAqB,CAAA;AACvB,CA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;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA/CD,gGA+CC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.context.js';
|
|
@@ -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 +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 +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, 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,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,uEAAuE,CAC9E,IAA8C;IAE9C,MAAM,gBAAgB,GAAG,EAAE,CAAC;IAE5B,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,gDAAgD,CAAC;AAEtE,wCAAwC;AACxC,MAAM,UAAU,uBAAuB,CACrC,OAAe;IAEf,SAAS,yBAAyB,CAAC,EAAE,IAAI,EAAO;QAC9C,MAAM,QAAQ,GAAG;YACf,UAAU,EACR,gEAAgE;YAClE,MAAM,EAAE,KAAY;YACpB,SAAS,EACP,6FAA6F;YAC/F,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,uEAAuE,CAC1E;gBACE,SAAS,EAAE,sDAAsD;gBACjE,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CACF;YACD,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC;YAClC,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,c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UAAU,kCAAkC,CAChD,OAAe;IAEf,SAAS,oCAAoC,CAAC,EAAE,IAAI,EAAO;QACzD,MAAM,QAAQ,GAAG;YACf,UAAU,EACR,gEAAgE;YAClE,MAAM,EAAE,MAAa;YACrB,SAAS,EACP,wGAAwG;YAC1G,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,uEAAuE,CAC1E;gBACE,SAAS,EAAE,8CAA8C;gBACzD,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CACF;YACD,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,oCAAoC,CAAC;AAC9C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,0CAA0C,CACxD,OAAe;IAEf,SAAS,4CAA4C,CAAC,EAAE,IAAI,EAAO;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, 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>;
|
|
@@ -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;IAQrC,MAAM,OAAO,GAAG,EAAE,sBAAsB,EAAE,yBAAyB,EAAS,CAAC;IAE7E,MAAM,iBAAiB,GACrB,gEAAgE,CAAC,uBAAuB,CACtF,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,KAAK;QACjB,IAAI,EAAE,sDAAsD;QAC5D,UAAU,EAAE,EAAE,sBAAsB,EAAE,wBAAwB,EAAE;QAChE,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B;IAQxC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,gEAAgE,CAAC,0BAA0B,CACzF,OAAO,CACR,CAAC;IAEJ,MAAM,MAAM,GAAG,CAAC,OAAY,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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, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsResponse, DisputeHistoryRecord, 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>;
|
|
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>;
|
|
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>, options?: BulkUpdateDisputeHistoryRecordTagsByFilterOptions | undefined): Promise<BulkUpdateDisputeHistoryRecordTagsByFilterResponse>;
|
|
44
|
-
}
|
|
45
|
-
export { ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdateDisputeHistoryRecordTagsByFilterOptions, BulkUpdateDisputeHistoryRecordTagsByFilterRequest, BulkUpdateDisputeHistoryRecordTagsByFilterResponse, BulkUpdateDisputeHistoryRecordTagsOptions, BulkUpdateDisputeHistoryRecordTagsRequest, BulkUpdateDisputeHistoryRecordTagsResponse, BulkUpdateDisputeHistoryRecordTagsResult, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DisputeChannel, DisputeHistoryRecord, DisputeHistoryRecordsQueryBuilder, DisputeHistoryRecordsQueryResult, DisputeStage, DisputeStatus, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetDisputeHistoryRecordRequest, GetDisputeHistoryRecordResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryDisputeHistoryRecordsRequest, QueryDisputeHistoryRecordsResponse, RestoreInfo, SortOrder, Sorting, TagList, Tags, WebhookIdentityType, } from './payments-dispute-history-records-v1-dispute-history-record-dispute-history-records.universal.js';
|