@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
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { C as CreatePaymentAcceptanceConfigurationRequest$1, g as CreatePaymentAcceptanceConfigurationResponse$1, G as GetPaymentAcceptanceConfigurationRequest$1, h as GetPaymentAcceptanceConfigurationResponse$1, i as UpdatePaymentAcceptanceConfigurationRequest$1, j as UpdatePaymentAcceptanceConfigurationResponse$1, D as DeletePaymentAcceptanceConfigurationRequest$1, k as DeletePaymentAcceptanceConfigurationResponse$1, Q as QueryPaymentAcceptanceConfigurationsRequest$1, p as QueryPaymentAcceptanceConfigurationsResponse$1, s as BulkUpdatePaymentAcceptanceConfigurationTagsRequest$1, b as BulkUpdatePaymentAcceptanceConfigurationTagsResponse$1, v as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest$1, d as BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse$1 } from './payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal-jqObRsin.js';
|
|
2
|
+
|
|
3
|
+
/** PaymentAcceptanceConfiguration */
|
|
4
|
+
interface PaymentAcceptanceConfiguration {
|
|
5
|
+
/**
|
|
6
|
+
* id
|
|
7
|
+
* @format GUID
|
|
8
|
+
* @readonly
|
|
9
|
+
* @immutable
|
|
10
|
+
*/
|
|
11
|
+
id?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* app_id
|
|
14
|
+
* @format GUID
|
|
15
|
+
* @immutable
|
|
16
|
+
*/
|
|
17
|
+
appId?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* rules
|
|
20
|
+
* @maxSize 1000
|
|
21
|
+
*/
|
|
22
|
+
rules?: PaymentAcceptanceRule[];
|
|
23
|
+
/**
|
|
24
|
+
* revision
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
revision?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Date when PaymentAcceptanceConfiguration was created
|
|
30
|
+
* @readonly
|
|
31
|
+
* @immutable
|
|
32
|
+
*/
|
|
33
|
+
createdDate?: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
* Date when PaymentAcceptanceConfiguration was updated
|
|
36
|
+
* @readonly
|
|
37
|
+
*/
|
|
38
|
+
updatedDate?: Date | null;
|
|
39
|
+
/** Data Extensions */
|
|
40
|
+
extendedFields?: ExtendedFields;
|
|
41
|
+
/** Tags */
|
|
42
|
+
tags?: Tags;
|
|
43
|
+
}
|
|
44
|
+
interface PaymentAcceptanceRule {
|
|
45
|
+
/**
|
|
46
|
+
* payment_method_type_id
|
|
47
|
+
* @format GUID
|
|
48
|
+
*/
|
|
49
|
+
paymentMethodTypeId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* account_connection_id
|
|
52
|
+
* @format GUID
|
|
53
|
+
*/
|
|
54
|
+
accountConnectionId?: string;
|
|
55
|
+
/** merchant_enabled */
|
|
56
|
+
merchantEnabled?: boolean;
|
|
57
|
+
}
|
|
58
|
+
interface ExtendedFields {
|
|
59
|
+
/**
|
|
60
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
61
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
62
|
+
*
|
|
63
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
64
|
+
*
|
|
65
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
66
|
+
*/
|
|
67
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Common object for tags.
|
|
71
|
+
* Should be use as in this example:
|
|
72
|
+
* message Foo {
|
|
73
|
+
* string id = 1;
|
|
74
|
+
* ...
|
|
75
|
+
* Tags tags = 5
|
|
76
|
+
* }
|
|
77
|
+
*
|
|
78
|
+
* example of taggable entity
|
|
79
|
+
* {
|
|
80
|
+
* id: "123"
|
|
81
|
+
* tags: {
|
|
82
|
+
* tags: {
|
|
83
|
+
* tag_ids:["11","22"]
|
|
84
|
+
* },
|
|
85
|
+
* private_tags: {
|
|
86
|
+
* tag_ids: ["33", "44"]
|
|
87
|
+
* }
|
|
88
|
+
* }
|
|
89
|
+
* }
|
|
90
|
+
*/
|
|
91
|
+
interface Tags {
|
|
92
|
+
/** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
|
|
93
|
+
tags?: TagList;
|
|
94
|
+
}
|
|
95
|
+
interface TagList {
|
|
96
|
+
/**
|
|
97
|
+
* List of tag IDs
|
|
98
|
+
* @maxSize 100
|
|
99
|
+
* @maxLength 5
|
|
100
|
+
*/
|
|
101
|
+
tagIds?: string[];
|
|
102
|
+
}
|
|
103
|
+
interface CreatePaymentAcceptanceConfigurationRequest {
|
|
104
|
+
/** PaymentAcceptanceConfiguration to be created. */
|
|
105
|
+
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
106
|
+
}
|
|
107
|
+
interface CreatePaymentAcceptanceConfigurationResponse {
|
|
108
|
+
/** The created PaymentAcceptanceConfiguration. */
|
|
109
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
110
|
+
}
|
|
111
|
+
interface GetPaymentAcceptanceConfigurationRequest {
|
|
112
|
+
/**
|
|
113
|
+
* ID of the PaymentAcceptanceConfiguration to retrieve.
|
|
114
|
+
* @format GUID
|
|
115
|
+
*/
|
|
116
|
+
paymentAcceptanceConfigurationId: string;
|
|
117
|
+
}
|
|
118
|
+
interface GetPaymentAcceptanceConfigurationResponse {
|
|
119
|
+
/** The requested PaymentAcceptanceConfiguration. */
|
|
120
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
121
|
+
}
|
|
122
|
+
interface UpdatePaymentAcceptanceConfigurationRequest {
|
|
123
|
+
/** PaymentAcceptanceConfiguration to be updated, may be partial. */
|
|
124
|
+
paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
|
|
125
|
+
}
|
|
126
|
+
interface UpdatePaymentAcceptanceConfigurationResponse {
|
|
127
|
+
/** Updated PaymentAcceptanceConfiguration. */
|
|
128
|
+
paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
|
|
129
|
+
}
|
|
130
|
+
interface DeletePaymentAcceptanceConfigurationRequest {
|
|
131
|
+
/**
|
|
132
|
+
* Id of payment acceptance configuration to delete
|
|
133
|
+
* @format GUID
|
|
134
|
+
*/
|
|
135
|
+
paymentAcceptanceConfigurationId: string;
|
|
136
|
+
}
|
|
137
|
+
interface DeletePaymentAcceptanceConfigurationResponse {
|
|
138
|
+
}
|
|
139
|
+
interface QueryPaymentAcceptanceConfigurationsRequest {
|
|
140
|
+
/** WQL expression. */
|
|
141
|
+
query?: CursorQuery;
|
|
142
|
+
}
|
|
143
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
144
|
+
/** 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`. */
|
|
145
|
+
cursorPaging?: CursorPaging;
|
|
146
|
+
/**
|
|
147
|
+
* Filter object in the following format:
|
|
148
|
+
* `"filter" : {
|
|
149
|
+
* "fieldName1": "value1",
|
|
150
|
+
* "fieldName2":{"$operator":"value2"}
|
|
151
|
+
* }`
|
|
152
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
153
|
+
*/
|
|
154
|
+
filter?: Record<string, any> | null;
|
|
155
|
+
/**
|
|
156
|
+
* Sort object in the following format:
|
|
157
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
158
|
+
* @maxSize 5
|
|
159
|
+
*/
|
|
160
|
+
sort?: Sorting[];
|
|
161
|
+
}
|
|
162
|
+
/** @oneof */
|
|
163
|
+
interface CursorQueryPagingMethodOneOf {
|
|
164
|
+
/** 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`. */
|
|
165
|
+
cursorPaging?: CursorPaging;
|
|
166
|
+
}
|
|
167
|
+
interface Sorting {
|
|
168
|
+
/**
|
|
169
|
+
* Name of the field to sort by.
|
|
170
|
+
* @maxLength 512
|
|
171
|
+
*/
|
|
172
|
+
fieldName?: string;
|
|
173
|
+
/** Sort order. */
|
|
174
|
+
order?: SortOrder;
|
|
175
|
+
}
|
|
176
|
+
declare enum SortOrder {
|
|
177
|
+
ASC = "ASC",
|
|
178
|
+
DESC = "DESC"
|
|
179
|
+
}
|
|
180
|
+
interface CursorPaging {
|
|
181
|
+
/**
|
|
182
|
+
* Maximum number of items to return in the results.
|
|
183
|
+
* @max 100
|
|
184
|
+
*/
|
|
185
|
+
limit?: number | null;
|
|
186
|
+
/**
|
|
187
|
+
* Pointer to the next or previous page in the list of results.
|
|
188
|
+
*
|
|
189
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
190
|
+
* Not relevant for the first request.
|
|
191
|
+
* @maxLength 16000
|
|
192
|
+
*/
|
|
193
|
+
cursor?: string | null;
|
|
194
|
+
}
|
|
195
|
+
interface QueryPaymentAcceptanceConfigurationsResponse {
|
|
196
|
+
/** List of PaymentAcceptanceConfigurations. */
|
|
197
|
+
paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
|
|
198
|
+
/** Paging metadata */
|
|
199
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
200
|
+
}
|
|
201
|
+
interface CursorPagingMetadata {
|
|
202
|
+
/** Number of items returned in the response. */
|
|
203
|
+
count?: number | null;
|
|
204
|
+
/** Cursor strings that point to the next page, previous page, or both. */
|
|
205
|
+
cursors?: Cursors;
|
|
206
|
+
/**
|
|
207
|
+
* Whether there are more pages to retrieve following the current page.
|
|
208
|
+
*
|
|
209
|
+
* + `true`: Another page of results can be retrieved.
|
|
210
|
+
* + `false`: This is the last page.
|
|
211
|
+
*/
|
|
212
|
+
hasNext?: boolean | null;
|
|
213
|
+
}
|
|
214
|
+
interface Cursors {
|
|
215
|
+
/**
|
|
216
|
+
* Cursor string pointing to the next page in the list of results.
|
|
217
|
+
* @maxLength 16000
|
|
218
|
+
*/
|
|
219
|
+
next?: string | null;
|
|
220
|
+
/**
|
|
221
|
+
* Cursor pointing to the previous page in the list of results.
|
|
222
|
+
* @maxLength 16000
|
|
223
|
+
*/
|
|
224
|
+
prev?: string | null;
|
|
225
|
+
}
|
|
226
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
|
|
227
|
+
/**
|
|
228
|
+
* List of NileProtoTagsEntities that their tags will update.
|
|
229
|
+
* @minSize 1
|
|
230
|
+
* @maxSize 100
|
|
231
|
+
* @format GUID
|
|
232
|
+
*/
|
|
233
|
+
ids: string[];
|
|
234
|
+
/** List of Tags to assign */
|
|
235
|
+
assignTags?: Tags;
|
|
236
|
+
/** List of Tags to unAssign */
|
|
237
|
+
unassignTags?: Tags;
|
|
238
|
+
}
|
|
239
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
|
|
240
|
+
/**
|
|
241
|
+
* Results
|
|
242
|
+
* @minSize 1
|
|
243
|
+
* @maxSize 100
|
|
244
|
+
*/
|
|
245
|
+
results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
|
|
246
|
+
/** Metadata regarding the bulk update operation */
|
|
247
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
248
|
+
}
|
|
249
|
+
interface ItemMetadata {
|
|
250
|
+
/**
|
|
251
|
+
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
252
|
+
* @format GUID
|
|
253
|
+
*/
|
|
254
|
+
id?: string | null;
|
|
255
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
256
|
+
originalIndex?: number;
|
|
257
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
258
|
+
success?: boolean;
|
|
259
|
+
/** Details about the error in case of failure. */
|
|
260
|
+
error?: ApplicationError;
|
|
261
|
+
}
|
|
262
|
+
interface ApplicationError {
|
|
263
|
+
/** Error code. */
|
|
264
|
+
code?: string;
|
|
265
|
+
/** Description of the error. */
|
|
266
|
+
description?: string;
|
|
267
|
+
/** Data related to the error. */
|
|
268
|
+
data?: Record<string, any> | null;
|
|
269
|
+
}
|
|
270
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
|
|
271
|
+
/** Metadata regarding the specific single update operation */
|
|
272
|
+
itemMetadata?: ItemMetadata;
|
|
273
|
+
}
|
|
274
|
+
interface BulkActionMetadata {
|
|
275
|
+
/** Number of items that were successfully processed. */
|
|
276
|
+
totalSuccesses?: number;
|
|
277
|
+
/** Number of items that couldn't be processed. */
|
|
278
|
+
totalFailures?: number;
|
|
279
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
280
|
+
undetailedFailures?: number;
|
|
281
|
+
}
|
|
282
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
|
|
283
|
+
/** Filter */
|
|
284
|
+
filter: Record<string, any> | null;
|
|
285
|
+
/** List of Tags to assign */
|
|
286
|
+
assignTags?: Tags;
|
|
287
|
+
/** List of Tags to unAssign */
|
|
288
|
+
unassignTags?: Tags;
|
|
289
|
+
}
|
|
290
|
+
interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
|
|
291
|
+
/**
|
|
292
|
+
* Job ID
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
295
|
+
jobId?: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
299
|
+
getUrl: (context: any) => string;
|
|
300
|
+
httpMethod: K;
|
|
301
|
+
path: string;
|
|
302
|
+
pathParams: M;
|
|
303
|
+
__requestType: T;
|
|
304
|
+
__originalRequestType: S;
|
|
305
|
+
__responseType: Q;
|
|
306
|
+
__originalResponseType: R;
|
|
307
|
+
};
|
|
308
|
+
declare function createPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<'POST', {}, CreatePaymentAcceptanceConfigurationRequest$1, CreatePaymentAcceptanceConfigurationRequest, CreatePaymentAcceptanceConfigurationResponse$1, CreatePaymentAcceptanceConfigurationResponse>;
|
|
309
|
+
declare function getPaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<'GET', {
|
|
310
|
+
paymentAcceptanceConfigurationId: string;
|
|
311
|
+
}, GetPaymentAcceptanceConfigurationRequest$1, GetPaymentAcceptanceConfigurationRequest, GetPaymentAcceptanceConfigurationResponse$1, GetPaymentAcceptanceConfigurationResponse>;
|
|
312
|
+
declare function updatePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<'PATCH', {
|
|
313
|
+
paymentAcceptanceConfigurationId: string;
|
|
314
|
+
}, UpdatePaymentAcceptanceConfigurationRequest$1, UpdatePaymentAcceptanceConfigurationRequest, UpdatePaymentAcceptanceConfigurationResponse$1, UpdatePaymentAcceptanceConfigurationResponse>;
|
|
315
|
+
declare function deletePaymentAcceptanceConfiguration(): __PublicMethodMetaInfo<'DELETE', {
|
|
316
|
+
paymentAcceptanceConfigurationId: string;
|
|
317
|
+
}, DeletePaymentAcceptanceConfigurationRequest$1, DeletePaymentAcceptanceConfigurationRequest, DeletePaymentAcceptanceConfigurationResponse$1, DeletePaymentAcceptanceConfigurationResponse>;
|
|
318
|
+
declare function queryPaymentAcceptanceConfigurations(): __PublicMethodMetaInfo<'GET', {}, QueryPaymentAcceptanceConfigurationsRequest$1, QueryPaymentAcceptanceConfigurationsRequest, QueryPaymentAcceptanceConfigurationsResponse$1, QueryPaymentAcceptanceConfigurationsResponse>;
|
|
319
|
+
declare function bulkUpdatePaymentAcceptanceConfigurationTags(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePaymentAcceptanceConfigurationTagsRequest$1, BulkUpdatePaymentAcceptanceConfigurationTagsRequest, BulkUpdatePaymentAcceptanceConfigurationTagsResponse$1, BulkUpdatePaymentAcceptanceConfigurationTagsResponse>;
|
|
320
|
+
declare function bulkUpdatePaymentAcceptanceConfigurationTagsByFilter(): __PublicMethodMetaInfo<'POST', {}, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest$1, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse$1, BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse>;
|
|
321
|
+
|
|
322
|
+
export { type __PublicMethodMetaInfo, bulkUpdatePaymentAcceptanceConfigurationTags, bulkUpdatePaymentAcceptanceConfigurationTagsByFilter, createPaymentAcceptanceConfiguration, deletePaymentAcceptanceConfiguration, getPaymentAcceptanceConfiguration, queryPaymentAcceptanceConfigurations, updatePaymentAcceptanceConfiguration };
|