@deliverart/sdk-js-payment 1.2.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
2
2
  import { Paginated } from '@deliverart/sdk-js-global-types';
3
3
  import { z } from 'zod';
4
4
  import { AbstractApiRequest } from '@deliverart/sdk-js-core';
5
- import { AxiosResponse } from 'axios';
6
5
 
7
6
  declare const paymentSchema: z.ZodObject<{
8
7
  id: z.ZodString;
@@ -624,7 +623,7 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
624
623
  query?: GetPaymentConfigBankTransferListQueryParams;
625
624
  });
626
625
  getPath(): string;
627
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigBankTransfer>;
626
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigBankTransfer>;
628
627
  }
629
628
 
630
629
  declare const updatePaymentConfigBankTransferInputSchema: z.ZodObject<{
@@ -838,7 +837,7 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
838
837
  query?: GetPaymentConfigCashListQueryParams;
839
838
  });
840
839
  getPath(): string;
841
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigCash>;
840
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigCash>;
842
841
  }
843
842
 
844
843
  declare const createPaymentConfigCreditCardInputSchema: z.ZodObject<{
@@ -995,7 +994,7 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
995
994
  query?: GetPaymentConfigCreditCardListQueryParams;
996
995
  });
997
996
  getPath(): string;
998
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigCreditCard>;
997
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigCreditCard>;
999
998
  }
1000
999
 
1001
1000
  declare const deletePaymentConfigInputSchema: z.ZodUndefined;
@@ -1232,7 +1231,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
1232
1231
  query?: GetPaymentConfigsQueryParams;
1233
1232
  });
1234
1233
  getPath(): string;
1235
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfig>;
1234
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfig>;
1236
1235
  }
1237
1236
 
1238
1237
  declare const createPaymentConfigStripeInputSchema: z.ZodObject<{
@@ -1409,7 +1408,7 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
1409
1408
  query?: GetPaymentConfigStripeListQueryParams;
1410
1409
  });
1411
1410
  getPath(): string;
1412
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigStripe>;
1411
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigStripe>;
1413
1412
  }
1414
1413
 
1415
1414
  declare const updatePaymentConfigStripeInputSchema: z.ZodObject<{
@@ -1781,7 +1780,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
1781
1780
  query?: GetPaymentsQueryParams;
1782
1781
  });
1783
1782
  getPath(): string;
1784
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<Payment>;
1783
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Payment>;
1785
1784
  }
1786
1785
 
1787
1786
  type GetPaymentsForPaymentConfigQueryParams = PaymentQueryParams;
@@ -1921,7 +1920,7 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
1921
1920
  query?: GetPaymentsForPaymentConfigQueryParams;
1922
1921
  });
1923
1922
  getPath(): string;
1924
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<Payment>;
1923
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Payment>;
1925
1924
  }
1926
1925
 
1927
1926
  declare const updatePaymentInputSchema: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-type
2
2
  import { Paginated } from '@deliverart/sdk-js-global-types';
3
3
  import { z } from 'zod';
4
4
  import { AbstractApiRequest } from '@deliverart/sdk-js-core';
5
- import { AxiosResponse } from 'axios';
6
5
 
7
6
  declare const paymentSchema: z.ZodObject<{
8
7
  id: z.ZodString;
@@ -624,7 +623,7 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
624
623
  query?: GetPaymentConfigBankTransferListQueryParams;
625
624
  });
626
625
  getPath(): string;
627
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigBankTransfer>;
626
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigBankTransfer>;
628
627
  }
629
628
 
630
629
  declare const updatePaymentConfigBankTransferInputSchema: z.ZodObject<{
@@ -838,7 +837,7 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
838
837
  query?: GetPaymentConfigCashListQueryParams;
839
838
  });
840
839
  getPath(): string;
841
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigCash>;
840
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigCash>;
842
841
  }
843
842
 
844
843
  declare const createPaymentConfigCreditCardInputSchema: z.ZodObject<{
@@ -995,7 +994,7 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
995
994
  query?: GetPaymentConfigCreditCardListQueryParams;
996
995
  });
997
996
  getPath(): string;
998
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigCreditCard>;
997
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigCreditCard>;
999
998
  }
1000
999
 
1001
1000
  declare const deletePaymentConfigInputSchema: z.ZodUndefined;
@@ -1232,7 +1231,7 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
1232
1231
  query?: GetPaymentConfigsQueryParams;
1233
1232
  });
1234
1233
  getPath(): string;
1235
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfig>;
1234
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfig>;
1236
1235
  }
1237
1236
 
1238
1237
  declare const createPaymentConfigStripeInputSchema: z.ZodObject<{
@@ -1409,7 +1408,7 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
1409
1408
  query?: GetPaymentConfigStripeListQueryParams;
1410
1409
  });
1411
1410
  getPath(): string;
1412
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<PaymentConfigStripe>;
1411
+ parseResponse(data: unknown, rawResponse: Response): Paginated<PaymentConfigStripe>;
1413
1412
  }
1414
1413
 
1415
1414
  declare const updatePaymentConfigStripeInputSchema: z.ZodObject<{
@@ -1781,7 +1780,7 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
1781
1780
  query?: GetPaymentsQueryParams;
1782
1781
  });
1783
1782
  getPath(): string;
1784
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<Payment>;
1783
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Payment>;
1785
1784
  }
1786
1785
 
1787
1786
  type GetPaymentsForPaymentConfigQueryParams = PaymentQueryParams;
@@ -1921,7 +1920,7 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
1921
1920
  query?: GetPaymentsForPaymentConfigQueryParams;
1922
1921
  });
1923
1922
  getPath(): string;
1924
- parseResponse(data: unknown, rawResponse: AxiosResponse): Paginated<Payment>;
1923
+ parseResponse(data: unknown, rawResponse: Response): Paginated<Payment>;
1925
1924
  }
1926
1925
 
1927
1926
  declare const updatePaymentInputSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-payment",
3
3
  "description": "Deliverart JavaScript SDK for Payment Management",
4
- "version": "1.2.2",
4
+ "version": "2.0.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-core": "1.2.2",
22
- "@deliverart/sdk-js-global-types": "1.2.2",
23
- "@deliverart/sdk-js-point-of-sale": "1.2.2"
21
+ "@deliverart/sdk-js-core": "2.0.0",
22
+ "@deliverart/sdk-js-global-types": "2.0.0",
23
+ "@deliverart/sdk-js-point-of-sale": "2.0.0"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"