@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.mts} +50 -49
- package/build/{es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.ts} +50 -49
- package/build/index.js +585 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +553 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +103 -0
- package/build/internal/index.d.ts +103 -0
- package/build/internal/index.js +585 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +553 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts → internal/meta.d.mts} +59 -167
- package/build/internal/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts → meta.d.ts} +59 -167
- package/build/internal/meta.js +422 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +389 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal-Bhkpm_q_.d.mts} +50 -141
- package/build/internal/{es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal-Bhkpm_q_.d.ts} +50 -141
- package/build/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts → meta.d.mts} +59 -167
- package/build/{internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts → meta.d.ts} +59 -167
- package/build/meta.js +422 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +389 -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-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -2
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -23
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -249
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -173
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -4
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -58
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -17
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -336
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.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/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -2
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -18
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -239
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -140
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -4
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -46
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -14
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -303
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.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-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -18
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -23
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -249
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -173
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -88
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -58
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -17
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -336
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.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-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -18
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -18
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -239
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -140
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -88
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -46
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -14
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -303
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
1
|
/** PaymentAcceptanceConfiguration */
|
|
3
|
-
|
|
2
|
+
interface PaymentAcceptanceConfiguration {
|
|
4
3
|
/**
|
|
5
4
|
* id
|
|
6
5
|
* @format GUID
|
|
@@ -40,7 +39,7 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
40
39
|
/** Tags */
|
|
41
40
|
tags?: Tags;
|
|
42
41
|
}
|
|
43
|
-
|
|
42
|
+
interface PaymentAcceptanceRule {
|
|
44
43
|
/**
|
|
45
44
|
* payment_method_type_id
|
|
46
45
|
* @format GUID
|
|
@@ -54,7 +53,7 @@ export interface PaymentAcceptanceRule {
|
|
|
54
53
|
/** merchant_enabled */
|
|
55
54
|
merchantEnabled?: boolean;
|
|
56
55
|
}
|
|
57
|
-
|
|
56
|
+
interface ExtendedFields {
|
|
58
57
|
/**
|
|
59
58
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
60
59
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -87,11 +86,11 @@ export interface ExtendedFields {
|
|
|
87
86
|
* }
|
|
88
87
|
* }
|
|
89
88
|
*/
|
|
90
|
-
|
|
89
|
+
interface Tags {
|
|
91
90
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
92
91
|
tags?: TagList;
|
|
93
92
|
}
|
|
94
|
-
|
|
93
|
+
interface TagList {
|
|
95
94
|
/**
|
|
96
95
|
* List of tag IDs
|
|
97
96
|
* @maxSize 100
|
|
@@ -99,47 +98,47 @@ export interface TagList {
|
|
|
99
98
|
*/
|
|
100
99
|
tagIds?: string[];
|
|
101
100
|
}
|
|
102
|
-
|
|
101
|
+
interface CreatePaymentAcceptanceConfigurationRequest {
|
|
103
102
|
/** PaymentAcceptanceConfiguration to be created. */
|
|
104
103
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
105
104
|
}
|
|
106
|
-
|
|
105
|
+
interface CreatePaymentAcceptanceConfigurationResponse {
|
|
107
106
|
/** The created PaymentAcceptanceConfiguration. */
|
|
108
107
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
109
108
|
}
|
|
110
|
-
|
|
109
|
+
interface GetPaymentAcceptanceConfigurationRequest {
|
|
111
110
|
/**
|
|
112
111
|
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
113
112
|
* @format GUID
|
|
114
113
|
*/
|
|
115
114
|
paymentAcceptanceConfigurationId: string;
|
|
116
115
|
}
|
|
117
|
-
|
|
116
|
+
interface GetPaymentAcceptanceConfigurationResponse {
|
|
118
117
|
/** The requested PaymentAcceptanceConfiguration. */
|
|
119
118
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
120
119
|
}
|
|
121
|
-
|
|
120
|
+
interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
122
121
|
/** PaymentAcceptanceConfiguration to be updated, may be partial. */
|
|
123
122
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
124
123
|
}
|
|
125
|
-
|
|
124
|
+
interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
126
125
|
/** Updated PaymentAcceptanceConfiguration. */
|
|
127
126
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
128
127
|
}
|
|
129
|
-
|
|
128
|
+
interface DeletePaymentAcceptanceConfigurationRequest {
|
|
130
129
|
/**
|
|
131
130
|
* Id of payment acceptance configuration to delete
|
|
132
131
|
* @format GUID
|
|
133
132
|
*/
|
|
134
133
|
paymentAcceptanceConfigurationId: string;
|
|
135
134
|
}
|
|
136
|
-
|
|
135
|
+
interface DeletePaymentAcceptanceConfigurationResponse {
|
|
137
136
|
}
|
|
138
|
-
|
|
137
|
+
interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
139
138
|
/** WQL expression. */
|
|
140
139
|
query?: CursorQuery;
|
|
141
140
|
}
|
|
142
|
-
|
|
141
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
143
142
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
144
143
|
cursorPaging?: CursorPaging;
|
|
145
144
|
/**
|
|
@@ -159,11 +158,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
159
158
|
sort?: Sorting[];
|
|
160
159
|
}
|
|
161
160
|
/** @oneof */
|
|
162
|
-
|
|
161
|
+
interface CursorQueryPagingMethodOneOf {
|
|
163
162
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
164
163
|
cursorPaging?: CursorPaging;
|
|
165
164
|
}
|
|
166
|
-
|
|
165
|
+
interface Sorting {
|
|
167
166
|
/**
|
|
168
167
|
* Name of the field to sort by.
|
|
169
168
|
* @maxLength 512
|
|
@@ -172,13 +171,13 @@ export interface Sorting {
|
|
|
172
171
|
/** Sort order. */
|
|
173
172
|
order?: SortOrderWithLiterals;
|
|
174
173
|
}
|
|
175
|
-
|
|
174
|
+
declare enum SortOrder {
|
|
176
175
|
ASC = "ASC",
|
|
177
176
|
DESC = "DESC"
|
|
178
177
|
}
|
|
179
178
|
/** @enumType */
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
180
|
+
interface CursorPaging {
|
|
182
181
|
/**
|
|
183
182
|
* Maximum number of items to return in the results.
|
|
184
183
|
* @max 100
|
|
@@ -193,13 +192,13 @@ export interface CursorPaging {
|
|
|
193
192
|
*/
|
|
194
193
|
cursor?: string | null;
|
|
195
194
|
}
|
|
196
|
-
|
|
195
|
+
interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
197
196
|
/** List of PaymentAcceptanceConfigurations. */
|
|
198
197
|
paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
|
|
199
198
|
/** Paging metadata */
|
|
200
199
|
pagingMetadata?: CursorPagingMetadata;
|
|
201
200
|
}
|
|
202
|
-
|
|
201
|
+
interface CursorPagingMetadata {
|
|
203
202
|
/** Number of items returned in the response. */
|
|
204
203
|
count?: number | null;
|
|
205
204
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -212,7 +211,7 @@ export interface CursorPagingMetadata {
|
|
|
212
211
|
*/
|
|
213
212
|
hasNext?: boolean | null;
|
|
214
213
|
}
|
|
215
|
-
|
|
214
|
+
interface Cursors {
|
|
216
215
|
/**
|
|
217
216
|
* Cursor string pointing to the next page in the list of results.
|
|
218
217
|
* @maxLength 16000
|
|
@@ -224,7 +223,7 @@ export interface Cursors {
|
|
|
224
223
|
*/
|
|
225
224
|
prev?: string | null;
|
|
226
225
|
}
|
|
227
|
-
|
|
226
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
228
227
|
/**
|
|
229
228
|
* List of NileProtoTagsEntities that their tags will update.
|
|
230
229
|
* @minSize 1
|
|
@@ -237,7 +236,7 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
|
237
236
|
/** List of Tags to unAssign */
|
|
238
237
|
unassignTags?: Tags;
|
|
239
238
|
}
|
|
240
|
-
|
|
239
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
241
240
|
/**
|
|
242
241
|
* Results
|
|
243
242
|
* @minSize 1
|
|
@@ -247,7 +246,7 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
|
247
246
|
/** Metadata regarding the bulk update operation */
|
|
248
247
|
bulkActionMetadata?: BulkActionMetadata;
|
|
249
248
|
}
|
|
250
|
-
|
|
249
|
+
interface ItemMetadata {
|
|
251
250
|
/**
|
|
252
251
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
253
252
|
* @format GUID
|
|
@@ -260,7 +259,7 @@ export interface ItemMetadata {
|
|
|
260
259
|
/** Details about the error in case of failure. */
|
|
261
260
|
error?: ApplicationError;
|
|
262
261
|
}
|
|
263
|
-
|
|
262
|
+
interface ApplicationError {
|
|
264
263
|
/** Error code. */
|
|
265
264
|
code?: string;
|
|
266
265
|
/** Description of the error. */
|
|
@@ -268,11 +267,11 @@ export interface ApplicationError {
|
|
|
268
267
|
/** Data related to the error. */
|
|
269
268
|
data?: Record<string, any> | null;
|
|
270
269
|
}
|
|
271
|
-
|
|
270
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
272
271
|
/** Metadata regarding the specific single update operation */
|
|
273
272
|
itemMetadata?: ItemMetadata;
|
|
274
273
|
}
|
|
275
|
-
|
|
274
|
+
interface BulkActionMetadata {
|
|
276
275
|
/** Number of items that were successfully processed. */
|
|
277
276
|
totalSuccesses?: number;
|
|
278
277
|
/** Number of items that couldn't be processed. */
|
|
@@ -280,7 +279,7 @@ export interface BulkActionMetadata {
|
|
|
280
279
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
281
280
|
undetailedFailures?: number;
|
|
282
281
|
}
|
|
283
|
-
|
|
282
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
284
283
|
/** Filter */
|
|
285
284
|
filter: Record<string, any> | null;
|
|
286
285
|
/** List of Tags to assign */
|
|
@@ -288,14 +287,14 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
|
288
287
|
/** List of Tags to unAssign */
|
|
289
288
|
unassignTags?: Tags;
|
|
290
289
|
}
|
|
291
|
-
|
|
290
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
292
291
|
/**
|
|
293
292
|
* Job ID
|
|
294
293
|
* @format GUID
|
|
295
294
|
*/
|
|
296
295
|
jobId?: string;
|
|
297
296
|
}
|
|
298
|
-
|
|
297
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
299
298
|
createdEvent?: EntityCreatedEvent;
|
|
300
299
|
updatedEvent?: EntityUpdatedEvent;
|
|
301
300
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -330,19 +329,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
330
329
|
entityEventSequence?: string | null;
|
|
331
330
|
}
|
|
332
331
|
/** @oneof */
|
|
333
|
-
|
|
332
|
+
interface DomainEventBodyOneOf {
|
|
334
333
|
createdEvent?: EntityCreatedEvent;
|
|
335
334
|
updatedEvent?: EntityUpdatedEvent;
|
|
336
335
|
deletedEvent?: EntityDeletedEvent;
|
|
337
336
|
actionEvent?: ActionEvent;
|
|
338
337
|
}
|
|
339
|
-
|
|
338
|
+
interface EntityCreatedEvent {
|
|
340
339
|
entity?: string;
|
|
341
340
|
}
|
|
342
|
-
|
|
341
|
+
interface RestoreInfo {
|
|
343
342
|
deletedDate?: Date | null;
|
|
344
343
|
}
|
|
345
|
-
|
|
344
|
+
interface EntityUpdatedEvent {
|
|
346
345
|
/**
|
|
347
346
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
348
347
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -350,14 +349,14 @@ export interface EntityUpdatedEvent {
|
|
|
350
349
|
*/
|
|
351
350
|
currentEntity?: string;
|
|
352
351
|
}
|
|
353
|
-
|
|
352
|
+
interface EntityDeletedEvent {
|
|
354
353
|
/** Entity that was deleted. */
|
|
355
354
|
deletedEntity?: string | null;
|
|
356
355
|
}
|
|
357
|
-
|
|
356
|
+
interface ActionEvent {
|
|
358
357
|
body?: string;
|
|
359
358
|
}
|
|
360
|
-
|
|
359
|
+
interface MessageEnvelope {
|
|
361
360
|
/**
|
|
362
361
|
* App instance ID.
|
|
363
362
|
* @format GUID
|
|
@@ -373,7 +372,7 @@ export interface MessageEnvelope {
|
|
|
373
372
|
/** Stringify payload. */
|
|
374
373
|
data?: string;
|
|
375
374
|
}
|
|
376
|
-
|
|
375
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
377
376
|
/**
|
|
378
377
|
* ID of a site visitor that has not logged in to the site.
|
|
379
378
|
* @format GUID
|
|
@@ -398,7 +397,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
398
397
|
identityType?: WebhookIdentityTypeWithLiterals;
|
|
399
398
|
}
|
|
400
399
|
/** @oneof */
|
|
401
|
-
|
|
400
|
+
interface IdentificationDataIdOneOf {
|
|
402
401
|
/**
|
|
403
402
|
* ID of a site visitor that has not logged in to the site.
|
|
404
403
|
* @format GUID
|
|
@@ -420,7 +419,7 @@ export interface IdentificationDataIdOneOf {
|
|
|
420
419
|
*/
|
|
421
420
|
appId?: string;
|
|
422
421
|
}
|
|
423
|
-
|
|
422
|
+
declare enum WebhookIdentityType {
|
|
424
423
|
UNKNOWN = "UNKNOWN",
|
|
425
424
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
426
425
|
MEMBER = "MEMBER",
|
|
@@ -428,51 +427,8 @@ export declare enum WebhookIdentityType {
|
|
|
428
427
|
APP = "APP"
|
|
429
428
|
}
|
|
430
429
|
/** @enumType */
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* Creates a PaymentAcceptanceConfiguration.
|
|
435
|
-
* @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.
|
|
436
|
-
* @internal
|
|
437
|
-
* @documentationMaturity preview
|
|
438
|
-
* @requiredField paymentAcceptanceConfiguration
|
|
439
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE
|
|
440
|
-
* @returns The created PaymentAcceptanceConfiguration.
|
|
441
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration
|
|
442
|
-
*/
|
|
443
|
-
export declare function createPaymentAcceptanceConfiguration(paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
444
|
-
/**
|
|
445
|
-
* Retrieves a PaymentAcceptanceConfiguration.
|
|
446
|
-
* @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
447
|
-
* @internal
|
|
448
|
-
* @documentationMaturity preview
|
|
449
|
-
* @requiredField paymentAcceptanceConfigurationId
|
|
450
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
451
|
-
* @returns The requested PaymentAcceptanceConfiguration.
|
|
452
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration
|
|
453
|
-
*/
|
|
454
|
-
export declare function getPaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
455
|
-
/**
|
|
456
|
-
* Updates a PaymentAcceptanceConfiguration.
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
* Each time the PaymentAcceptanceConfiguration is updated,
|
|
460
|
-
* `revision` increments by 1.
|
|
461
|
-
* The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.
|
|
462
|
-
* This ensures you're working with the latest PaymentAcceptanceConfiguration
|
|
463
|
-
* and prevents unintended overwrites.
|
|
464
|
-
* @param _id - id
|
|
465
|
-
* @internal
|
|
466
|
-
* @documentationMaturity preview
|
|
467
|
-
* @requiredField _id
|
|
468
|
-
* @requiredField paymentAcceptanceConfiguration
|
|
469
|
-
* @requiredField paymentAcceptanceConfiguration.revision
|
|
470
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE
|
|
471
|
-
* @returns Updated PaymentAcceptanceConfiguration.
|
|
472
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration
|
|
473
|
-
*/
|
|
474
|
-
export declare function updatePaymentAcceptanceConfiguration(_id: string, paymentAcceptanceConfiguration: NonNullablePaths<UpdatePaymentAcceptanceConfiguration, `revision`>): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
475
|
-
export interface UpdatePaymentAcceptanceConfiguration {
|
|
430
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
431
|
+
interface UpdatePaymentAcceptanceConfiguration {
|
|
476
432
|
/**
|
|
477
433
|
* id
|
|
478
434
|
* @format GUID
|
|
@@ -512,31 +468,6 @@ export interface UpdatePaymentAcceptanceConfiguration {
|
|
|
512
468
|
/** Tags */
|
|
513
469
|
tags?: Tags;
|
|
514
470
|
}
|
|
515
|
-
/**
|
|
516
|
-
* Delete a PaymentAcceptanceConfiguration
|
|
517
|
-
* @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete
|
|
518
|
-
* @internal
|
|
519
|
-
* @documentationMaturity preview
|
|
520
|
-
* @requiredField paymentAcceptanceConfigurationId
|
|
521
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE
|
|
522
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration
|
|
523
|
-
*/
|
|
524
|
-
export declare function deletePaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<void>;
|
|
525
|
-
/**
|
|
526
|
-
* Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
527
|
-
*
|
|
528
|
-
* Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.
|
|
529
|
-
*
|
|
530
|
-
* To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].
|
|
531
|
-
*
|
|
532
|
-
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
533
|
-
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
534
|
-
* @internal
|
|
535
|
-
* @documentationMaturity preview
|
|
536
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
537
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations
|
|
538
|
-
*/
|
|
539
|
-
export declare function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder;
|
|
540
471
|
interface QueryCursorResult {
|
|
541
472
|
cursors: Cursors;
|
|
542
473
|
hasNext: () => boolean;
|
|
@@ -544,13 +475,13 @@ interface QueryCursorResult {
|
|
|
544
475
|
length: number;
|
|
545
476
|
pageSize: number;
|
|
546
477
|
}
|
|
547
|
-
|
|
478
|
+
interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
|
|
548
479
|
items: PaymentAcceptanceConfiguration[];
|
|
549
480
|
query: PaymentAcceptanceConfigurationsQueryBuilder;
|
|
550
481
|
next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
551
482
|
prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
552
483
|
}
|
|
553
|
-
|
|
484
|
+
interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
554
485
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
555
486
|
* @param value - Value to compare against.
|
|
556
487
|
* @documentationMaturity preview
|
|
@@ -614,39 +545,17 @@ export interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
|
614
545
|
/** @documentationMaturity preview */
|
|
615
546
|
find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
616
547
|
}
|
|
617
|
-
|
|
618
|
-
* Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids
|
|
619
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
620
|
-
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
621
|
-
* @internal
|
|
622
|
-
* @documentationMaturity preview
|
|
623
|
-
* @requiredField ids
|
|
624
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
625
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags
|
|
626
|
-
*/
|
|
627
|
-
export declare function bulkUpdatePaymentAcceptanceConfigurationTags(ids: string[], options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions): Promise<NonNullablePaths<BulkUpdatePaymentAcceptanceConfigurationTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
628
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
548
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
629
549
|
/** List of Tags to assign */
|
|
630
550
|
assignTags?: Tags;
|
|
631
551
|
/** List of Tags to unAssign */
|
|
632
552
|
unassignTags?: Tags;
|
|
633
553
|
}
|
|
634
|
-
|
|
635
|
-
* Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter
|
|
636
|
-
* An empty filter will update all PaymentAcceptanceConfigurations
|
|
637
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
638
|
-
* @param filter - Filter
|
|
639
|
-
* @internal
|
|
640
|
-
* @documentationMaturity preview
|
|
641
|
-
* @requiredField filter
|
|
642
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
643
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter
|
|
644
|
-
*/
|
|
645
|
-
export declare function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(filter: Record<string, any>, options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, `jobId`>>;
|
|
646
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
554
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
647
555
|
/** List of Tags to assign */
|
|
648
556
|
assignTags?: Tags;
|
|
649
557
|
/** List of Tags to unAssign */
|
|
650
558
|
unassignTags?: Tags;
|
|
651
559
|
}
|
|
652
|
-
|
|
560
|
+
|
|
561
|
+
export { type ApplicationError as A, type BulkUpdatePaymentAcceptanceConfigurationTagsOptions as B, type CreatePaymentAcceptanceConfigurationRequest as C, type DeletePaymentAcceptanceConfigurationRequest as D, type ExtendedFields as E, type EntityDeletedEvent as F, type GetPaymentAcceptanceConfigurationRequest as G, type ActionEvent as H, type ItemMetadata as I, type IdentificationData as J, type IdentificationDataIdOneOf as K, type PaymentAcceptanceConfigurationsQueryResult as L, type MessageEnvelope as M, type PaymentAcceptanceConfiguration as P, type QueryPaymentAcceptanceConfigurationsRequest as Q, type RestoreInfo as R, SortOrder as S, type Tags as T, type UpdatePaymentAcceptanceConfiguration as U, WebhookIdentityType as W, type PaymentAcceptanceConfigurationsQueryBuilder as a, type BulkUpdatePaymentAcceptanceConfigurationTagsResponse as b, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions as c, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse as d, type PaymentAcceptanceRule as e, type TagList as f, type CreatePaymentAcceptanceConfigurationResponse as g, type GetPaymentAcceptanceConfigurationResponse as h, type UpdatePaymentAcceptanceConfigurationRequest as i, type UpdatePaymentAcceptanceConfigurationResponse as j, type DeletePaymentAcceptanceConfigurationResponse as k, type CursorQuery as l, type CursorQueryPagingMethodOneOf as m, type Sorting as n, type CursorPaging as o, type QueryPaymentAcceptanceConfigurationsResponse as p, type CursorPagingMetadata as q, type Cursors as r, type BulkUpdatePaymentAcceptanceConfigurationTagsRequest as s, type BulkUpdatePaymentAcceptanceConfigurationTagsResult as t, type BulkActionMetadata as u, type BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest as v, type DomainEvent as w, type DomainEventBodyOneOf as x, type EntityCreatedEvent as y, type EntityUpdatedEvent as z };
|