@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.
Files changed (132) hide show
  1. package/build/{cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.mts} +48 -98
  2. package/build/{es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.d.ts → index.d.ts} +48 -98
  3. package/build/index.js +582 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +550 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +103 -0
  8. package/build/internal/index.d.ts +103 -0
  9. package/build/internal/index.js +582 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +550 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +322 -0
  14. package/build/internal/meta.d.ts +322 -0
  15. package/build/internal/meta.js +422 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +389 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. 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
  20. 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
  21. package/build/meta.d.mts +322 -0
  22. package/build/meta.d.ts +322 -0
  23. package/build/meta.js +422 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +389 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/package.json +14 -13
  28. package/build/cjs/index.d.ts +0 -1
  29. package/build/cjs/index.js +0 -18
  30. package/build/cjs/index.js.map +0 -1
  31. package/build/cjs/index.typings.d.ts +0 -1
  32. package/build/cjs/index.typings.js +0 -18
  33. package/build/cjs/index.typings.js.map +0 -1
  34. package/build/cjs/meta.d.ts +0 -1
  35. package/build/cjs/meta.js +0 -18
  36. package/build/cjs/meta.js.map +0 -1
  37. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -2
  38. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -23
  39. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
  40. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
  41. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -249
  42. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
  43. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
  44. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -173
  45. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
  46. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -4
  47. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -58
  48. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
  49. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +0 -488
  50. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -17
  51. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
  52. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -334
  53. package/build/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
  54. package/build/es/index.d.ts +0 -1
  55. package/build/es/index.js +0 -2
  56. package/build/es/index.js.map +0 -1
  57. package/build/es/index.typings.d.ts +0 -1
  58. package/build/es/index.typings.js +0 -2
  59. package/build/es/index.typings.js.map +0 -1
  60. package/build/es/meta.d.ts +0 -1
  61. package/build/es/meta.js +0 -2
  62. package/build/es/meta.js.map +0 -1
  63. package/build/es/package.json +0 -3
  64. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -2
  65. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -18
  66. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
  67. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
  68. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -239
  69. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
  70. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
  71. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -140
  72. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
  73. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -4
  74. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -46
  75. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
  76. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +0 -488
  77. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -14
  78. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
  79. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -301
  80. package/build/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -18
  91. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -23
  92. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
  93. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
  94. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -249
  95. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
  96. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
  97. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -173
  98. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
  99. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -88
  100. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -58
  101. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
  102. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +0 -488
  103. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -17
  104. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
  105. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -334
  106. package/build/internal/cjs/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
  107. package/build/internal/es/index.d.ts +0 -1
  108. package/build/internal/es/index.js +0 -2
  109. package/build/internal/es/index.js.map +0 -1
  110. package/build/internal/es/index.typings.d.ts +0 -1
  111. package/build/internal/es/index.typings.js +0 -2
  112. package/build/internal/es/index.typings.js.map +0 -1
  113. package/build/internal/es/meta.d.ts +0 -1
  114. package/build/internal/es/meta.js +0 -2
  115. package/build/internal/es/meta.js.map +0 -1
  116. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.d.ts +0 -18
  117. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js +0 -18
  118. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.context.js.map +0 -1
  119. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.d.ts +0 -40
  120. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js +0 -239
  121. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.http.js.map +0 -1
  122. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.d.ts +0 -25
  123. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js +0 -140
  124. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.meta.js.map +0 -1
  125. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.d.ts +0 -88
  126. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js +0 -46
  127. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.public.js.map +0 -1
  128. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.d.ts +0 -488
  129. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js +0 -14
  130. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map +0 -1
  131. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js +0 -301
  132. package/build/internal/es/src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.universal.js.map +0 -1
@@ -1,488 +0,0 @@
1
- /** PaymentAcceptanceConfiguration */
2
- export interface PaymentAcceptanceConfiguration {
3
- /**
4
- * id
5
- * @format GUID
6
- * @readonly
7
- * @immutable
8
- */
9
- id?: string | null;
10
- /**
11
- * app_id
12
- * @format GUID
13
- * @immutable
14
- */
15
- appId?: string | null;
16
- /**
17
- * rules
18
- * @maxSize 1000
19
- */
20
- rules?: PaymentAcceptanceRule[];
21
- /**
22
- * revision
23
- * @readonly
24
- */
25
- revision?: string | null;
26
- /**
27
- * Date when PaymentAcceptanceConfiguration was created
28
- * @readonly
29
- * @immutable
30
- */
31
- createdDate?: Date | null;
32
- /**
33
- * Date when PaymentAcceptanceConfiguration was updated
34
- * @readonly
35
- */
36
- updatedDate?: Date | null;
37
- /** Data Extensions */
38
- extendedFields?: ExtendedFields;
39
- /** Tags */
40
- tags?: Tags;
41
- }
42
- export interface PaymentAcceptanceRule {
43
- /**
44
- * payment_method_type_id
45
- * @format GUID
46
- */
47
- paymentMethodTypeId?: string;
48
- /**
49
- * account_connection_id
50
- * @format GUID
51
- */
52
- accountConnectionId?: string;
53
- /** merchant_enabled */
54
- merchantEnabled?: boolean;
55
- }
56
- export interface ExtendedFields {
57
- /**
58
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
59
- * The value of each key is structured according to the schema defined when the extended fields were configured.
60
- *
61
- * You can only access fields for which you have the appropriate permissions.
62
- *
63
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
64
- */
65
- namespaces?: Record<string, Record<string, any>>;
66
- }
67
- /**
68
- * Common object for tags.
69
- * Should be use as in this example:
70
- * message Foo {
71
- * string id = 1;
72
- * ...
73
- * Tags tags = 5
74
- * }
75
- *
76
- * example of taggable entity
77
- * {
78
- * id: "123"
79
- * tags: {
80
- * tags: {
81
- * tag_ids:["11","22"]
82
- * },
83
- * private_tags: {
84
- * tag_ids: ["33", "44"]
85
- * }
86
- * }
87
- * }
88
- */
89
- export interface Tags {
90
- /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
91
- tags?: TagList;
92
- }
93
- export interface TagList {
94
- /**
95
- * List of tag IDs
96
- * @maxSize 100
97
- * @maxLength 5
98
- */
99
- tagIds?: string[];
100
- }
101
- export interface CreatePaymentAcceptanceConfigurationRequest {
102
- /** PaymentAcceptanceConfiguration to be created. */
103
- paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
104
- }
105
- export interface CreatePaymentAcceptanceConfigurationResponse {
106
- /** The created PaymentAcceptanceConfiguration. */
107
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
108
- }
109
- export interface GetPaymentAcceptanceConfigurationRequest {
110
- /**
111
- * ID of the PaymentAcceptanceConfiguration to retrieve.
112
- * @format GUID
113
- */
114
- paymentAcceptanceConfigurationId: string;
115
- }
116
- export interface GetPaymentAcceptanceConfigurationResponse {
117
- /** The requested PaymentAcceptanceConfiguration. */
118
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
119
- }
120
- export interface UpdatePaymentAcceptanceConfigurationRequest {
121
- /** PaymentAcceptanceConfiguration to be updated, may be partial. */
122
- paymentAcceptanceConfiguration: PaymentAcceptanceConfiguration;
123
- }
124
- export interface UpdatePaymentAcceptanceConfigurationResponse {
125
- /** Updated PaymentAcceptanceConfiguration. */
126
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfiguration;
127
- }
128
- export interface DeletePaymentAcceptanceConfigurationRequest {
129
- /**
130
- * Id of payment acceptance configuration to delete
131
- * @format GUID
132
- */
133
- paymentAcceptanceConfigurationId: string;
134
- }
135
- export interface DeletePaymentAcceptanceConfigurationResponse {
136
- }
137
- export interface QueryPaymentAcceptanceConfigurationsRequest {
138
- /** WQL expression. */
139
- query?: CursorQuery;
140
- }
141
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
142
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
143
- cursorPaging?: CursorPaging;
144
- /**
145
- * Filter object in the following format:
146
- * `"filter" : {
147
- * "fieldName1": "value1",
148
- * "fieldName2":{"$operator":"value2"}
149
- * }`
150
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
151
- */
152
- filter?: Record<string, any> | null;
153
- /**
154
- * Sort object in the following format:
155
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
156
- * @maxSize 5
157
- */
158
- sort?: Sorting[];
159
- }
160
- /** @oneof */
161
- export interface CursorQueryPagingMethodOneOf {
162
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
163
- cursorPaging?: CursorPaging;
164
- }
165
- export interface Sorting {
166
- /**
167
- * Name of the field to sort by.
168
- * @maxLength 512
169
- */
170
- fieldName?: string;
171
- /** Sort order. */
172
- order?: SortOrder;
173
- }
174
- export declare enum SortOrder {
175
- ASC = "ASC",
176
- DESC = "DESC"
177
- }
178
- export interface CursorPaging {
179
- /**
180
- * Maximum number of items to return in the results.
181
- * @max 100
182
- */
183
- limit?: number | null;
184
- /**
185
- * Pointer to the next or previous page in the list of results.
186
- *
187
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
188
- * Not relevant for the first request.
189
- * @maxLength 16000
190
- */
191
- cursor?: string | null;
192
- }
193
- export interface QueryPaymentAcceptanceConfigurationsResponse {
194
- /** List of PaymentAcceptanceConfigurations. */
195
- paymentAcceptanceConfigurations?: PaymentAcceptanceConfiguration[];
196
- /** Paging metadata */
197
- pagingMetadata?: CursorPagingMetadata;
198
- }
199
- export interface CursorPagingMetadata {
200
- /** Number of items returned in the response. */
201
- count?: number | null;
202
- /** Cursor strings that point to the next page, previous page, or both. */
203
- cursors?: Cursors;
204
- /**
205
- * Whether there are more pages to retrieve following the current page.
206
- *
207
- * + `true`: Another page of results can be retrieved.
208
- * + `false`: This is the last page.
209
- */
210
- hasNext?: boolean | null;
211
- }
212
- export interface Cursors {
213
- /**
214
- * Cursor string pointing to the next page in the list of results.
215
- * @maxLength 16000
216
- */
217
- next?: string | null;
218
- /**
219
- * Cursor pointing to the previous page in the list of results.
220
- * @maxLength 16000
221
- */
222
- prev?: string | null;
223
- }
224
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsRequest {
225
- /**
226
- * List of NileProtoTagsEntities that their tags will update.
227
- * @minSize 1
228
- * @maxSize 100
229
- * @format GUID
230
- */
231
- ids: string[];
232
- /** List of Tags to assign */
233
- assignTags?: Tags;
234
- /** List of Tags to unAssign */
235
- unassignTags?: Tags;
236
- }
237
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponse {
238
- /**
239
- * Results
240
- * @minSize 1
241
- * @maxSize 100
242
- */
243
- results?: BulkUpdatePaymentAcceptanceConfigurationTagsResult[];
244
- /** Metadata regarding the bulk update operation */
245
- bulkActionMetadata?: BulkActionMetadata;
246
- }
247
- export interface ItemMetadata {
248
- /**
249
- * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
250
- * @format GUID
251
- */
252
- id?: string | null;
253
- /** Index of the item within the request array. Allows for correlation between request and response items. */
254
- originalIndex?: number;
255
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
256
- success?: boolean;
257
- /** Details about the error in case of failure. */
258
- error?: ApplicationError;
259
- }
260
- export interface ApplicationError {
261
- /** Error code. */
262
- code?: string;
263
- /** Description of the error. */
264
- description?: string;
265
- /** Data related to the error. */
266
- data?: Record<string, any> | null;
267
- }
268
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsResult {
269
- /** Metadata regarding the specific single update operation */
270
- itemMetadata?: ItemMetadata;
271
- }
272
- export interface BulkActionMetadata {
273
- /** Number of items that were successfully processed. */
274
- totalSuccesses?: number;
275
- /** Number of items that couldn't be processed. */
276
- totalFailures?: number;
277
- /** Number of failures without details because detailed failure threshold was exceeded. */
278
- undetailedFailures?: number;
279
- }
280
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterRequest {
281
- /** Filter */
282
- filter: Record<string, any> | null;
283
- /** List of Tags to assign */
284
- assignTags?: Tags;
285
- /** List of Tags to unAssign */
286
- unassignTags?: Tags;
287
- }
288
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponse {
289
- /**
290
- * Job ID
291
- * @format GUID
292
- */
293
- jobId?: string;
294
- }
295
- export interface DomainEvent extends DomainEventBodyOneOf {
296
- createdEvent?: EntityCreatedEvent;
297
- updatedEvent?: EntityUpdatedEvent;
298
- deletedEvent?: EntityDeletedEvent;
299
- actionEvent?: ActionEvent;
300
- /**
301
- * Unique event ID.
302
- * Allows clients to ignore duplicate webhooks.
303
- */
304
- id?: string;
305
- /**
306
- * Assumes actions are also always typed to an entity_type
307
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
308
- */
309
- entityFqdn?: string;
310
- /**
311
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
312
- * This is although the created/updated/deleted notion is duplication of the oneof types
313
- * Example: created/updated/deleted/started/completed/email_opened
314
- */
315
- slug?: string;
316
- /** ID of the entity associated with the event. */
317
- entityId?: string;
318
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
319
- eventTime?: Date | null;
320
- /**
321
- * Whether the event was triggered as a result of a privacy regulation application
322
- * (for example, GDPR).
323
- */
324
- triggeredByAnonymizeRequest?: boolean | null;
325
- /** If present, indicates the action that triggered the event. */
326
- originatedFrom?: string | null;
327
- /**
328
- * A sequence number defining the order of updates to the underlying entity.
329
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
330
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
331
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
332
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
333
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
334
- */
335
- entityEventSequence?: string | null;
336
- }
337
- /** @oneof */
338
- export interface DomainEventBodyOneOf {
339
- createdEvent?: EntityCreatedEvent;
340
- updatedEvent?: EntityUpdatedEvent;
341
- deletedEvent?: EntityDeletedEvent;
342
- actionEvent?: ActionEvent;
343
- }
344
- export interface EntityCreatedEvent {
345
- entityAsJson?: string;
346
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
347
- restoreInfo?: RestoreInfo;
348
- }
349
- export interface RestoreInfo {
350
- deletedDate?: Date | null;
351
- }
352
- export interface EntityUpdatedEvent {
353
- /**
354
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
355
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
356
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
357
- */
358
- currentEntityAsJson?: string;
359
- }
360
- export interface EntityDeletedEvent {
361
- /** Entity that was deleted */
362
- deletedEntityAsJson?: string | null;
363
- }
364
- export interface ActionEvent {
365
- bodyAsJson?: string;
366
- }
367
- export interface MessageEnvelope {
368
- /**
369
- * App instance ID.
370
- * @format GUID
371
- */
372
- instanceId?: string | null;
373
- /**
374
- * Event type.
375
- * @maxLength 150
376
- */
377
- eventType?: string;
378
- /** The identification type and identity data. */
379
- identity?: IdentificationData;
380
- /** Stringify payload. */
381
- data?: string;
382
- }
383
- export interface IdentificationData extends IdentificationDataIdOneOf {
384
- /**
385
- * ID of a site visitor that has not logged in to the site.
386
- * @format GUID
387
- */
388
- anonymousVisitorId?: string;
389
- /**
390
- * ID of a site visitor that has logged in to the site.
391
- * @format GUID
392
- */
393
- memberId?: string;
394
- /**
395
- * ID of a Wix user (site owner, contributor, etc.).
396
- * @format GUID
397
- */
398
- wixUserId?: string;
399
- /**
400
- * ID of an app.
401
- * @format GUID
402
- */
403
- appId?: string;
404
- /** @readonly */
405
- identityType?: WebhookIdentityType;
406
- }
407
- /** @oneof */
408
- export interface IdentificationDataIdOneOf {
409
- /**
410
- * ID of a site visitor that has not logged in to the site.
411
- * @format GUID
412
- */
413
- anonymousVisitorId?: string;
414
- /**
415
- * ID of a site visitor that has logged in to the site.
416
- * @format GUID
417
- */
418
- memberId?: string;
419
- /**
420
- * ID of a Wix user (site owner, contributor, etc.).
421
- * @format GUID
422
- */
423
- wixUserId?: string;
424
- /**
425
- * ID of an app.
426
- * @format GUID
427
- */
428
- appId?: string;
429
- }
430
- export declare enum WebhookIdentityType {
431
- UNKNOWN = "UNKNOWN",
432
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
433
- MEMBER = "MEMBER",
434
- WIX_USER = "WIX_USER",
435
- APP = "APP"
436
- }
437
- interface PaymentAcceptanceRuleNonNullableFields {
438
- paymentMethodTypeId: string;
439
- accountConnectionId: string;
440
- merchantEnabled: boolean;
441
- }
442
- interface TagListNonNullableFields {
443
- tagIds: string[];
444
- }
445
- interface TagsNonNullableFields {
446
- tags?: TagListNonNullableFields;
447
- }
448
- interface PaymentAcceptanceConfigurationNonNullableFields {
449
- rules: PaymentAcceptanceRuleNonNullableFields[];
450
- tags?: TagsNonNullableFields;
451
- }
452
- export interface CreatePaymentAcceptanceConfigurationResponseNonNullableFields {
453
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
454
- }
455
- export interface GetPaymentAcceptanceConfigurationResponseNonNullableFields {
456
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
457
- }
458
- export interface UpdatePaymentAcceptanceConfigurationResponseNonNullableFields {
459
- paymentAcceptanceConfiguration?: PaymentAcceptanceConfigurationNonNullableFields;
460
- }
461
- export interface QueryPaymentAcceptanceConfigurationsResponseNonNullableFields {
462
- paymentAcceptanceConfigurations: PaymentAcceptanceConfigurationNonNullableFields[];
463
- }
464
- interface ApplicationErrorNonNullableFields {
465
- code: string;
466
- description: string;
467
- }
468
- interface ItemMetadataNonNullableFields {
469
- originalIndex: number;
470
- success: boolean;
471
- error?: ApplicationErrorNonNullableFields;
472
- }
473
- interface BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields {
474
- itemMetadata?: ItemMetadataNonNullableFields;
475
- }
476
- interface BulkActionMetadataNonNullableFields {
477
- totalSuccesses: number;
478
- totalFailures: number;
479
- undetailedFailures: number;
480
- }
481
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsResponseNonNullableFields {
482
- results: BulkUpdatePaymentAcceptanceConfigurationTagsResultNonNullableFields[];
483
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
484
- }
485
- export interface BulkUpdatePaymentAcceptanceConfigurationTagsByFilterResponseNonNullableFields {
486
- jobId: string;
487
- }
488
- export {};
@@ -1,14 +0,0 @@
1
- export var SortOrder;
2
- (function (SortOrder) {
3
- SortOrder["ASC"] = "ASC";
4
- SortOrder["DESC"] = "DESC";
5
- })(SortOrder || (SortOrder = {}));
6
- export var WebhookIdentityType;
7
- (function (WebhookIdentityType) {
8
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
9
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
10
- WebhookIdentityType["MEMBER"] = "MEMBER";
11
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
12
- WebhookIdentityType["APP"] = "APP";
13
- })(WebhookIdentityType || (WebhookIdentityType = {}));
14
- //# sourceMappingURL=payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.js","sourceRoot":"","sources":["../../../src/payments-payment-acceptance-configurations-v1-payment-acceptance-configuration-payment-acceptance-configurations.types.ts"],"names":[],"mappings":"AA6LA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAoRD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}