@undernouzen/ay-payments-sdk 1.4.1 → 1.6.7

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/dist/client.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from "axios";
2
- import type { AyPaymentsAdmin, AyPaymentsAdminsResponse, AyPaymentsApiResult, AyPaymentsApiKeyResponse, AyPaymentsApiKeysResponse, AyPaymentsAuthAdminResponse, AyPaymentsAuthCustomerResponse, AyPaymentsAuthTenantResponse, AyPaymentsCalculateCheckoutPayload, AyPaymentsCheckoutCalculationResponse, AyPaymentsCheckoutPayload, AyPaymentsClientOptions, AyPaymentsConnectionResponse, AyPaymentsCreateAdminPayload, AyPaymentsCreateApiKeyPayload, AyPaymentsCreateApiKeyResponse, AyPaymentsCreateCheckoutResponse, AyPaymentsCreateCouponPayload, AyPaymentsCreateConnectionPayload, AyPaymentsCreateCustomerPayload, AyPaymentsCustomerRegisterPayload, AyPaymentsCreateManualOrderPayload, AyPaymentsCreateProductPayload, AyPaymentsCreateProjectPayload, AyPaymentsCreateProjectResponse, AyPaymentsCreateTenantPayload, AyPaymentsCustomerResponse, AyPaymentsCustomersResponse, AyPaymentsDeleteResponse, AyPaymentsLogsResponse, AyPaymentsListOptions, AyPaymentsLoginPayload, AyPaymentsOAuthPayload, AyPaymentsOAuthResponse, AyPaymentsOrderResponse, AyPaymentsOrdersResponse, AyPaymentsOverviewResponse, AyPaymentsPaginationQuery, AyPaymentsPlatformCommissionResponse, AyPaymentsProductResponse, AyPaymentsProductsResponse, AyPaymentsCouponQueryInput, AyPaymentsCouponResponse, AyPaymentsCouponsResponse, AyPaymentsProfileOrdersResponse, AyPaymentsProjectCommissionResponse, AyPaymentsProjectAccountsResponse, AyPaymentsProjectListResponse, AyPaymentsProjectResponse, AyPaymentsQuery, AyPaymentsQueryOptions, AyPaymentsTenant, AyPaymentsTenantResponse, AyPaymentsTenantRegisterPayload, AyPaymentsTenantsResponse, AyPaymentsUpdateCommissionPayload, AyPaymentsUpdateConnectionPayload, AyPaymentsUpdateCouponPayload, AyPaymentsUpdateProductPayload, AyPaymentsUpdateProjectCommissionPayload, AyPaymentsUpdateProjectPayload } from "./types.js";
2
+ import type { AyPaymentsAdmin, AyPaymentsAdminsResponse, AyPaymentsApiResult, AyPaymentsApiKeyResponse, AyPaymentsApiKeysResponse, AyPaymentsAuthAdminResponse, AyPaymentsAuthCustomerResponse, AyPaymentsAuthTenantResponse, AyPaymentsBatchOptions, AyPaymentsBatchResponse, AyPaymentsCalculateCheckoutPayload, AyPaymentsCheckoutCalculationResponse, AyPaymentsCheckoutPayload, AyPaymentsClientOptions, AyPaymentsConnectionResponse, AyPaymentsCreateAdminPayload, AyPaymentsCreateApiKeyPayload, AyPaymentsCreateApiKeyResponse, AyPaymentsCreateCheckoutResponse, AyPaymentsCreateCouponPayload, AyPaymentsCreateConnectionPayload, AyPaymentsCreateCustomerPayload, AyPaymentsCustomerRegisterPayload, AyPaymentsCreateManualOrderPayload, AyPaymentsCreateProductPayload, AyPaymentsCreateProductCategoryPayload, AyPaymentsCreateProjectPayload, AyPaymentsCreateProjectResponse, AyPaymentsCreateTenantPayload, AyPaymentsCustomerResponse, AyPaymentsCustomersResponse, AyPaymentsDeleteResponse, AyPaymentsLogsResponse, AyPaymentsLanguagesResponse, AyPaymentsListOptions, AyPaymentsLoginPayload, AyPaymentsOAuthPayload, AyPaymentsOAuthResponse, AyPaymentsOrderResponse, AyPaymentsOrderTimelineResponse, AyPaymentsOrdersResponse, AyPaymentsOverviewResponse, AyPaymentsPaginationQuery, AyPaymentsPlatformCommissionResponse, AyPaymentsProductResponse, AyPaymentsProductCategoriesResponse, AyPaymentsProductCategoryResponse, AyPaymentsProductsResponse, AyPaymentsCouponQueryInput, AyPaymentsCouponResponse, AyPaymentsCouponsResponse, AyPaymentsProfileOrdersResponse, AyPaymentsProjectCommissionResponse, AyPaymentsProjectAccountsHealthResponse, AyPaymentsProjectAccountsResponse, AyPaymentsProjectListResponse, AyPaymentsProjectResponse, AyPaymentsQuery, AyPaymentsQueryOptions, AyPaymentsRequestOptions, AyPaymentsConnectedAccountsHealthResponse, AyPaymentsConnectedAccountRefreshResponse, AyPaymentsRetryPendingWebhookDeliveriesResponse, AyPaymentsRetryWebhookDeliveriesPayload, AyPaymentsRetryWebhookDeliveriesResponse, AyPaymentsRetryWebhookDeliveryResponse, AyPaymentsSystemHealthResponse, AyPaymentsTenant, AyPaymentsTenantResponse, AyPaymentsTenantRegisterPayload, AyPaymentsTenantsResponse, AyPaymentsUpdateCommissionPayload, AyPaymentsUpdateConnectionPayload, AyPaymentsUpdateCouponPayload, AyPaymentsUpdateCustomerPayload, AyPaymentsUpdateProductCategoryPayload, AyPaymentsUpdateProductPayload, AyPaymentsUpdateProjectCommissionPayload, AyPaymentsUpdateProjectPayload, AyPaymentsUpdateTenantPayload, AyPaymentsWebhookDeliveryListOptions, AyPaymentsWebhookDeliveriesResponse } from "./types.js";
3
3
  export declare class AYPaymentsClient {
4
4
  readonly api: AxiosInstance;
5
5
  readonly axios: AxiosInstance;
6
6
  readonly apiUrl: string;
7
7
  readonly options: Required<Pick<AyPaymentsClientOptions, "apiVersion" | "debug" | "timeout">> & AyPaymentsClientOptions;
8
8
  constructor(options?: AyPaymentsClientOptions);
9
+ language(language: AyPaymentsClientOptions["language"]): AYPaymentsClient;
10
+ idioma(language: AyPaymentsClientOptions["language"]): AYPaymentsClient;
9
11
  private request;
10
12
  private toApiError;
11
13
  raw: <T = unknown>(config: AxiosRequestConfig) => Promise<AyPaymentsApiResult<T>>;
@@ -85,14 +87,31 @@ export declare class AYPaymentsClient {
85
87
  }>>;
86
88
  deleteAccount: () => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
87
89
  };
90
+ i18n: {
91
+ languages: () => Promise<AyPaymentsApiResult<AyPaymentsLanguagesResponse>>;
92
+ };
88
93
  projects: {
89
94
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProjectListResponse>>;
90
95
  query: (query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProjectListResponse>>;
91
96
  getMany: (projectIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProjectListResponse>>;
92
97
  get: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
93
98
  create: (payload: AyPaymentsCreateProjectPayload) => Promise<AyPaymentsApiResult<AyPaymentsCreateProjectResponse>>;
99
+ createMany: (payloads: AyPaymentsCreateProjectPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
100
+ project: unknown;
101
+ created: boolean;
102
+ }>>>;
94
103
  update: (projectIdOrExternalId: string, payload: AyPaymentsUpdateProjectPayload) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
104
+ updateMany: (payloads: Array<AyPaymentsUpdateProjectPayload & {
105
+ id?: string;
106
+ projectId?: string;
107
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
108
+ project: unknown;
109
+ }>>>;
95
110
  delete: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
111
+ deleteMany: (projectIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
112
+ id: string;
113
+ deleted: boolean;
114
+ }>>>;
96
115
  commission: {
97
116
  get: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectCommissionResponse>>;
98
117
  update: (projectIdOrExternalId: string, payload: AyPaymentsUpdateProjectCommissionPayload) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
@@ -100,6 +119,7 @@ export declare class AYPaymentsClient {
100
119
  accounts: {
101
120
  oauth: (payload: AyPaymentsOAuthPayload) => Promise<AyPaymentsApiResult<AyPaymentsOAuthResponse>>;
102
121
  list: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectAccountsResponse>>;
122
+ health: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectAccountsHealthResponse>>;
103
123
  create: (projectIdOrExternalId: string, payload: AyPaymentsCreateConnectionPayload) => Promise<AyPaymentsApiResult<AyPaymentsConnectionResponse>>;
104
124
  update: (projectIdOrExternalId: string, connectionId: string, payload: AyPaymentsUpdateConnectionPayload) => Promise<AyPaymentsApiResult<AyPaymentsConnectionResponse>>;
105
125
  delete: (projectIdOrExternalId: string, connectionId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
@@ -115,39 +135,111 @@ export declare class AYPaymentsClient {
115
135
  getManyByProject: (projectIdOrExternalId: string, productIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductsResponse>>;
116
136
  getByProject: (projectIdOrExternalId: string, productId: string) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
117
137
  create: (projectIdOrExternalId: string, payload: AyPaymentsCreateProductPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
138
+ createMany: (projectIdOrExternalId: string, payloads: AyPaymentsCreateProductPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
139
+ product: unknown;
140
+ }>>>;
118
141
  createGlobal: (payload: AyPaymentsCreateProductPayload & {
119
142
  projectId: string;
120
143
  }) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
144
+ createManyGlobal: (payloads: Array<AyPaymentsCreateProductPayload & {
145
+ projectId: string;
146
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
147
+ product: unknown;
148
+ }>>>;
121
149
  update: (projectIdOrExternalId: string, productId: string, payload: AyPaymentsUpdateProductPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
150
+ updateMany: (projectIdOrExternalId: string, payloads: Array<AyPaymentsUpdateProductPayload & {
151
+ id?: string;
152
+ productId?: string;
153
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
154
+ product: unknown;
155
+ }>>>;
122
156
  updateGlobal: (productId: string, payload: AyPaymentsUpdateProductPayload & {
123
157
  projectId?: string;
124
158
  }) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
159
+ updateManyGlobal: (payloads: Array<AyPaymentsUpdateProductPayload & {
160
+ id?: string;
161
+ productId?: string;
162
+ projectId?: string;
163
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
164
+ product: unknown;
165
+ }>>>;
125
166
  delete: (projectIdOrExternalId: string, productId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
167
+ deleteMany: (projectIdOrExternalId: string, productIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
168
+ id: string;
169
+ deleted: boolean;
170
+ }>>>;
126
171
  deleteGlobal: (productId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
172
+ deleteManyGlobal: (productIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
173
+ id: string;
174
+ deleted: boolean;
175
+ }>>>;
176
+ };
177
+ productCategories: {
178
+ list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
179
+ query: (query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
180
+ getMany: (categoryIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
181
+ get: (categoryId: string) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
182
+ listByProject: (projectIdOrExternalId: string, options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
183
+ queryByProject: (projectIdOrExternalId: string, query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
184
+ getManyByProject: (projectIdOrExternalId: string, categoryIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
185
+ create: (projectIdOrExternalId: string, payload: AyPaymentsCreateProductCategoryPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
186
+ createMany: (projectIdOrExternalId: string, payloads: AyPaymentsCreateProductCategoryPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
187
+ category: unknown;
188
+ }>>>;
189
+ update: (projectIdOrExternalId: string, categoryId: string, payload: AyPaymentsUpdateProductCategoryPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
190
+ updateMany: (projectIdOrExternalId: string, payloads: Array<AyPaymentsUpdateProductCategoryPayload & {
191
+ id?: string;
192
+ categoryId?: string;
193
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
194
+ category: unknown;
195
+ }>>>;
196
+ delete: (projectIdOrExternalId: string, categoryId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
197
+ deleteMany: (projectIdOrExternalId: string, categoryIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
198
+ id: string;
199
+ deleted: boolean;
200
+ }>>>;
127
201
  };
128
202
  coupons: {
129
203
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
130
204
  query: (query: AyPaymentsCouponQueryInput | AyPaymentsCouponQueryInput[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
131
205
  getMany: (couponIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
132
206
  create: (payload: AyPaymentsCreateCouponPayload) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
207
+ createMany: (payloads: AyPaymentsCreateCouponPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
208
+ coupon: unknown;
209
+ }>>>;
133
210
  get: (couponId: string) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
134
211
  update: (couponId: string, payload: AyPaymentsUpdateCouponPayload) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
212
+ updateMany: (payloads: Array<AyPaymentsUpdateCouponPayload & {
213
+ id?: string;
214
+ couponId?: string;
215
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
216
+ coupon: unknown;
217
+ }>>>;
135
218
  delete: (couponId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
219
+ deleteMany: (couponIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
220
+ id: string;
221
+ deleted: boolean;
222
+ coupon: unknown;
223
+ }>>>;
136
224
  };
137
225
  checkouts: {
138
226
  calculate: (payload: AyPaymentsCalculateCheckoutPayload) => Promise<AyPaymentsApiResult<AyPaymentsCheckoutCalculationResponse>>;
139
- create: (payload: AyPaymentsCheckoutPayload) => Promise<AyPaymentsApiResult<AyPaymentsCreateCheckoutResponse>>;
227
+ calculateMany: (payloads: AyPaymentsCalculateCheckoutPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
228
+ checkout: unknown;
229
+ }>>>;
230
+ create: (payload: AyPaymentsCheckoutPayload, options?: AyPaymentsRequestOptions) => Promise<AyPaymentsApiResult<AyPaymentsCreateCheckoutResponse>>;
140
231
  };
141
232
  orders: {
142
233
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
143
234
  query: (query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
144
235
  getMany: (orderIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
145
236
  get: (orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse>>;
237
+ timeline: (orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderTimelineResponse>>;
146
238
  listByProject: (projectIdOrExternalId: string, options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
147
239
  queryByProject: (projectIdOrExternalId: string, query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
148
240
  getManyByProject: (projectIdOrExternalId: string, orderIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
149
241
  getByProject: (projectIdOrExternalId: string, orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse>>;
150
- createManual: (projectIdOrExternalId: string, payload: AyPaymentsCreateManualOrderPayload) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse & {
242
+ createManual: (projectIdOrExternalId: string, payload: AyPaymentsCreateManualOrderPayload, options?: AyPaymentsRequestOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse & {
151
243
  created: boolean;
152
244
  checkoutUrl?: string;
153
245
  }>>;
@@ -158,7 +250,21 @@ export declare class AYPaymentsClient {
158
250
  getMany: (customerIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCustomersResponse>>;
159
251
  get: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
160
252
  create: (payload: AyPaymentsCreateCustomerPayload) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
253
+ createMany: (payloads: AyPaymentsCreateCustomerPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
254
+ client: unknown;
255
+ reused?: boolean;
256
+ }>>>;
257
+ updateMany: (payloads: Array<AyPaymentsUpdateCustomerPayload & {
258
+ id?: string;
259
+ clientId?: string;
260
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
261
+ client: unknown;
262
+ }>>>;
161
263
  delete: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
264
+ deleteMany: (customerIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
265
+ id: string;
266
+ deleted: boolean;
267
+ }>>>;
162
268
  };
163
269
  admins: {
164
270
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsAdminsResponse>>;
@@ -173,6 +279,7 @@ export declare class AYPaymentsClient {
173
279
  create: (payload: AyPaymentsCreateTenantPayload) => Promise<AyPaymentsApiResult<{
174
280
  tenant: AyPaymentsTenant;
175
281
  }>>;
282
+ update: (tenantId: string, payload: AyPaymentsUpdateTenantPayload) => Promise<AyPaymentsApiResult<AyPaymentsTenantResponse>>;
176
283
  delete: (tenantId: string, options?: {
177
284
  cascade?: boolean;
178
285
  }) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
@@ -183,6 +290,7 @@ export declare class AYPaymentsClient {
183
290
  create: (payload: AyPaymentsCreateTenantPayload) => Promise<AyPaymentsApiResult<{
184
291
  tenant: AyPaymentsTenant;
185
292
  }>>;
293
+ update: (tenantId: string, payload: AyPaymentsUpdateTenantPayload) => Promise<AyPaymentsApiResult<AyPaymentsTenantResponse>>;
186
294
  delete: (tenantId: string, options?: {
187
295
  cascade?: boolean;
188
296
  }) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
@@ -208,6 +316,18 @@ export declare class AYPaymentsClient {
208
316
  deleted: number;
209
317
  }>>;
210
318
  };
319
+ system: {
320
+ health: () => Promise<AyPaymentsApiResult<AyPaymentsSystemHealthResponse>>;
321
+ connectedAccountsHealth: () => Promise<AyPaymentsApiResult<AyPaymentsConnectedAccountsHealthResponse>>;
322
+ refreshConnectedAccount: (projectId: string, connectionId: string) => Promise<AyPaymentsApiResult<AyPaymentsConnectedAccountRefreshResponse>>;
323
+ };
324
+ webhooks: {
325
+ listDeliveries: (options?: AyPaymentsPaginationQuery | AyPaymentsWebhookDeliveryListOptions) => Promise<AyPaymentsApiResult<AyPaymentsWebhookDeliveriesResponse>>;
326
+ retryMany: (payload: AyPaymentsRetryWebhookDeliveriesPayload) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveriesResponse>>;
327
+ retryOwnDelivery: (deliveryId: string) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveryResponse>>;
328
+ retryPending: (limit?: number) => Promise<AyPaymentsApiResult<AyPaymentsRetryPendingWebhookDeliveriesResponse>>;
329
+ retryDelivery: (deliveryId: string) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveryResponse>>;
330
+ };
211
331
  };
212
332
  auth: {
213
333
  admin: {
@@ -261,6 +381,10 @@ export declare class AYPaymentsClient {
261
381
  }>>;
262
382
  };
263
383
  };
384
+ i18n: {
385
+ languages: () => Promise<AyPaymentsApiResult<AyPaymentsLanguagesResponse>>;
386
+ };
387
+ languages: () => Promise<AyPaymentsApiResult<AyPaymentsLanguagesResponse>>;
264
388
  profile: {
265
389
  orders: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProfileOrdersResponse>>;
266
390
  update: (payload: {
@@ -285,8 +409,22 @@ export declare class AYPaymentsClient {
285
409
  getMany: (projectIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProjectListResponse>>;
286
410
  get: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
287
411
  create: (payload: AyPaymentsCreateProjectPayload) => Promise<AyPaymentsApiResult<AyPaymentsCreateProjectResponse>>;
412
+ createMany: (payloads: AyPaymentsCreateProjectPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
413
+ project: unknown;
414
+ created: boolean;
415
+ }>>>;
288
416
  update: (projectIdOrExternalId: string, payload: AyPaymentsUpdateProjectPayload) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
417
+ updateMany: (payloads: Array<AyPaymentsUpdateProjectPayload & {
418
+ id?: string;
419
+ projectId?: string;
420
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
421
+ project: unknown;
422
+ }>>>;
289
423
  delete: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
424
+ deleteMany: (projectIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
425
+ id: string;
426
+ deleted: boolean;
427
+ }>>>;
290
428
  commission: {
291
429
  get: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectCommissionResponse>>;
292
430
  update: (projectIdOrExternalId: string, payload: AyPaymentsUpdateProjectCommissionPayload) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
@@ -294,6 +432,7 @@ export declare class AYPaymentsClient {
294
432
  accounts: {
295
433
  oauth: (payload: AyPaymentsOAuthPayload) => Promise<AyPaymentsApiResult<AyPaymentsOAuthResponse>>;
296
434
  list: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectAccountsResponse>>;
435
+ health: (projectIdOrExternalId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectAccountsHealthResponse>>;
297
436
  create: (projectIdOrExternalId: string, payload: AyPaymentsCreateConnectionPayload) => Promise<AyPaymentsApiResult<AyPaymentsConnectionResponse>>;
298
437
  update: (projectIdOrExternalId: string, connectionId: string, payload: AyPaymentsUpdateConnectionPayload) => Promise<AyPaymentsApiResult<AyPaymentsConnectionResponse>>;
299
438
  delete: (projectIdOrExternalId: string, connectionId: string) => Promise<AyPaymentsApiResult<AyPaymentsProjectResponse>>;
@@ -309,39 +448,111 @@ export declare class AYPaymentsClient {
309
448
  getManyByProject: (projectIdOrExternalId: string, productIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductsResponse>>;
310
449
  getByProject: (projectIdOrExternalId: string, productId: string) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
311
450
  create: (projectIdOrExternalId: string, payload: AyPaymentsCreateProductPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
451
+ createMany: (projectIdOrExternalId: string, payloads: AyPaymentsCreateProductPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
452
+ product: unknown;
453
+ }>>>;
312
454
  createGlobal: (payload: AyPaymentsCreateProductPayload & {
313
455
  projectId: string;
314
456
  }) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
457
+ createManyGlobal: (payloads: Array<AyPaymentsCreateProductPayload & {
458
+ projectId: string;
459
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
460
+ product: unknown;
461
+ }>>>;
315
462
  update: (projectIdOrExternalId: string, productId: string, payload: AyPaymentsUpdateProductPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
463
+ updateMany: (projectIdOrExternalId: string, payloads: Array<AyPaymentsUpdateProductPayload & {
464
+ id?: string;
465
+ productId?: string;
466
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
467
+ product: unknown;
468
+ }>>>;
316
469
  updateGlobal: (productId: string, payload: AyPaymentsUpdateProductPayload & {
317
470
  projectId?: string;
318
471
  }) => Promise<AyPaymentsApiResult<AyPaymentsProductResponse>>;
472
+ updateManyGlobal: (payloads: Array<AyPaymentsUpdateProductPayload & {
473
+ id?: string;
474
+ productId?: string;
475
+ projectId?: string;
476
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
477
+ product: unknown;
478
+ }>>>;
319
479
  delete: (projectIdOrExternalId: string, productId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
480
+ deleteMany: (projectIdOrExternalId: string, productIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
481
+ id: string;
482
+ deleted: boolean;
483
+ }>>>;
320
484
  deleteGlobal: (productId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
485
+ deleteManyGlobal: (productIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
486
+ id: string;
487
+ deleted: boolean;
488
+ }>>>;
489
+ };
490
+ productCategories: {
491
+ list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
492
+ query: (query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
493
+ getMany: (categoryIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
494
+ get: (categoryId: string) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
495
+ listByProject: (projectIdOrExternalId: string, options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
496
+ queryByProject: (projectIdOrExternalId: string, query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
497
+ getManyByProject: (projectIdOrExternalId: string, categoryIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoriesResponse>>;
498
+ create: (projectIdOrExternalId: string, payload: AyPaymentsCreateProductCategoryPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
499
+ createMany: (projectIdOrExternalId: string, payloads: AyPaymentsCreateProductCategoryPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
500
+ category: unknown;
501
+ }>>>;
502
+ update: (projectIdOrExternalId: string, categoryId: string, payload: AyPaymentsUpdateProductCategoryPayload) => Promise<AyPaymentsApiResult<AyPaymentsProductCategoryResponse>>;
503
+ updateMany: (projectIdOrExternalId: string, payloads: Array<AyPaymentsUpdateProductCategoryPayload & {
504
+ id?: string;
505
+ categoryId?: string;
506
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
507
+ category: unknown;
508
+ }>>>;
509
+ delete: (projectIdOrExternalId: string, categoryId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
510
+ deleteMany: (projectIdOrExternalId: string, categoryIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
511
+ id: string;
512
+ deleted: boolean;
513
+ }>>>;
321
514
  };
322
515
  coupons: {
323
516
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
324
517
  query: (query: AyPaymentsCouponQueryInput | AyPaymentsCouponQueryInput[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
325
518
  getMany: (couponIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCouponsResponse>>;
326
519
  create: (payload: AyPaymentsCreateCouponPayload) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
520
+ createMany: (payloads: AyPaymentsCreateCouponPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
521
+ coupon: unknown;
522
+ }>>>;
327
523
  get: (couponId: string) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
328
524
  update: (couponId: string, payload: AyPaymentsUpdateCouponPayload) => Promise<AyPaymentsApiResult<AyPaymentsCouponResponse>>;
525
+ updateMany: (payloads: Array<AyPaymentsUpdateCouponPayload & {
526
+ id?: string;
527
+ couponId?: string;
528
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
529
+ coupon: unknown;
530
+ }>>>;
329
531
  delete: (couponId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
532
+ deleteMany: (couponIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
533
+ id: string;
534
+ deleted: boolean;
535
+ coupon: unknown;
536
+ }>>>;
330
537
  };
331
538
  checkouts: {
332
539
  calculate: (payload: AyPaymentsCalculateCheckoutPayload) => Promise<AyPaymentsApiResult<AyPaymentsCheckoutCalculationResponse>>;
333
- create: (payload: AyPaymentsCheckoutPayload) => Promise<AyPaymentsApiResult<AyPaymentsCreateCheckoutResponse>>;
540
+ calculateMany: (payloads: AyPaymentsCalculateCheckoutPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
541
+ checkout: unknown;
542
+ }>>>;
543
+ create: (payload: AyPaymentsCheckoutPayload, options?: AyPaymentsRequestOptions) => Promise<AyPaymentsApiResult<AyPaymentsCreateCheckoutResponse>>;
334
544
  };
335
545
  orders: {
336
546
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
337
547
  query: (query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
338
548
  getMany: (orderIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
339
549
  get: (orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse>>;
550
+ timeline: (orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderTimelineResponse>>;
340
551
  listByProject: (projectIdOrExternalId: string, options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
341
552
  queryByProject: (projectIdOrExternalId: string, query: AyPaymentsQuery, options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
342
553
  getManyByProject: (projectIdOrExternalId: string, orderIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrdersResponse>>;
343
554
  getByProject: (projectIdOrExternalId: string, orderId: string) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse>>;
344
- createManual: (projectIdOrExternalId: string, payload: AyPaymentsCreateManualOrderPayload) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse & {
555
+ createManual: (projectIdOrExternalId: string, payload: AyPaymentsCreateManualOrderPayload, options?: AyPaymentsRequestOptions) => Promise<AyPaymentsApiResult<AyPaymentsOrderResponse & {
345
556
  created: boolean;
346
557
  checkoutUrl?: string;
347
558
  }>>;
@@ -352,7 +563,21 @@ export declare class AYPaymentsClient {
352
563
  getMany: (customerIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCustomersResponse>>;
353
564
  get: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
354
565
  create: (payload: AyPaymentsCreateCustomerPayload) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
566
+ createMany: (payloads: AyPaymentsCreateCustomerPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
567
+ client: unknown;
568
+ reused?: boolean;
569
+ }>>>;
570
+ updateMany: (payloads: Array<AyPaymentsUpdateCustomerPayload & {
571
+ id?: string;
572
+ clientId?: string;
573
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
574
+ client: unknown;
575
+ }>>>;
355
576
  delete: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
577
+ deleteMany: (customerIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
578
+ id: string;
579
+ deleted: boolean;
580
+ }>>>;
356
581
  };
357
582
  clients: {
358
583
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsCustomersResponse>>;
@@ -360,7 +585,21 @@ export declare class AYPaymentsClient {
360
585
  getMany: (customerIds: string[], options?: AyPaymentsPaginationQuery | AyPaymentsQueryOptions) => Promise<AyPaymentsApiResult<AyPaymentsCustomersResponse>>;
361
586
  get: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
362
587
  create: (payload: AyPaymentsCreateCustomerPayload) => Promise<AyPaymentsApiResult<AyPaymentsCustomerResponse>>;
588
+ createMany: (payloads: AyPaymentsCreateCustomerPayload[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
589
+ client: unknown;
590
+ reused?: boolean;
591
+ }>>>;
592
+ updateMany: (payloads: Array<AyPaymentsUpdateCustomerPayload & {
593
+ id?: string;
594
+ clientId?: string;
595
+ }>, options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
596
+ client: unknown;
597
+ }>>>;
363
598
  delete: (customerId: string) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
599
+ deleteMany: (customerIds: string[], options?: AyPaymentsBatchOptions) => Promise<AyPaymentsApiResult<AyPaymentsBatchResponse<{
600
+ id: string;
601
+ deleted: boolean;
602
+ }>>>;
364
603
  };
365
604
  admins: {
366
605
  list: (options?: AyPaymentsPaginationQuery | AyPaymentsListOptions) => Promise<AyPaymentsApiResult<AyPaymentsAdminsResponse>>;
@@ -375,6 +614,7 @@ export declare class AYPaymentsClient {
375
614
  create: (payload: AyPaymentsCreateTenantPayload) => Promise<AyPaymentsApiResult<{
376
615
  tenant: AyPaymentsTenant;
377
616
  }>>;
617
+ update: (tenantId: string, payload: AyPaymentsUpdateTenantPayload) => Promise<AyPaymentsApiResult<AyPaymentsTenantResponse>>;
378
618
  delete: (tenantId: string, options?: {
379
619
  cascade?: boolean;
380
620
  }) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
@@ -385,6 +625,7 @@ export declare class AYPaymentsClient {
385
625
  create: (payload: AyPaymentsCreateTenantPayload) => Promise<AyPaymentsApiResult<{
386
626
  tenant: AyPaymentsTenant;
387
627
  }>>;
628
+ update: (tenantId: string, payload: AyPaymentsUpdateTenantPayload) => Promise<AyPaymentsApiResult<AyPaymentsTenantResponse>>;
388
629
  delete: (tenantId: string, options?: {
389
630
  cascade?: boolean;
390
631
  }) => Promise<AyPaymentsApiResult<AyPaymentsDeleteResponse>>;
@@ -410,6 +651,18 @@ export declare class AYPaymentsClient {
410
651
  deleted: number;
411
652
  }>>;
412
653
  };
654
+ system: {
655
+ health: () => Promise<AyPaymentsApiResult<AyPaymentsSystemHealthResponse>>;
656
+ connectedAccountsHealth: () => Promise<AyPaymentsApiResult<AyPaymentsConnectedAccountsHealthResponse>>;
657
+ refreshConnectedAccount: (projectId: string, connectionId: string) => Promise<AyPaymentsApiResult<AyPaymentsConnectedAccountRefreshResponse>>;
658
+ };
659
+ webhooks: {
660
+ listDeliveries: (options?: AyPaymentsPaginationQuery | AyPaymentsWebhookDeliveryListOptions) => Promise<AyPaymentsApiResult<AyPaymentsWebhookDeliveriesResponse>>;
661
+ retryMany: (payload: AyPaymentsRetryWebhookDeliveriesPayload) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveriesResponse>>;
662
+ retryOwnDelivery: (deliveryId: string) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveryResponse>>;
663
+ retryPending: (limit?: number) => Promise<AyPaymentsApiResult<AyPaymentsRetryPendingWebhookDeliveriesResponse>>;
664
+ retryDelivery: (deliveryId: string) => Promise<AyPaymentsApiResult<AyPaymentsRetryWebhookDeliveryResponse>>;
665
+ };
413
666
  isAuthenticated(): boolean;
414
667
  }
415
668
  export declare function createAYPaymentsClient(options?: AyPaymentsClientOptions): AYPaymentsClient;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../lib/client.ts"],"names":[],"mappings":"AAAA,OAAc,EAAc,aAAa,EAAE,kBAAkB,EAAgB,MAAM,OAAO,CAAC;AAE3F,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EAExB,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,kCAAkC,EAClC,qCAAqC,EACrC,yBAAyB,EACzB,uBAAu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