@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.7 → 1.0.8
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/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +2 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +23 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +1 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +40 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +249 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +1 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +25 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +173 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +1 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +4 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +58 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +1 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +436 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +17 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -0
- package/build/{index.d.mts → cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts} +47 -48
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +334 -0
- package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +2 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +18 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +1 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +40 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +239 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +1 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +25 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +140 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +1 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +4 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +46 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +1 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +436 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +14 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -0
- package/build/{index.d.ts → es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts} +47 -48
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +301 -0
- package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +18 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +23 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +1 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +40 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +249 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +1 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +25 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +173 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +1 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +88 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +58 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +1 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +436 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +17 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -0
- package/build/internal/{payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal-jqObRsin.d.mts → cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts} +139 -48
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +334 -0
- package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +18 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +18 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +1 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +40 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +239 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +1 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +25 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +140 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +1 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +88 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +46 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +1 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +436 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +14 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +1 -0
- package/build/internal/{payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal-jqObRsin.d.ts → es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts} +139 -48
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +301 -0
- package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -582
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -550
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -103
- package/build/internal/index.d.ts +0 -103
- package/build/internal/index.js +0 -582
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -550
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -322
- package/build/internal/meta.d.ts +0 -322
- package/build/internal/meta.js +0 -422
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -389
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -322
- package/build/meta.d.ts +0 -322
- package/build/meta.js +0 -422
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -389
- package/build/meta.mjs.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
/** PaymentAcceptanceConfiguration */
|
|
2
|
-
interface PaymentAcceptanceConfiguration {
|
|
3
|
+
export interface PaymentAcceptanceConfiguration {
|
|
3
4
|
/**
|
|
4
5
|
* id
|
|
5
6
|
* @format GUID
|
|
@@ -39,7 +40,7 @@ interface PaymentAcceptanceConfiguration {
|
|
|
39
40
|
/** Tags */
|
|
40
41
|
tags?: Tags;
|
|
41
42
|
}
|
|
42
|
-
interface PaymentAcceptanceRule {
|
|
43
|
+
export interface PaymentAcceptanceRule {
|
|
43
44
|
/**
|
|
44
45
|
* payment_method_type_id
|
|
45
46
|
* @format GUID
|
|
@@ -53,7 +54,7 @@ interface PaymentAcceptanceRule {
|
|
|
53
54
|
/** merchant_enabled */
|
|
54
55
|
merchantEnabled?: boolean;
|
|
55
56
|
}
|
|
56
|
-
interface ExtendedFields {
|
|
57
|
+
export interface ExtendedFields {
|
|
57
58
|
/**
|
|
58
59
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
59
60
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -86,11 +87,11 @@ interface ExtendedFields {
|
|
|
86
87
|
* }
|
|
87
88
|
* }
|
|
88
89
|
*/
|
|
89
|
-
interface Tags {
|
|
90
|
+
export interface Tags {
|
|
90
91
|
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
91
92
|
tags?: TagList;
|
|
92
93
|
}
|
|
93
|
-
interface TagList {
|
|
94
|
+
export interface TagList {
|
|
94
95
|
/**
|
|
95
96
|
* List of tag IDs
|
|
96
97
|
* @maxSize 100
|
|
@@ -98,47 +99,47 @@ interface TagList {
|
|
|
98
99
|
*/
|
|
99
100
|
tagIds?: string[];
|
|
100
101
|
}
|
|
101
|
-
interface CreatePaymentAcceptanceConfigurationRequest {
|
|
102
|
+
export interface CreatePaymentAcceptanceConfigurationRequest {
|
|
102
103
|
/** PaymentAcceptanceConfiguration to be created. */
|
|
103
104
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
104
105
|
}
|
|
105
|
-
interface CreatePaymentAcceptanceConfigurationResponse {
|
|
106
|
+
export interface CreatePaymentAcceptanceConfigurationResponse {
|
|
106
107
|
/** The created PaymentAcceptanceConfiguration. */
|
|
107
108
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
108
109
|
}
|
|
109
|
-
interface GetPaymentAcceptanceConfigurationRequest {
|
|
110
|
+
export interface GetPaymentAcceptanceConfigurationRequest {
|
|
110
111
|
/**
|
|
111
112
|
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
112
113
|
* @format GUID
|
|
113
114
|
*/
|
|
114
115
|
paymentAcceptanceConfigurationId: string;
|
|
115
116
|
}
|
|
116
|
-
interface GetPaymentAcceptanceConfigurationResponse {
|
|
117
|
+
export interface GetPaymentAcceptanceConfigurationResponse {
|
|
117
118
|
/** The requested PaymentAcceptanceConfiguration. */
|
|
118
119
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
119
120
|
}
|
|
120
|
-
interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
121
|
+
export interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
121
122
|
/** PaymentAcceptanceConfiguration to be updated, may be partial. */
|
|
122
123
|
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
123
124
|
}
|
|
124
|
-
interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
125
|
+
export interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
125
126
|
/** Updated PaymentAcceptanceConfiguration. */
|
|
126
127
|
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
127
128
|
}
|
|
128
|
-
interface DeletePaymentAcceptanceConfigurationRequest {
|
|
129
|
+
export interface DeletePaymentAcceptanceConfigurationRequest {
|
|
129
130
|
/**
|
|
130
131
|
* Id of payment acceptance configuration to delete
|
|
131
132
|
* @format GUID
|
|
132
133
|
*/
|
|
133
134
|
paymentAcceptanceConfigurationId: string;
|
|
134
135
|
}
|
|
135
|
-
interface DeletePaymentAcceptanceConfigurationResponse {
|
|
136
|
+
export interface DeletePaymentAcceptanceConfigurationResponse {
|
|
136
137
|
}
|
|
137
|
-
interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
138
|
+
export interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
138
139
|
/** WQL expression. */
|
|
139
140
|
query?: CursorQuery;
|
|
140
141
|
}
|
|
141
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
142
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
142
143
|
/** 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
144
|
cursorPaging?: CursorPaging;
|
|
144
145
|
/**
|
|
@@ -158,11 +159,11 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
158
159
|
sort?: Sorting[];
|
|
159
160
|
}
|
|
160
161
|
/** @oneof */
|
|
161
|
-
interface CursorQueryPagingMethodOneOf {
|
|
162
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
162
163
|
/** 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
164
|
cursorPaging?: CursorPaging;
|
|
164
165
|
}
|
|
165
|
-
interface Sorting {
|
|
166
|
+
export interface Sorting {
|
|
166
167
|
/**
|
|
167
168
|
* Name of the field to sort by.
|
|
168
169
|
* @maxLength 512
|
|
@@ -171,11 +172,11 @@ interface Sorting {
|
|
|
171
172
|
/** Sort order. */
|
|
172
173
|
order?: SortOrder;
|
|
173
174
|
}
|
|
174
|
-
declare enum SortOrder {
|
|
175
|
+
export declare enum SortOrder {
|
|
175
176
|
ASC = "ASC",
|
|
176
177
|
DESC = "DESC"
|
|
177
178
|
}
|
|
178
|
-
interface CursorPaging {
|
|
179
|
+
export interface CursorPaging {
|
|
179
180
|
/**
|
|
180
181
|
* Maximum number of items to return in the results.
|
|
181
182
|
* @max 100
|
|
@@ -190,13 +191,13 @@ interface CursorPaging {
|
|
|
190
191
|
*/
|
|
191
192
|
cursor?: string | null;
|
|
192
193
|
}
|
|
193
|
-
interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
194
|
+
export interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
194
195
|
/** List of PaymentAcceptanceConfigurations. */
|
|
195
196
|
paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
|
|
196
197
|
/** Paging metadata */
|
|
197
198
|
pagingMetadata?: CursorPagingMetadata;
|
|
198
199
|
}
|
|
199
|
-
interface CursorPagingMetadata {
|
|
200
|
+
export interface CursorPagingMetadata {
|
|
200
201
|
/** Number of items returned in the response. */
|
|
201
202
|
count?: number | null;
|
|
202
203
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
@@ -209,7 +210,7 @@ interface CursorPagingMetadata {
|
|
|
209
210
|
*/
|
|
210
211
|
hasNext?: boolean | null;
|
|
211
212
|
}
|
|
212
|
-
interface Cursors {
|
|
213
|
+
export interface Cursors {
|
|
213
214
|
/**
|
|
214
215
|
* Cursor string pointing to the next page in the list of results.
|
|
215
216
|
* @maxLength 16000
|
|
@@ -221,7 +222,7 @@ interface Cursors {
|
|
|
221
222
|
*/
|
|
222
223
|
prev?: string | null;
|
|
223
224
|
}
|
|
224
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
225
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
225
226
|
/**
|
|
226
227
|
* List of NileProtoTagsEntities that their tags will update.
|
|
227
228
|
* @minSize 1
|
|
@@ -234,7 +235,7 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
|
234
235
|
/** List of Tags to unAssign */
|
|
235
236
|
unassignTags?: Tags;
|
|
236
237
|
}
|
|
237
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
238
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
238
239
|
/**
|
|
239
240
|
* Results
|
|
240
241
|
* @minSize 1
|
|
@@ -244,7 +245,7 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
|
244
245
|
/** Metadata regarding the bulk update operation */
|
|
245
246
|
bulkActionMetadata?: BulkActionMetadata;
|
|
246
247
|
}
|
|
247
|
-
interface ItemMetadata {
|
|
248
|
+
export interface ItemMetadata {
|
|
248
249
|
/**
|
|
249
250
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
250
251
|
* @format GUID
|
|
@@ -257,7 +258,7 @@ interface ItemMetadata {
|
|
|
257
258
|
/** Details about the error in case of failure. */
|
|
258
259
|
error?: ApplicationError;
|
|
259
260
|
}
|
|
260
|
-
interface ApplicationError {
|
|
261
|
+
export interface ApplicationError {
|
|
261
262
|
/** Error code. */
|
|
262
263
|
code?: string;
|
|
263
264
|
/** Description of the error. */
|
|
@@ -265,11 +266,11 @@ interface ApplicationError {
|
|
|
265
266
|
/** Data related to the error. */
|
|
266
267
|
data?: Record<string, any> | null;
|
|
267
268
|
}
|
|
268
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
269
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
269
270
|
/** Metadata regarding the specific single update operation */
|
|
270
271
|
itemMetadata?: ItemMetadata;
|
|
271
272
|
}
|
|
272
|
-
interface BulkActionMetadata {
|
|
273
|
+
export interface BulkActionMetadata {
|
|
273
274
|
/** Number of items that were successfully processed. */
|
|
274
275
|
totalSuccesses?: number;
|
|
275
276
|
/** Number of items that couldn't be processed. */
|
|
@@ -277,7 +278,7 @@ interface BulkActionMetadata {
|
|
|
277
278
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
278
279
|
undetailedFailures?: number;
|
|
279
280
|
}
|
|
280
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
281
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
281
282
|
/** Filter */
|
|
282
283
|
filter: Record<string, any> | null;
|
|
283
284
|
/** List of Tags to assign */
|
|
@@ -285,14 +286,14 @@ interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
|
285
286
|
/** List of Tags to unAssign */
|
|
286
287
|
unassignTags?: Tags;
|
|
287
288
|
}
|
|
288
|
-
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
289
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
289
290
|
/**
|
|
290
291
|
* Job ID
|
|
291
292
|
* @format GUID
|
|
292
293
|
*/
|
|
293
294
|
jobId?: string;
|
|
294
295
|
}
|
|
295
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
296
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
296
297
|
createdEvent?: EntityCreatedEvent;
|
|
297
298
|
updatedEvent?: EntityUpdatedEvent;
|
|
298
299
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -335,19 +336,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
335
336
|
entityEventSequence?: string | null;
|
|
336
337
|
}
|
|
337
338
|
/** @oneof */
|
|
338
|
-
interface DomainEventBodyOneOf {
|
|
339
|
+
export interface DomainEventBodyOneOf {
|
|
339
340
|
createdEvent?: EntityCreatedEvent;
|
|
340
341
|
updatedEvent?: EntityUpdatedEvent;
|
|
341
342
|
deletedEvent?: EntityDeletedEvent;
|
|
342
343
|
actionEvent?: ActionEvent;
|
|
343
344
|
}
|
|
344
|
-
interface EntityCreatedEvent {
|
|
345
|
+
export interface EntityCreatedEvent {
|
|
345
346
|
entity?: string;
|
|
346
347
|
}
|
|
347
|
-
interface RestoreInfo {
|
|
348
|
+
export interface RestoreInfo {
|
|
348
349
|
deletedDate?: Date | null;
|
|
349
350
|
}
|
|
350
|
-
interface EntityUpdatedEvent {
|
|
351
|
+
export interface EntityUpdatedEvent {
|
|
351
352
|
/**
|
|
352
353
|
* 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
354
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
@@ -355,14 +356,14 @@ interface EntityUpdatedEvent {
|
|
|
355
356
|
*/
|
|
356
357
|
currentEntity?: string;
|
|
357
358
|
}
|
|
358
|
-
interface EntityDeletedEvent {
|
|
359
|
+
export interface EntityDeletedEvent {
|
|
359
360
|
/** Entity that was deleted */
|
|
360
361
|
deletedEntity?: string | null;
|
|
361
362
|
}
|
|
362
|
-
interface ActionEvent {
|
|
363
|
+
export interface ActionEvent {
|
|
363
364
|
body?: string;
|
|
364
365
|
}
|
|
365
|
-
interface MessageEnvelope {
|
|
366
|
+
export interface MessageEnvelope {
|
|
366
367
|
/**
|
|
367
368
|
* App instance ID.
|
|
368
369
|
* @format GUID
|
|
@@ -378,7 +379,7 @@ interface MessageEnvelope {
|
|
|
378
379
|
/** Stringify payload. */
|
|
379
380
|
data?: string;
|
|
380
381
|
}
|
|
381
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
382
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
382
383
|
/**
|
|
383
384
|
* ID of a site visitor that has not logged in to the site.
|
|
384
385
|
* @format GUID
|
|
@@ -403,7 +404,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
403
404
|
identityType?: WebhookIdentityType;
|
|
404
405
|
}
|
|
405
406
|
/** @oneof */
|
|
406
|
-
interface IdentificationDataIdOneOf {
|
|
407
|
+
export interface IdentificationDataIdOneOf {
|
|
407
408
|
/**
|
|
408
409
|
* ID of a site visitor that has not logged in to the site.
|
|
409
410
|
* @format GUID
|
|
@@ -425,14 +426,57 @@ interface IdentificationDataIdOneOf {
|
|
|
425
426
|
*/
|
|
426
427
|
appId?: string;
|
|
427
428
|
}
|
|
428
|
-
declare enum WebhookIdentityType {
|
|
429
|
+
export declare enum WebhookIdentityType {
|
|
429
430
|
UNKNOWN = "UNKNOWN",
|
|
430
431
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
431
432
|
MEMBER = "MEMBER",
|
|
432
433
|
WIX_USER = "WIX_USER",
|
|
433
434
|
APP = "APP"
|
|
434
435
|
}
|
|
435
|
-
|
|
436
|
+
type PaymentAcceptanceConfigurationNonNullablePaths = `rules` | `rules.${number}.paymentMethodTypeId` | `rules.${number}.accountConnectionId` | `rules.${number}.merchantEnabled` | `tags.tags.tagIds`;
|
|
437
|
+
/**
|
|
438
|
+
* Creates a PaymentAcceptanceConfiguration.
|
|
439
|
+
* @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.
|
|
440
|
+
* @internal
|
|
441
|
+
* @documentationMaturity preview
|
|
442
|
+
* @requiredField paymentAcceptanceConfiguration
|
|
443
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE
|
|
444
|
+
* @returns The created PaymentAcceptanceConfiguration.
|
|
445
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration
|
|
446
|
+
*/
|
|
447
|
+
export declare function createPaymentAcceptanceConfiguration(paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
448
|
+
/**
|
|
449
|
+
* Retrieves a PaymentAcceptanceConfiguration.
|
|
450
|
+
* @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
451
|
+
* @internal
|
|
452
|
+
* @documentationMaturity preview
|
|
453
|
+
* @requiredField paymentAcceptanceConfigurationId
|
|
454
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
455
|
+
* @returns The requested PaymentAcceptanceConfiguration.
|
|
456
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration
|
|
457
|
+
*/
|
|
458
|
+
export declare function getPaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
459
|
+
/**
|
|
460
|
+
* Updates a PaymentAcceptanceConfiguration.
|
|
461
|
+
*
|
|
462
|
+
*
|
|
463
|
+
* Each time the PaymentAcceptanceConfiguration is updated,
|
|
464
|
+
* `revision` increments by 1.
|
|
465
|
+
* The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.
|
|
466
|
+
* This ensures you're working with the latest PaymentAcceptanceConfiguration
|
|
467
|
+
* and prevents unintended overwrites.
|
|
468
|
+
* @param _id - id
|
|
469
|
+
* @internal
|
|
470
|
+
* @documentationMaturity preview
|
|
471
|
+
* @requiredField _id
|
|
472
|
+
* @requiredField paymentAcceptanceConfiguration
|
|
473
|
+
* @requiredField paymentAcceptanceConfiguration.revision
|
|
474
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE
|
|
475
|
+
* @returns Updated PaymentAcceptanceConfiguration.
|
|
476
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration
|
|
477
|
+
*/
|
|
478
|
+
export declare function updatePaymentAcceptanceConfiguration(_id: string, paymentAcceptanceConfiguration: NonNullablePaths<UpdatePaymentAcceptanceConfiguration, `revision`>): Promise<NonNullablePaths<PaymentAcceptanceConfiguration, PaymentAcceptanceConfigurationNonNullablePaths>>;
|
|
479
|
+
export interface UpdatePaymentAcceptanceConfiguration {
|
|
436
480
|
/**
|
|
437
481
|
* id
|
|
438
482
|
* @format GUID
|
|
@@ -472,6 +516,31 @@ interface UpdatePaymentAcceptanceConfiguration {
|
|
|
472
516
|
/** Tags */
|
|
473
517
|
tags?: Tags;
|
|
474
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* Delete a PaymentAcceptanceConfiguration
|
|
521
|
+
* @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete
|
|
522
|
+
* @internal
|
|
523
|
+
* @documentationMaturity preview
|
|
524
|
+
* @requiredField paymentAcceptanceConfigurationId
|
|
525
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE
|
|
526
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration
|
|
527
|
+
*/
|
|
528
|
+
export declare function deletePaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<void>;
|
|
529
|
+
/**
|
|
530
|
+
* Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
531
|
+
*
|
|
532
|
+
* Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.
|
|
533
|
+
*
|
|
534
|
+
* To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].
|
|
535
|
+
*
|
|
536
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
537
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
538
|
+
* @internal
|
|
539
|
+
* @documentationMaturity preview
|
|
540
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
541
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations
|
|
542
|
+
*/
|
|
543
|
+
export declare function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder;
|
|
475
544
|
interface QueryCursorResult {
|
|
476
545
|
cursors: Cursors;
|
|
477
546
|
hasNext: () => boolean;
|
|
@@ -479,13 +548,13 @@ interface QueryCursorResult {
|
|
|
479
548
|
length: number;
|
|
480
549
|
pageSize: number;
|
|
481
550
|
}
|
|
482
|
-
interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
|
|
551
|
+
export interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
|
|
483
552
|
items: PaymentAcceptanceConfiguration[];
|
|
484
553
|
query: PaymentAcceptanceConfigurationsQueryBuilder;
|
|
485
554
|
next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
486
555
|
prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
487
556
|
}
|
|
488
|
-
interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
557
|
+
export interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
489
558
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
490
559
|
* @param value - Value to compare against.
|
|
491
560
|
* @documentationMaturity preview
|
|
@@ -529,17 +598,39 @@ interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
|
529
598
|
/** @documentationMaturity preview */
|
|
530
599
|
find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
531
600
|
}
|
|
532
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids
|
|
603
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
604
|
+
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
605
|
+
* @internal
|
|
606
|
+
* @documentationMaturity preview
|
|
607
|
+
* @requiredField ids
|
|
608
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
609
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags
|
|
610
|
+
*/
|
|
611
|
+
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`>>;
|
|
612
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
533
613
|
/** List of Tags to assign */
|
|
534
614
|
assignTags?: Tags;
|
|
535
615
|
/** List of Tags to unAssign */
|
|
536
616
|
unassignTags?: Tags;
|
|
537
617
|
}
|
|
538
|
-
|
|
618
|
+
/**
|
|
619
|
+
* Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter
|
|
620
|
+
* An empty filter will update all PaymentAcceptanceConfigurations
|
|
621
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
622
|
+
* @param filter - Filter
|
|
623
|
+
* @internal
|
|
624
|
+
* @documentationMaturity preview
|
|
625
|
+
* @requiredField filter
|
|
626
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
627
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter
|
|
628
|
+
*/
|
|
629
|
+
export declare function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(filter: Record<string, any>, options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse, `jobId`>>;
|
|
630
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
539
631
|
/** List of Tags to assign */
|
|
540
632
|
assignTags?: Tags;
|
|
541
633
|
/** List of Tags to unAssign */
|
|
542
634
|
unassignTags?: Tags;
|
|
543
635
|
}
|
|
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 };
|
|
636
|
+
export {};
|