@wix/auto_sdk_payments_payment-acceptance-configurations 1.0.0
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 +403 -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/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +500 -0
- 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 +403 -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/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +500 -0
- 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 +403 -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/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +590 -0
- 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 +403 -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/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts +590 -0
- 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/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
/** PaymentAcceptanceConfiguration */
|
|
2
|
+
export interface PaymentAcceptanceConfiguration {
|
|
3
|
+
/**
|
|
4
|
+
* id
|
|
5
|
+
* @readonly
|
|
6
|
+
*/
|
|
7
|
+
_id?: string | null;
|
|
8
|
+
/** app_id */
|
|
9
|
+
appId?: string | null;
|
|
10
|
+
/** rules */
|
|
11
|
+
rules?: PaymentAcceptanceRule[];
|
|
12
|
+
/**
|
|
13
|
+
* revision
|
|
14
|
+
* @readonly
|
|
15
|
+
*/
|
|
16
|
+
revision?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Date when PaymentAcceptanceConfiguration was created
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
_createdDate?: Date | null;
|
|
22
|
+
/**
|
|
23
|
+
* Date when PaymentAcceptanceConfiguration was updated
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
_updatedDate?: Date | null;
|
|
27
|
+
/** Data Extensions */
|
|
28
|
+
extendedFields?: ExtendedFields;
|
|
29
|
+
/** Tags */
|
|
30
|
+
tags?: Tags;
|
|
31
|
+
}
|
|
32
|
+
export interface PaymentAcceptanceRule {
|
|
33
|
+
/** payment_method_type_id */
|
|
34
|
+
paymentMethodTypeId?: string;
|
|
35
|
+
/** account_connection_id */
|
|
36
|
+
accountConnectionId?: string;
|
|
37
|
+
/** merchant_enabled */
|
|
38
|
+
merchantEnabled?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface ExtendedFields {
|
|
41
|
+
/**
|
|
42
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
43
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
44
|
+
*
|
|
45
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
46
|
+
*
|
|
47
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
48
|
+
*/
|
|
49
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Common object for tags.
|
|
53
|
+
* Should be use as in this example:
|
|
54
|
+
* message Foo {
|
|
55
|
+
* string id = 1;
|
|
56
|
+
* ...
|
|
57
|
+
* Tags tags = 5
|
|
58
|
+
* }
|
|
59
|
+
*
|
|
60
|
+
* example of taggable entity
|
|
61
|
+
* {
|
|
62
|
+
* id: "123"
|
|
63
|
+
* tags: {
|
|
64
|
+
* tags: {
|
|
65
|
+
* tag_ids:["11","22"]
|
|
66
|
+
* },
|
|
67
|
+
* private_tags: {
|
|
68
|
+
* tag_ids: ["33", "44"]
|
|
69
|
+
* }
|
|
70
|
+
* }
|
|
71
|
+
* }
|
|
72
|
+
*/
|
|
73
|
+
export interface Tags {
|
|
74
|
+
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
75
|
+
tags?: TagList;
|
|
76
|
+
}
|
|
77
|
+
export interface TagList {
|
|
78
|
+
/** List of tag IDs */
|
|
79
|
+
tagIds?: string[];
|
|
80
|
+
}
|
|
81
|
+
export interface CreatePaymentAcceptanceConfigurationRequest {
|
|
82
|
+
/** PaymentAcceptanceConfiguration to be created. */
|
|
83
|
+
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
84
|
+
}
|
|
85
|
+
export interface CreatePaymentAcceptanceConfigurationResponse {
|
|
86
|
+
/** The created PaymentAcceptanceConfiguration. */
|
|
87
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
88
|
+
}
|
|
89
|
+
export interface GetPaymentAcceptanceConfigurationRequest {
|
|
90
|
+
/** ID of the PaymentAcceptanceConfiguration to retrieve. */
|
|
91
|
+
paymentAcceptanceConfigurationId: string;
|
|
92
|
+
}
|
|
93
|
+
export interface GetPaymentAcceptanceConfigurationResponse {
|
|
94
|
+
/** The requested PaymentAcceptanceConfiguration. */
|
|
95
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
96
|
+
}
|
|
97
|
+
export interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
98
|
+
/** PaymentAcceptanceConfiguration to be updated, may be partial. */
|
|
99
|
+
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
100
|
+
}
|
|
101
|
+
export interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
102
|
+
/** Updated PaymentAcceptanceConfiguration. */
|
|
103
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
104
|
+
}
|
|
105
|
+
export interface DeletePaymentAcceptanceConfigurationRequest {
|
|
106
|
+
/** Id of payment acceptance configuration to delete */
|
|
107
|
+
paymentAcceptanceConfigurationId: string;
|
|
108
|
+
}
|
|
109
|
+
export interface DeletePaymentAcceptanceConfigurationResponse {
|
|
110
|
+
}
|
|
111
|
+
export interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
112
|
+
/** WQL expression. */
|
|
113
|
+
query?: CursorQuery;
|
|
114
|
+
}
|
|
115
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
116
|
+
/** 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`. */
|
|
117
|
+
cursorPaging?: CursorPaging;
|
|
118
|
+
/**
|
|
119
|
+
* Filter object in the following format:
|
|
120
|
+
* `"filter" : {
|
|
121
|
+
* "fieldName1": "value1",
|
|
122
|
+
* "fieldName2":{"$operator":"value2"}
|
|
123
|
+
* }`
|
|
124
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
125
|
+
*/
|
|
126
|
+
filter?: Record<string, any> | null;
|
|
127
|
+
/**
|
|
128
|
+
* Sort object in the following format:
|
|
129
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
130
|
+
*/
|
|
131
|
+
sort?: Sorting[];
|
|
132
|
+
}
|
|
133
|
+
/** @oneof */
|
|
134
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
135
|
+
/** 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`. */
|
|
136
|
+
cursorPaging?: CursorPaging;
|
|
137
|
+
}
|
|
138
|
+
export interface Sorting {
|
|
139
|
+
/** Name of the field to sort by. */
|
|
140
|
+
fieldName?: string;
|
|
141
|
+
/** Sort order. */
|
|
142
|
+
order?: SortOrder;
|
|
143
|
+
}
|
|
144
|
+
export declare enum SortOrder {
|
|
145
|
+
ASC = "ASC",
|
|
146
|
+
DESC = "DESC"
|
|
147
|
+
}
|
|
148
|
+
export interface CursorPaging {
|
|
149
|
+
/** Maximum number of items to return in the results. */
|
|
150
|
+
limit?: number | null;
|
|
151
|
+
/**
|
|
152
|
+
* Pointer to the next or previous page in the list of results.
|
|
153
|
+
*
|
|
154
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
155
|
+
* Not relevant for the first request.
|
|
156
|
+
*/
|
|
157
|
+
cursor?: string | null;
|
|
158
|
+
}
|
|
159
|
+
export interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
160
|
+
/** List of PaymentAcceptanceConfigurations. */
|
|
161
|
+
paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
|
|
162
|
+
/** Paging metadata */
|
|
163
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
164
|
+
}
|
|
165
|
+
export interface CursorPagingMetadata {
|
|
166
|
+
/** Number of items returned in the response. */
|
|
167
|
+
count?: number | null;
|
|
168
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
169
|
+
cursors?: Cursors;
|
|
170
|
+
/**
|
|
171
|
+
* Whether there are more pages to retrieve following the current page.
|
|
172
|
+
*
|
|
173
|
+
* + `true`: Another page of results can be retrieved.
|
|
174
|
+
* + `false`: This is the last page.
|
|
175
|
+
*/
|
|
176
|
+
hasNext?: boolean | null;
|
|
177
|
+
}
|
|
178
|
+
export interface Cursors {
|
|
179
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
180
|
+
next?: string | null;
|
|
181
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
182
|
+
prev?: string | null;
|
|
183
|
+
}
|
|
184
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
185
|
+
/** List of NileProtoTagsEntities that their tags will update. */
|
|
186
|
+
ids: string[];
|
|
187
|
+
/** List of Tags to assign */
|
|
188
|
+
assignTags?: Tags;
|
|
189
|
+
/** List of Tags to unAssign */
|
|
190
|
+
unassignTags?: Tags;
|
|
191
|
+
}
|
|
192
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
193
|
+
/** Results */
|
|
194
|
+
results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
|
|
195
|
+
/** Metadata regarding the bulk update operation */
|
|
196
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
197
|
+
}
|
|
198
|
+
export interface ItemMetadata {
|
|
199
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
200
|
+
_id?: string | null;
|
|
201
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
202
|
+
originalIndex?: number;
|
|
203
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
204
|
+
success?: boolean;
|
|
205
|
+
/** Details about the error in case of failure. */
|
|
206
|
+
error?: ApplicationError;
|
|
207
|
+
}
|
|
208
|
+
export interface ApplicationError {
|
|
209
|
+
/** Error code. */
|
|
210
|
+
code?: string;
|
|
211
|
+
/** Description of the error. */
|
|
212
|
+
description?: string;
|
|
213
|
+
/** Data related to the error. */
|
|
214
|
+
data?: Record<string, any> | null;
|
|
215
|
+
}
|
|
216
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
217
|
+
/** Metadata regarding the specific single update operation */
|
|
218
|
+
itemMetadata?: ItemMetadata;
|
|
219
|
+
}
|
|
220
|
+
export interface BulkActionMetadata {
|
|
221
|
+
/** Number of items that were successfully processed. */
|
|
222
|
+
totalSuccesses?: number;
|
|
223
|
+
/** Number of items that couldn't be processed. */
|
|
224
|
+
totalFailures?: number;
|
|
225
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
226
|
+
undetailedFailures?: number;
|
|
227
|
+
}
|
|
228
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
229
|
+
/** Filter */
|
|
230
|
+
filter: Record<string, any> | null;
|
|
231
|
+
/** List of Tags to assign */
|
|
232
|
+
assignTags?: Tags;
|
|
233
|
+
/** List of Tags to unAssign */
|
|
234
|
+
unassignTags?: Tags;
|
|
235
|
+
}
|
|
236
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
237
|
+
/** Job ID */
|
|
238
|
+
jobId?: string;
|
|
239
|
+
}
|
|
240
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
241
|
+
createdEvent?: EntityCreatedEvent;
|
|
242
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
243
|
+
deletedEvent?: EntityDeletedEvent;
|
|
244
|
+
actionEvent?: ActionEvent;
|
|
245
|
+
/**
|
|
246
|
+
* Unique event ID.
|
|
247
|
+
* Allows clients to ignore duplicate webhooks.
|
|
248
|
+
*/
|
|
249
|
+
_id?: string;
|
|
250
|
+
/**
|
|
251
|
+
* Assumes actions are also always typed to an entity_type
|
|
252
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
253
|
+
*/
|
|
254
|
+
entityFqdn?: string;
|
|
255
|
+
/**
|
|
256
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
257
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
258
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
259
|
+
*/
|
|
260
|
+
slug?: string;
|
|
261
|
+
/** ID of the entity associated with the event. */
|
|
262
|
+
entityId?: string;
|
|
263
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
264
|
+
eventTime?: Date | null;
|
|
265
|
+
/**
|
|
266
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
267
|
+
* (for example, GDPR).
|
|
268
|
+
*/
|
|
269
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
270
|
+
/** If present, indicates the action that triggered the event. */
|
|
271
|
+
originatedFrom?: string | null;
|
|
272
|
+
/**
|
|
273
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
274
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
275
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
276
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
277
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
278
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
279
|
+
*/
|
|
280
|
+
entityEventSequence?: string | null;
|
|
281
|
+
}
|
|
282
|
+
/** @oneof */
|
|
283
|
+
export interface DomainEventBodyOneOf {
|
|
284
|
+
createdEvent?: EntityCreatedEvent;
|
|
285
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
286
|
+
deletedEvent?: EntityDeletedEvent;
|
|
287
|
+
actionEvent?: ActionEvent;
|
|
288
|
+
}
|
|
289
|
+
export interface EntityCreatedEvent {
|
|
290
|
+
entity?: string;
|
|
291
|
+
}
|
|
292
|
+
export interface RestoreInfo {
|
|
293
|
+
deletedDate?: Date | null;
|
|
294
|
+
}
|
|
295
|
+
export interface EntityUpdatedEvent {
|
|
296
|
+
/**
|
|
297
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
298
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
299
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
300
|
+
*/
|
|
301
|
+
currentEntity?: string;
|
|
302
|
+
}
|
|
303
|
+
export interface EntityDeletedEvent {
|
|
304
|
+
/** Entity that was deleted */
|
|
305
|
+
deletedEntity?: string | null;
|
|
306
|
+
}
|
|
307
|
+
export interface ActionEvent {
|
|
308
|
+
body?: string;
|
|
309
|
+
}
|
|
310
|
+
export interface MessageEnvelope {
|
|
311
|
+
/** App instance ID. */
|
|
312
|
+
instanceId?: string | null;
|
|
313
|
+
/** Event type. */
|
|
314
|
+
eventType?: string;
|
|
315
|
+
/** The identification type and identity data. */
|
|
316
|
+
identity?: IdentificationData;
|
|
317
|
+
/** Stringify payload. */
|
|
318
|
+
data?: string;
|
|
319
|
+
}
|
|
320
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
321
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
322
|
+
anonymousVisitorId?: string;
|
|
323
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
324
|
+
memberId?: string;
|
|
325
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
326
|
+
wixUserId?: string;
|
|
327
|
+
/** ID of an app. */
|
|
328
|
+
appId?: string;
|
|
329
|
+
/** @readonly */
|
|
330
|
+
identityType?: WebhookIdentityType;
|
|
331
|
+
}
|
|
332
|
+
/** @oneof */
|
|
333
|
+
export interface IdentificationDataIdOneOf {
|
|
334
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
335
|
+
anonymousVisitorId?: string;
|
|
336
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
337
|
+
memberId?: string;
|
|
338
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
339
|
+
wixUserId?: string;
|
|
340
|
+
/** ID of an app. */
|
|
341
|
+
appId?: string;
|
|
342
|
+
}
|
|
343
|
+
export declare enum WebhookIdentityType {
|
|
344
|
+
UNKNOWN = "UNKNOWN",
|
|
345
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
346
|
+
MEMBER = "MEMBER",
|
|
347
|
+
WIX_USER = "WIX_USER",
|
|
348
|
+
APP = "APP"
|
|
349
|
+
}
|
|
350
|
+
interface PaymentAcceptanceRuleNonNullableFields {
|
|
351
|
+
paymentMethodTypeId: string;
|
|
352
|
+
accountConnectionId: string;
|
|
353
|
+
merchantEnabled: boolean;
|
|
354
|
+
}
|
|
355
|
+
interface TagListNonNullableFields {
|
|
356
|
+
tagIds: string[];
|
|
357
|
+
}
|
|
358
|
+
interface TagsNonNullableFields {
|
|
359
|
+
tags?: TagListNonNullableFields;
|
|
360
|
+
}
|
|
361
|
+
export interface PaymentAcceptanceConfigurationNonNullableFields {
|
|
362
|
+
rules: PaymentAcceptanceRuleNonNullableFields[];
|
|
363
|
+
tags?: TagsNonNullableFields;
|
|
364
|
+
}
|
|
365
|
+
export interface CreatePaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
366
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
367
|
+
}
|
|
368
|
+
export interface GetPaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
369
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
370
|
+
}
|
|
371
|
+
export interface UpdatePaymentAcceptanceConfigurationResponseNonNullableFields {
|
|
372
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
|
|
373
|
+
}
|
|
374
|
+
export interface QueryPaymentAcceptanceConfigurationsResponseNonNullableFields {
|
|
375
|
+
paymentAcceptanceConfigurations: PaymentAcceptanceConfigurationNonNullableFields[];
|
|
376
|
+
}
|
|
377
|
+
interface ApplicationErrorNonNullableFields {
|
|
378
|
+
code: string;
|
|
379
|
+
description: string;
|
|
380
|
+
}
|
|
381
|
+
interface ItemMetadataNonNullableFields {
|
|
382
|
+
originalIndex: number;
|
|
383
|
+
success: boolean;
|
|
384
|
+
error?: ApplicationErrorNonNullableFields;
|
|
385
|
+
}
|
|
386
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields {
|
|
387
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
388
|
+
}
|
|
389
|
+
interface BulkActionMetadataNonNullableFields {
|
|
390
|
+
totalSuccesses: number;
|
|
391
|
+
totalFailures: number;
|
|
392
|
+
undetailedFailures: number;
|
|
393
|
+
}
|
|
394
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponseNonNullableFields {
|
|
395
|
+
results: BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields[];
|
|
396
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
397
|
+
}
|
|
398
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNonNullableFields {
|
|
399
|
+
jobId: string;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Creates a PaymentAcceptanceConfiguration.
|
|
403
|
+
* @param paymentAcceptanceConfiguration - PaymentAcceptanceConfiguration to be created.
|
|
404
|
+
* @internal
|
|
405
|
+
* @documentationMaturity preview
|
|
406
|
+
* @requiredField paymentAcceptanceConfiguration
|
|
407
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_CREATE
|
|
408
|
+
* @returns The created PaymentAcceptanceConfiguration.
|
|
409
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.CreatePaymentAcceptanceConfiguration
|
|
410
|
+
*/
|
|
411
|
+
export declare function createPaymentAcceptanceConfiguration(paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
412
|
+
/**
|
|
413
|
+
* Retrieves a PaymentAcceptanceConfiguration.
|
|
414
|
+
* @param paymentAcceptanceConfigurationId - ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
415
|
+
* @internal
|
|
416
|
+
* @documentationMaturity preview
|
|
417
|
+
* @requiredField paymentAcceptanceConfigurationId
|
|
418
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
419
|
+
* @returns The requested PaymentAcceptanceConfiguration.
|
|
420
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.GetPaymentAcceptanceConfiguration
|
|
421
|
+
*/
|
|
422
|
+
export declare function getPaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
423
|
+
/**
|
|
424
|
+
* Updates a PaymentAcceptanceConfiguration.
|
|
425
|
+
*
|
|
426
|
+
*
|
|
427
|
+
* Each time the PaymentAcceptanceConfiguration is updated,
|
|
428
|
+
* `revision` increments by 1.
|
|
429
|
+
* The current `revision` must be passed when updating the PaymentAcceptanceConfiguration.
|
|
430
|
+
* This ensures you're working with the latest PaymentAcceptanceConfiguration
|
|
431
|
+
* and prevents unintended overwrites.
|
|
432
|
+
* @param _id - id
|
|
433
|
+
* @internal
|
|
434
|
+
* @documentationMaturity preview
|
|
435
|
+
* @requiredField _id
|
|
436
|
+
* @requiredField paymentAcceptanceConfiguration
|
|
437
|
+
* @requiredField paymentAcceptanceConfiguration.revision
|
|
438
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE
|
|
439
|
+
* @returns Updated PaymentAcceptanceConfiguration.
|
|
440
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.UpdatePaymentAcceptanceConfiguration
|
|
441
|
+
*/
|
|
442
|
+
export declare function updatePaymentAcceptanceConfiguration(_id: string | null, paymentAcceptanceConfiguration: UpdatePaymentAcceptanceConfiguration): Promise<PaymentAcceptanceConfiguration & PaymentAcceptanceConfigurationNonNullableFields>;
|
|
443
|
+
export interface UpdatePaymentAcceptanceConfiguration {
|
|
444
|
+
/**
|
|
445
|
+
* id
|
|
446
|
+
* @readonly
|
|
447
|
+
*/
|
|
448
|
+
_id?: string | null;
|
|
449
|
+
/** app_id */
|
|
450
|
+
appId?: string | null;
|
|
451
|
+
/** rules */
|
|
452
|
+
rules?: PaymentAcceptanceRule[];
|
|
453
|
+
/**
|
|
454
|
+
* revision
|
|
455
|
+
* @readonly
|
|
456
|
+
*/
|
|
457
|
+
revision?: string | null;
|
|
458
|
+
/**
|
|
459
|
+
* Date when PaymentAcceptanceConfiguration was created
|
|
460
|
+
* @readonly
|
|
461
|
+
*/
|
|
462
|
+
_createdDate?: Date | null;
|
|
463
|
+
/**
|
|
464
|
+
* Date when PaymentAcceptanceConfiguration was updated
|
|
465
|
+
* @readonly
|
|
466
|
+
*/
|
|
467
|
+
_updatedDate?: Date | null;
|
|
468
|
+
/** Data Extensions */
|
|
469
|
+
extendedFields?: ExtendedFields;
|
|
470
|
+
/** Tags */
|
|
471
|
+
tags?: Tags;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Delete a PaymentAcceptanceConfiguration
|
|
475
|
+
* @param paymentAcceptanceConfigurationId - Id of payment acceptance configuration to delete
|
|
476
|
+
* @internal
|
|
477
|
+
* @documentationMaturity preview
|
|
478
|
+
* @requiredField paymentAcceptanceConfigurationId
|
|
479
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_DELETE
|
|
480
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.DeletePaymentAcceptanceConfiguration
|
|
481
|
+
*/
|
|
482
|
+
export declare function deletePaymentAcceptanceConfiguration(paymentAcceptanceConfigurationId: string): Promise<void>;
|
|
483
|
+
/**
|
|
484
|
+
* Retrieves a list of PaymentAcceptanceConfigurations, given the provided [paging, filtering, and sorting][1].
|
|
485
|
+
*
|
|
486
|
+
* Up to 1,000 PaymentAcceptanceConfigurations can be returned per request.
|
|
487
|
+
*
|
|
488
|
+
* To learn how to query PaymentAcceptanceConfigurations, see [API Query Language][2].
|
|
489
|
+
*
|
|
490
|
+
* [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
|
|
491
|
+
* [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
|
|
492
|
+
* @internal
|
|
493
|
+
* @documentationMaturity preview
|
|
494
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_READ
|
|
495
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.QueryPaymentAcceptanceConfigurations
|
|
496
|
+
*/
|
|
497
|
+
export declare function queryPaymentAcceptanceConfigurations(): PaymentAcceptanceConfigurationsQueryBuilder;
|
|
498
|
+
interface QueryCursorResult {
|
|
499
|
+
cursors: Cursors;
|
|
500
|
+
hasNext: () => boolean;
|
|
501
|
+
hasPrev: () => boolean;
|
|
502
|
+
length: number;
|
|
503
|
+
pageSize: number;
|
|
504
|
+
}
|
|
505
|
+
export interface PaymentAcceptanceConfigurationsQueryResult extends QueryCursorResult {
|
|
506
|
+
items: PaymentAcceptanceConfiguration[];
|
|
507
|
+
query: PaymentAcceptanceConfigurationsQueryBuilder;
|
|
508
|
+
next: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
509
|
+
prev: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
510
|
+
}
|
|
511
|
+
export interface PaymentAcceptanceConfigurationsQueryBuilder {
|
|
512
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
513
|
+
* @param value - Value to compare against.
|
|
514
|
+
* @documentationMaturity preview
|
|
515
|
+
*/
|
|
516
|
+
eq: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
517
|
+
/** @param propertyName - Property whose value is compared with `value`.
|
|
518
|
+
* @param value - Value to compare against.
|
|
519
|
+
* @documentationMaturity preview
|
|
520
|
+
*/
|
|
521
|
+
ne: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
522
|
+
/** @param propertyName - Property whose value is compared with `string`.
|
|
523
|
+
* @param string - String to compare against. Case-insensitive.
|
|
524
|
+
* @documentationMaturity preview
|
|
525
|
+
*/
|
|
526
|
+
startsWith: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId', value: string) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
527
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
528
|
+
* @param values - List of values to compare against.
|
|
529
|
+
* @documentationMaturity preview
|
|
530
|
+
*/
|
|
531
|
+
hasSome: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled', value: any[]) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
532
|
+
/** @documentationMaturity preview */
|
|
533
|
+
in: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled', value: any) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
534
|
+
/** @documentationMaturity preview */
|
|
535
|
+
exists: (propertyName: '_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled', value: boolean) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
536
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
537
|
+
* @documentationMaturity preview
|
|
538
|
+
*/
|
|
539
|
+
ascending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled'>) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
540
|
+
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
541
|
+
* @documentationMaturity preview
|
|
542
|
+
*/
|
|
543
|
+
descending: (...propertyNames: Array<'_id' | 'appId' | 'rules.paymentMethodTypeId' | 'rules.accountConnectionId' | 'rules.merchantEnabled'>) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
544
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
545
|
+
* @documentationMaturity preview
|
|
546
|
+
*/
|
|
547
|
+
limit: (limit: number) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
548
|
+
/** @param cursor - A pointer to specific record
|
|
549
|
+
* @documentationMaturity preview
|
|
550
|
+
*/
|
|
551
|
+
skipTo: (cursor: string) => PaymentAcceptanceConfigurationsQueryBuilder;
|
|
552
|
+
/** @documentationMaturity preview */
|
|
553
|
+
find: () => Promise<PaymentAcceptanceConfigurationsQueryResult>;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Synchronously update tags on multiple PaymentAcceptanceConfigurations, by list of PaymentAcceptanceConfigurations ids
|
|
557
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
558
|
+
* @param ids - List of NileProtoTagsEntities that their tags will update.
|
|
559
|
+
* @internal
|
|
560
|
+
* @documentationMaturity preview
|
|
561
|
+
* @requiredField ids
|
|
562
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
563
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTags
|
|
564
|
+
*/
|
|
565
|
+
export declare function bulkUpdatePaymentAcceptanceConfigurationTags(ids: string[], options?: BulkUpdatePaymentAcceptanceConfigurationTagsOptions): Promise<BulkUpdatePaymentAcceptanceConfigurationTagsResponse & BulkUpdatePaymentAcceptanceConfigurationTagsResponseNonNullableFields>;
|
|
566
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsOptions {
|
|
567
|
+
/** List of Tags to assign */
|
|
568
|
+
assignTags?: Tags;
|
|
569
|
+
/** List of Tags to unAssign */
|
|
570
|
+
unassignTags?: Tags;
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Asynchronously update tags on multiple PaymentAcceptanceConfigurations, by provided filter
|
|
574
|
+
* An empty filter will update all PaymentAcceptanceConfigurations
|
|
575
|
+
* A tag that appears both in the list of assign and unassign tags, will be assigned
|
|
576
|
+
* @param filter - Filter
|
|
577
|
+
* @internal
|
|
578
|
+
* @documentationMaturity preview
|
|
579
|
+
* @requiredField filter
|
|
580
|
+
* @permissionId PAYMENTS.PAYMENT_ACCEPTANCE_CONFIGURATION_UPDATE_TAGS
|
|
581
|
+
* @fqn wix.payments.payment_acceptance_configurations.v1.PaymentAcceptanceConfigurationService.BulkUpdatePaymentAcceptanceConfigurationTagsByFilter
|
|
582
|
+
*/
|
|
583
|
+
export declare function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(filter: Record<string, any> | null, options?: BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions): Promise<BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse & BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNonNullableFields>;
|
|
584
|
+
export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterOptions {
|
|
585
|
+
/** List of Tags to assign */
|
|
586
|
+
assignTags?: Tags;
|
|
587
|
+
/** List of Tags to unAssign */
|
|
588
|
+
unassignTags?: Tags;
|
|
589
|
+
}
|
|
590
|
+
export {};
|