@erp-galoper/types 1.0.1219 → 1.0.1221
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/openapi.ts +60 -57
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2818,24 +2818,7 @@ export interface paths {
|
|
|
2818
2818
|
* - paymentprovider : [ view ]
|
|
2819
2819
|
*/
|
|
2820
2820
|
get: operations["common_payment_method_views_list_payment_providers"];
|
|
2821
|
-
|
|
2822
|
-
* Update Payment Provider
|
|
2823
|
-
* @description Endpoint for update payment provider
|
|
2824
|
-
* Possible Responses:
|
|
2825
|
-
* - 200:
|
|
2826
|
-
* - paymentProviderUpdated
|
|
2827
|
-
* - 400:
|
|
2828
|
-
* - creditCardPaymentMethodNotFound
|
|
2829
|
-
* - 403:
|
|
2830
|
-
* - permissionDenied
|
|
2831
|
-
* - 404:
|
|
2832
|
-
* - paymentProviderDoesNotExist
|
|
2833
|
-
* - 500:
|
|
2834
|
-
* - internalServerError
|
|
2835
|
-
* - Permission Key:
|
|
2836
|
-
* - paymentprovider : [ change ]
|
|
2837
|
-
*/
|
|
2838
|
-
put: operations["common_payment_method_views_update_payment_provider"];
|
|
2821
|
+
put?: never;
|
|
2839
2822
|
/**
|
|
2840
2823
|
* Create Payment Provider
|
|
2841
2824
|
* @description Endpoint for create payment provider
|
|
@@ -2843,8 +2826,8 @@ export interface paths {
|
|
|
2843
2826
|
* - 201:
|
|
2844
2827
|
* - paymentProviderCreated
|
|
2845
2828
|
* - 400:
|
|
2846
|
-
* -
|
|
2847
|
-
* -
|
|
2829
|
+
* - paymentMethodNotFound
|
|
2830
|
+
* - unsupportedPaymentMethod
|
|
2848
2831
|
* - 403:
|
|
2849
2832
|
* - permissionDenied
|
|
2850
2833
|
* - 500:
|
|
@@ -2882,7 +2865,25 @@ export interface paths {
|
|
|
2882
2865
|
* - paymentprovider : [ view ]
|
|
2883
2866
|
*/
|
|
2884
2867
|
get: operations["common_payment_method_views_get_payment_provider"];
|
|
2885
|
-
|
|
2868
|
+
/**
|
|
2869
|
+
* Update Payment Provider
|
|
2870
|
+
* @description Endpoint for update payment provider
|
|
2871
|
+
* Possible Responses:
|
|
2872
|
+
* - 200:
|
|
2873
|
+
* - paymentProviderUpdated
|
|
2874
|
+
* - 400:
|
|
2875
|
+
* - paymentMethodNotFound
|
|
2876
|
+
* - unsupportedPaymentMethod
|
|
2877
|
+
* - 403:
|
|
2878
|
+
* - permissionDenied
|
|
2879
|
+
* - 404:
|
|
2880
|
+
* - paymentProviderDoesNotExist
|
|
2881
|
+
* - 500:
|
|
2882
|
+
* - internalServerError
|
|
2883
|
+
* - Permission Key:
|
|
2884
|
+
* - paymentprovider : [ change ]
|
|
2885
|
+
*/
|
|
2886
|
+
put: operations["common_payment_method_views_update_payment_provider"];
|
|
2886
2887
|
post?: never;
|
|
2887
2888
|
delete?: never;
|
|
2888
2889
|
options?: never;
|
|
@@ -26945,8 +26946,8 @@ export interface components {
|
|
|
26945
26946
|
CreateUpdatePaymentProviderSchema: {
|
|
26946
26947
|
/**
|
|
26947
26948
|
* Paymentmethod
|
|
26948
|
-
* @description -
|
|
26949
|
-
* -
|
|
26949
|
+
* @description - get payment methods using route /api/v1/payment_methods/
|
|
26950
|
+
* - supported payment methods: Credit Card, Third Party
|
|
26950
26951
|
*/
|
|
26951
26952
|
paymentMethod: number;
|
|
26952
26953
|
/** Providername */
|
|
@@ -31847,7 +31848,7 @@ export interface components {
|
|
|
31847
31848
|
id: string;
|
|
31848
31849
|
/** @description Payment method used for payment. */
|
|
31849
31850
|
paymentMethod: components["schemas"]["PosPaymentMethodSchema"];
|
|
31850
|
-
/** @description Payment provider information (
|
|
31851
|
+
/** @description Payment provider information (present for Credit Card or Third Party payments). */
|
|
31851
31852
|
paymentProvider?: components["schemas"]["PosPaymentProviderSchema"] | null;
|
|
31852
31853
|
/**
|
|
31853
31854
|
* Amount
|
|
@@ -31938,7 +31939,7 @@ export interface components {
|
|
|
31938
31939
|
* PosPaymentMethodChoices
|
|
31939
31940
|
* @enum {string}
|
|
31940
31941
|
*/
|
|
31941
|
-
PosPaymentMethodChoices: "Cash" | "Credit Card";
|
|
31942
|
+
PosPaymentMethodChoices: "Cash" | "Credit Card" | "Third Party";
|
|
31942
31943
|
/** PosPaymentMethodSchema */
|
|
31943
31944
|
PosPaymentMethodSchema: {
|
|
31944
31945
|
/** Id */
|
|
@@ -31946,7 +31947,7 @@ export interface components {
|
|
|
31946
31947
|
name: components["schemas"]["PosPaymentMethodChoices"];
|
|
31947
31948
|
/**
|
|
31948
31949
|
* Paymentproviders
|
|
31949
|
-
* @description List of payment providers for this payment method (e.g., for
|
|
31950
|
+
* @description List of payment providers for this payment method (e.g., for Credit Card or Third Party)
|
|
31950
31951
|
*/
|
|
31951
31952
|
paymentProviders?: components["schemas"]["PosPaymentProviderSchema"][] | null;
|
|
31952
31953
|
};
|
|
@@ -57849,7 +57850,7 @@ export interface operations {
|
|
|
57849
57850
|
common_payment_method_views_list_payment_providers: {
|
|
57850
57851
|
parameters: {
|
|
57851
57852
|
query?: {
|
|
57852
|
-
/** @description Search by provider name,
|
|
57853
|
+
/** @description Search by provider name, fee type, or payment method name */
|
|
57853
57854
|
search?: string;
|
|
57854
57855
|
};
|
|
57855
57856
|
header?: never;
|
|
@@ -57896,7 +57897,7 @@ export interface operations {
|
|
|
57896
57897
|
};
|
|
57897
57898
|
};
|
|
57898
57899
|
};
|
|
57899
|
-
|
|
57900
|
+
common_payment_method_views_create_payment_provider: {
|
|
57900
57901
|
parameters: {
|
|
57901
57902
|
query?: never;
|
|
57902
57903
|
header?: never;
|
|
@@ -57909,8 +57910,8 @@ export interface operations {
|
|
|
57909
57910
|
};
|
|
57910
57911
|
};
|
|
57911
57912
|
responses: {
|
|
57912
|
-
/** @description
|
|
57913
|
-
|
|
57913
|
+
/** @description Created */
|
|
57914
|
+
201: {
|
|
57914
57915
|
headers: {
|
|
57915
57916
|
[name: string]: unknown;
|
|
57916
57917
|
};
|
|
@@ -57936,15 +57937,6 @@ export interface operations {
|
|
|
57936
57937
|
"application/json": components["schemas"]["MessageResponse"];
|
|
57937
57938
|
};
|
|
57938
57939
|
};
|
|
57939
|
-
/** @description Not Found */
|
|
57940
|
-
404: {
|
|
57941
|
-
headers: {
|
|
57942
|
-
[name: string]: unknown;
|
|
57943
|
-
};
|
|
57944
|
-
content: {
|
|
57945
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
57946
|
-
};
|
|
57947
|
-
};
|
|
57948
57940
|
/** @description Internal Server Error */
|
|
57949
57941
|
500: {
|
|
57950
57942
|
headers: {
|
|
@@ -57956,39 +57948,37 @@ export interface operations {
|
|
|
57956
57948
|
};
|
|
57957
57949
|
};
|
|
57958
57950
|
};
|
|
57959
|
-
|
|
57951
|
+
common_payment_method_views_get_payment_provider: {
|
|
57960
57952
|
parameters: {
|
|
57961
57953
|
query?: never;
|
|
57962
57954
|
header?: never;
|
|
57963
|
-
path
|
|
57964
|
-
|
|
57965
|
-
};
|
|
57966
|
-
requestBody: {
|
|
57967
|
-
content: {
|
|
57968
|
-
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
57955
|
+
path: {
|
|
57956
|
+
id: number;
|
|
57969
57957
|
};
|
|
57958
|
+
cookie?: never;
|
|
57970
57959
|
};
|
|
57960
|
+
requestBody?: never;
|
|
57971
57961
|
responses: {
|
|
57972
|
-
/** @description
|
|
57973
|
-
|
|
57962
|
+
/** @description OK */
|
|
57963
|
+
200: {
|
|
57974
57964
|
headers: {
|
|
57975
57965
|
[name: string]: unknown;
|
|
57976
57966
|
};
|
|
57977
57967
|
content: {
|
|
57978
|
-
"application/json": components["schemas"]["
|
|
57968
|
+
"application/json": components["schemas"]["PaymentProviderSchema"];
|
|
57979
57969
|
};
|
|
57980
57970
|
};
|
|
57981
|
-
/** @description
|
|
57982
|
-
|
|
57971
|
+
/** @description Forbidden */
|
|
57972
|
+
403: {
|
|
57983
57973
|
headers: {
|
|
57984
57974
|
[name: string]: unknown;
|
|
57985
57975
|
};
|
|
57986
57976
|
content: {
|
|
57987
|
-
"application/json": components["schemas"]["
|
|
57977
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
57988
57978
|
};
|
|
57989
57979
|
};
|
|
57990
|
-
/** @description
|
|
57991
|
-
|
|
57980
|
+
/** @description Not Found */
|
|
57981
|
+
404: {
|
|
57992
57982
|
headers: {
|
|
57993
57983
|
[name: string]: unknown;
|
|
57994
57984
|
};
|
|
@@ -58007,7 +57997,7 @@ export interface operations {
|
|
|
58007
57997
|
};
|
|
58008
57998
|
};
|
|
58009
57999
|
};
|
|
58010
|
-
|
|
58000
|
+
common_payment_method_views_update_payment_provider: {
|
|
58011
58001
|
parameters: {
|
|
58012
58002
|
query?: never;
|
|
58013
58003
|
header?: never;
|
|
@@ -58016,7 +58006,11 @@ export interface operations {
|
|
|
58016
58006
|
};
|
|
58017
58007
|
cookie?: never;
|
|
58018
58008
|
};
|
|
58019
|
-
requestBody
|
|
58009
|
+
requestBody: {
|
|
58010
|
+
content: {
|
|
58011
|
+
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
58012
|
+
};
|
|
58013
|
+
};
|
|
58020
58014
|
responses: {
|
|
58021
58015
|
/** @description OK */
|
|
58022
58016
|
200: {
|
|
@@ -58024,7 +58018,16 @@ export interface operations {
|
|
|
58024
58018
|
[name: string]: unknown;
|
|
58025
58019
|
};
|
|
58026
58020
|
content: {
|
|
58027
|
-
"application/json": components["schemas"]["
|
|
58021
|
+
"application/json": components["schemas"]["PaymentProviderResponseSchema"];
|
|
58022
|
+
};
|
|
58023
|
+
};
|
|
58024
|
+
/** @description Bad Request */
|
|
58025
|
+
400: {
|
|
58026
|
+
headers: {
|
|
58027
|
+
[name: string]: unknown;
|
|
58028
|
+
};
|
|
58029
|
+
content: {
|
|
58030
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
58028
58031
|
};
|
|
58029
58032
|
};
|
|
58030
58033
|
/** @description Forbidden */
|