@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.3 → 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.
- package/build/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.mts} +48 -98
- package/build/{es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.ts} +48 -98
- package/build/index.js +582 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +550 -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 +582 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +550 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +322 -0
- package/build/internal/meta.d.ts +322 -0
- 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-jqObRsin.d.mts} +48 -188
- 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-jqObRsin.d.ts} +48 -188
- package/build/meta.d.mts +322 -0
- package/build/meta.d.ts +322 -0
- 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 +14 -13
- 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.d.ts +0 -488
- 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 -334
- 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/package.json +0 -3
- 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.d.ts +0 -488
- 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 -301
- 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.d.ts +0 -488
- 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 -334
- 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.d.ts +0 -488
- 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 -301
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** PaymentAcceptanceConfiguration */
|
|
2
|
-
|
|
2
|
+
interface PaymentAcceptanceConfiguration {
|
|
3
3
|
/**
|
|
4
4
|
* id
|
|
5
5
|
* @format GUID
|
|
@@ -39,7 +39,7 @@ export interface PaymentAcceptanceConfiguration {
|
|
|
39
39
|
/** Tags */
|
|
40
40
|
tags?: Tags;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
interface PaymentAcceptanceRule {
|
|
43
43
|
/**
|
|
44
44
|
* payment_method_type_id
|
|
45
45
|
* @format GUID
|
|
@@ -53,7 +53,7 @@ export interface PaymentAcceptanceRule {
|
|
|
53
53
|
/** merchant_enabled */
|
|
54
54
|
merchantEnabled?: boolean;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
interface ExtendedFields {
|
|
57
57
|
/**
|
|
58
58
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
59
59
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -86,11 +86,11 @@ export interface ExtendedFields {
|
|
|
86
86
|
* }
|
|
87
87
|
* }
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
interface Tags {
|
|
90
90
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
91
91
|
tags?: TagList;
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
interface TagList {
|
|
94
94
|
/**
|
|
95
95
|
* List of tag IDs
|
|
96
96
|
* @maxSize 100
|
|
@@ -98,47 +98,47 @@ export interface TagList {
|
|
|
98
98
|
*/
|
|
99
99
|
tagIds?: string[];
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
interface CreatePaymentAcceptanceConfigurationRequest {
|
|
102
102
|
/** PaymentAcceptanceConfiguration to be created. */
|
|
103
103
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
interface CreatePaymentAcceptanceConfigurationResponse {
|
|
106
106
|
/** The created PaymentAcceptanceConfiguration. */
|
|
107
107
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
interface GetPaymentAcceptanceConfigurationRequest {
|
|
110
110
|
/**
|
|
111
111
|
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
112
112
|
* @format GUID
|
|
113
113
|
*/
|
|
114
114
|
paymentAcceptanceConfigurationId: string;
|
|
115
115
|
}
|
|
116
|
-
|
|
116
|
+
interface GetPaymentAcceptanceConfigurationResponse {
|
|
117
117
|
/** The requested PaymentAcceptanceConfiguration. */
|
|
118
118
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
121
121
|
/** PaymentAcceptanceConfiguration to be updated, may be partial. */
|
|
122
122
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
125
125
|
/** Updated PaymentAcceptanceConfiguration. */
|
|
126
126
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
interface DeletePaymentAcceptanceConfigurationRequest {
|
|
129
129
|
/**
|
|
130
130
|
* Id of payment acceptance configuration to delete
|
|
131
131
|
* @format GUID
|
|
132
132
|
*/
|
|
133
133
|
paymentAcceptanceConfigurationId: string;
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
interface DeletePaymentAcceptanceConfigurationResponse {
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
138
138
|
/** WQL expression. */
|
|
139
139
|
query?: CursorQuery;
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
142
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`. */
|
|
143
143
|
cursorPaging?: CursorPaging;
|
|
144
144
|
/**
|
|
@@ -158,11 +158,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
158
158
|
sort?: Sorting[];
|
|
159
159
|
}
|
|
160
160
|
/** @oneof */
|
|
161
|
-
|
|
161
|
+
interface CursorQueryPagingMethodOneOf {
|
|
162
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`. */
|
|
163
163
|
cursorPaging?: CursorPaging;
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
interface Sorting {
|
|
166
166
|
/**
|
|
167
167
|
* Name of the field to sort by.
|
|
168
168
|
* @maxLength 512
|
|
@@ -171,11 +171,11 @@ export interface Sorting {
|
|
|
171
171
|
/** Sort order. */
|
|
172
172
|
order?: SortOrder;
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
declare enum SortOrder {
|
|
175
175
|
ASC = "ASC",
|
|
176
176
|
DESC = "DESC"
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
interface CursorPaging {
|
|
179
179
|
/**
|
|
180
180
|
* Maximum number of items to return in the results.
|
|
181
181
|
* @max 100
|
|
@@ -190,13 +190,13 @@ export interface CursorPaging {
|
|
|
190
190
|
*/
|
|
191
191
|
cursor?: string | null;
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
194
194
|
/** List of PaymentAcceptanceConfigurations. */
|
|
195
195
|
paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
|
|
196
196
|
/** Paging metadata */
|
|
197
197
|
pagingMetadata?: CursorPagingMetadata;
|
|
198
198
|
}
|
|
199
|
-
|
|
199
|
+
interface CursorPagingMetadata {
|
|
200
200
|
/** Number of items returned in the response. */
|
|
201
201
|
count?: number | null;
|
|
202
202
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -209,7 +209,7 @@ export interface CursorPagingMetadata {
|
|
|
209
209
|
*/
|
|
210
210
|
hasNext?: boolean | null;
|
|
211
211
|
}
|
|
212
|
-
|
|
212
|
+
interface Cursors {
|
|
213
213
|
/**
|
|
214
214
|
* Cursor string pointing to the next page in the list of results.
|
|
215
215
|
* @maxLength 16000
|
|
@@ -221,7 +221,7 @@ export interface Cursors {
|
|
|
221
221
|
*/
|
|
222
222
|
prev?: string | null;
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
225
225
|
/**
|
|
226
226
|
* List of NileProtoTagsEntities that their tags will update.
|
|
227
227
|
* @minSize 1
|
|
@@ -234,7 +234,7 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
|
234
234
|
/** List of Tags to unAssign */
|
|
235
235
|
unassignTags?: Tags;
|
|
236
236
|
}
|
|
237
|
-
|
|
237
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
238
238
|
/**
|
|
239
239
|
* Results
|
|
240
240
|
* @minSize 1
|
|
@@ -244,7 +244,7 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
|
244
244
|
/** Metadata regarding the bulk update operation */
|
|
245
245
|
bulkActionMetadata?: BulkActionMetadata;
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
interface ItemMetadata {
|
|
248
248
|
/**
|
|
249
249
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
250
250
|
* @format GUID
|
|
@@ -257,7 +257,7 @@ export interface ItemMetadata {
|
|
|
257
257
|
/** Details about the error in case of failure. */
|
|
258
258
|
error?: ApplicationError;
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
interface ApplicationError {
|
|
261
261
|
/** Error code. */
|
|
262
262
|
code?: string;
|
|
263
263
|
/** Description of the error. */
|
|
@@ -265,11 +265,11 @@ export interface ApplicationError {
|
|
|
265
265
|
/** Data related to the error. */
|
|
266
266
|
data?: Record<string, any> | null;
|
|
267
267
|
}
|
|
268
|
-
|
|
268
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
269
269
|
/** Metadata regarding the specific single update operation */
|
|
270
270
|
itemMetadata?: ItemMetadata;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
interface BulkActionMetadata {
|
|
273
273
|
/** Number of items that were successfully processed. */
|
|
274
274
|
totalSuccesses?: number;
|
|
275
275
|
/** Number of items that couldn't be processed. */
|
|
@@ -277,7 +277,7 @@ export interface BulkActionMetadata {
|
|
|
277
277
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
278
278
|
undetailedFailures?: number;
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
281
281
|
/** Filter */
|
|
282
282
|
filter: Record<string, any> | null;
|
|
283
283
|
/** List of Tags to assign */
|
|
@@ -285,14 +285,14 @@ export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
|
285
285
|
/** List of Tags to unAssign */
|
|
286
286
|
unassignTags?: Tags;
|
|
287
287
|
}
|
|
288
|
-
|
|
288
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
289
289
|
/**
|
|
290
290
|
* Job ID
|
|
291
291
|
* @format GUID
|
|
292
292
|
*/
|
|
293
293
|
jobId?: string;
|
|
294
294
|
}
|
|
295
|
-
|
|
295
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
296
296
|
createdEvent?: EntityCreatedEvent;
|
|
297
297
|
updatedEvent?: EntityUpdatedEvent;
|
|
298
298
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -335,19 +335,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
335
335
|
entityEventSequence?: string | null;
|
|
336
336
|
}
|
|
337
337
|
/** @oneof */
|
|
338
|
-
|
|
338
|
+
interface DomainEventBodyOneOf {
|
|
339
339
|
createdEvent?: EntityCreatedEvent;
|
|
340
340
|
updatedEvent?: EntityUpdatedEvent;
|
|
341
341
|
deletedEvent?: EntityDeletedEvent;
|
|
342
342
|
actionEvent?: ActionEvent;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
interface EntityCreatedEvent {
|
|
345
345
|
entity?: string;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
interface RestoreInfo {
|
|
348
348
|
deletedDate?: Date | null;
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
interface EntityUpdatedEvent {
|
|
351
351
|
/**
|
|
352
352
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
353
353
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -355,14 +355,14 @@ export interface EntityUpdatedEvent {
|
|
|
355
355
|
*/
|
|
356
356
|
currentEntity?: string;
|
|
357
357
|
}
|
|
358
|
-
|
|
358
|
+
interface EntityDeletedEvent {
|
|
359
359
|
/** Entity that was deleted */
|
|
360
360
|
deletedEntity?: string | null;
|
|
361
361
|
}
|
|
362
|
-
|
|
362
|
+
interface ActionEvent {
|
|
363
363
|
body?: string;
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
interface MessageEnvelope {
|
|
366
366
|
/**
|
|
367
367
|
* App instance ID.
|
|
368
368
|
* @format GUID
|
|
@@ -378,7 +378,7 @@ export interface MessageEnvelope {
|
|
|
378
378
|
/** Stringify payload. */
|
|
379
379
|
data?: string;
|
|
380
380
|
}
|
|
381
|
-
|
|
381
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
382
382
|
/**
|
|
383
383
|
* ID of a site visitor that has not logged in to the site.
|
|
384
384
|
* @format GUID
|
|
@@ -403,7 +403,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
403
|
identityType?: WebhookIdentityType;
|
|
404
404
|
}
|
|
405
405
|
/** @oneof */
|
|
406
|
-
|
|
406
|
+
interface IdentificationDataIdOneOf {
|
|
407
407
|
/**
|
|
408
408
|
* ID of a site visitor that has not logged in to the site.
|
|
409
409
|
* @format GUID
|
|
@@ -425,107 +425,14 @@ export interface IdentificationDataIdOneOf {
|
|
|
425
425
|
*/
|
|
426
426
|
appId?: string;
|
|
427
427
|
}
|
|
428
|
-
|
|
428
|
+
declare enum WebhookIdentityType {
|
|
429
429
|
UNKNOWN = "UNKNOWN",
|
|
430
430
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
431
431
|
MEMBER = "MEMBER",
|
|
432
432
|
WIX_USER = "WIX_USER",
|
|
433
433
|
APP = "APP"
|
|
434
434
|
}
|
|
435
|
-
interface
|
|
436
|
-
paymentMethodTypeId: string;
|
|
437
|
-
accountConnectionId: string;
|
|
438
|
-
merchantEnabled: boolean;
|
|
439
|
-
}
|
|
440
|
-
interface TagListNonNullableFields {
|
|
441
|
-
tagIds: string[];
|
|
442
|
-
}
|
|
443
|
-
interface TagsNonNullableFields {
|
|
444
|
-
tags?: TagListNonNullableFields;
|
|
445
|
-
}
|
|
446
|
-
export interface PaymentAcceptanceConfigurationNonNullableFields {
|
|
447
|
-
rules: PaymentAcceptanceRuleNonNullableFields[];
|
|
448
|
-
tags?: TagsNonNullableFields;
|
|
449
|
-
}
|
|
450
|
-
export interface CreatePaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
451
|
-
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
452
|
-
}
|
|
453
|
-
export interface GetPaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
454
|
-
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
455
|
-
}
|
|
456
|
-
export interface UpdatePaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
457
|
-
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
458
|
-
}
|
|
459
|
-
export interface QueryPaymentAcceptanceConfigurationsResponseNonNullableFields {
|
|
460
|
-
paymentAcceptanceConfigurations: PaymentAcceptanceConfigurationNonNullableFields[];
|
|
461
|
-
}
|
|
462
|
-
interface ApplicationErrorNonNullableFields {
|
|
463
|
-
code: string;
|
|
464
|
-
description: string;
|
|
465
|
-
}
|
|
466
|
-
interface ItemMetadataNonNullableFields {
|
|
467
|
-
originalIndex: number;
|
|
468
|
-
success: boolean;
|
|
469
|
-
error?: ApplicationErrorNonNullableFields;
|
|
470
|
-
}
|
|
471
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields {
|
|
472
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
473
|
-
}
|
|
474
|
-
interface BulkActionMetadataNonNullableFields {
|
|
475
|
-
totalSuccesses: number;
|
|
476
|
-
totalFailures: number;
|
|
477
|
-
undetailedFailures: number;
|
|
478
|
-
}
|
|
479
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponseNonNullableFields {
|
|
480
|
-
results: BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields[];
|
|
481
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
482
|
-
}
|
|
483
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNonNullableFields {
|
|
484
|
-
jobId: string;
|
|
485
|
-
}
|
|
486
|
-
/**
|
|
487
|
-
* Creates a PaymentAcceptanceConfiguration.
|
|
488
|
-
* @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.
|
|
489
|
-
* @internal
|
|
490
|
-
* @documentationMaturity preview
|
|
491
|
-
* @requiredField paymentAcceptanceConfiguration
|
|
492
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE
|
|
493
|
-
* @returns The created PaymentAcceptanceConfiguration.
|
|
494
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration
|
|
495
|
-
*/
|
|
496
|
-
export declare function createPaymentAcceptanceConfiguration(paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
497
|
-
/**
|
|
498
|
-
* Retrieves a PaymentAcceptanceConfiguration.
|
|
499
|
-
* @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
500
|
-
* @internal
|
|
501
|
-
* @documentationMaturity preview
|
|
502
|
-
* @requiredField paymentAcceptanceConfigurationId
|
|
503
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
504
|
-
* @returns The requested PaymentAcceptanceConfiguration.
|
|
505
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration
|
|
506
|
-
*/
|
|
507
|
-
export declare function getPaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
508
|
-
/**
|
|
509
|
-
* Updates a PaymentAcceptanceConfiguration.
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
* Each time the PaymentAcceptanceConfiguration is updated,
|
|
513
|
-
* `revision` increments by 1.
|
|
514
|
-
* The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.
|
|
515
|
-
* This ensures you're working with the latest PaymentAcceptanceConfiguration
|
|
516
|
-
* and prevents unintended overwrites.
|
|
517
|
-
* @param _id - id
|
|
518
|
-
* @internal
|
|
519
|
-
* @documentationMaturity preview
|
|
520
|
-
* @requiredField _id
|
|
521
|
-
* @requiredField paymentAcceptanceConfiguration
|
|
522
|
-
* @requiredField paymentAcceptanceConfiguration.revision
|
|
523
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE
|
|
524
|
-
* @returns Updated PaymentAcceptanceConfiguration.
|
|
525
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration
|
|
526
|
-
*/
|
|
527
|
-
export declare function updatePaymentAcceptanceConfiguration(_id: string | null, paymentAcceptanceConfiguration: UpdatePaymentAcceptanceConfiguration): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
528
|
-
export interface UpdatePaymentAcceptanceConfiguration {
|
|
435
|
+
interface UpdatePaymentAcceptanceConfiguration {
|
|
529
436
|
/**
|
|
530
437
|
* id
|
|
531
438
|
* @format GUID
|
|
@@ -565,31 +472,6 @@ export interface UpdatePaymentAcceptanceConfiguration {
|
|
|
565
472
|
/** Tags */
|
|
566
473
|
tags?: Tags;
|
|
567
474
|
}
|
|
568
|
-
/**
|
|
569
|
-
* Delete a PaymentAcceptanceConfiguration
|
|
570
|
-
* @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete
|
|
571
|
-
* @internal
|
|
572
|
-
* @documentationMaturity preview
|
|
573
|
-
* @requiredField paymentAcceptanceConfigurationId
|
|
574
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE
|
|
575
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration
|
|
576
|
-
*/
|
|
577
|
-
export declare function deletePaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<void>;
|
|
578
|
-
/**
|
|
579
|
-
* Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
580
|
-
*
|
|
581
|
-
* Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.
|
|
582
|
-
*
|
|
583
|
-
* To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].
|
|
584
|
-
*
|
|
585
|
-
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
586
|
-
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
587
|
-
* @internal
|
|
588
|
-
* @documentationMaturity preview
|
|
589
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
590
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations
|
|
591
|
-
*/
|
|
592
|
-
export declare function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder;
|
|
593
475
|
interface QueryCursorResult {
|
|
594
476
|
cursors: Cursors;
|
|
595
477
|
hasNext: () => boolean;
|
|
@@ -597,13 +479,13 @@ interface QueryCursorResult {
|
|
|
597
479
|
length: number;
|
|
598
480
|
pageSize: number;
|
|
599
481
|
}
|
|
600
|
-
|
|
482
|
+
interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
|
|
601
483
|
items: PaymentAcceptanceConfiguration[];
|
|
602
484
|
query: PaymentAcceptanceConfigurationsQueryBuilder;
|
|
603
485
|
next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
604
486
|
prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
605
487
|
}
|
|
606
|
-
|
|
488
|
+
interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
607
489
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
608
490
|
* @param value - Value to compare against.
|
|
609
491
|
* @documentationMaturity preview
|
|
@@ -647,39 +529,17 @@ export interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
|
647
529
|
/** @documentationMaturity preview */
|
|
648
530
|
find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
649
531
|
}
|
|
650
|
-
|
|
651
|
-
* Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids
|
|
652
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
653
|
-
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
654
|
-
* @internal
|
|
655
|
-
* @documentationMaturity preview
|
|
656
|
-
* @requiredField ids
|
|
657
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
658
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags
|
|
659
|
-
*/
|
|
660
|
-
export declare function bulkUpdatePaymentAcceptanceConfigurationTags(ids: string[], options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions): Promise<BulkUpdatePaymentAcceptanceConfigurationTagsResponse & BulkUpdatePaymentAcceptanceConfigurationTagsResponseNonNullableFields>;
|
|
661
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
532
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
662
533
|
/** List of Tags to assign */
|
|
663
534
|
assignTags?: Tags;
|
|
664
535
|
/** List of Tags to unAssign */
|
|
665
536
|
unassignTags?: Tags;
|
|
666
537
|
}
|
|
667
|
-
|
|
668
|
-
* Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter
|
|
669
|
-
* An empty filter will update all PaymentAcceptanceConfigurations
|
|
670
|
-
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
671
|
-
* @param filter - Filter
|
|
672
|
-
* @internal
|
|
673
|
-
* @documentationMaturity preview
|
|
674
|
-
* @requiredField filter
|
|
675
|
-
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
676
|
-
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter
|
|
677
|
-
*/
|
|
678
|
-
export declare function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(filter: Record<string, any> | null, options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions): Promise<BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse & BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNonNullableFields>;
|
|
679
|
-
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
538
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
680
539
|
/** List of Tags to assign */
|
|
681
540
|
assignTags?: Tags;
|
|
682
541
|
/** List of Tags to unAssign */
|
|
683
542
|
unassignTags?: Tags;
|
|
684
543
|
}
|
|
685
|
-
|
|
544
|
+
|
|
545
|
+
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 };
|