@erp-galoper/types 1.0.1169 → 1.0.1170
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 +284 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -2791,6 +2791,70 @@ export interface paths {
|
|
|
2791
2791
|
patch: operations["common_facility_views_update_facility"];
|
|
2792
2792
|
trace?: never;
|
|
2793
2793
|
};
|
|
2794
|
+
"/api/v1/payment-provider/": {
|
|
2795
|
+
parameters: {
|
|
2796
|
+
query?: never;
|
|
2797
|
+
header?: never;
|
|
2798
|
+
path?: never;
|
|
2799
|
+
cookie?: never;
|
|
2800
|
+
};
|
|
2801
|
+
/**
|
|
2802
|
+
* Get Payment Provider
|
|
2803
|
+
* @description Endpoint for get payment provider
|
|
2804
|
+
* Possible Responses:
|
|
2805
|
+
* - 200:
|
|
2806
|
+
* - PaymentProviderSchema
|
|
2807
|
+
* - 403:
|
|
2808
|
+
* - permissionDenied
|
|
2809
|
+
* - 404:
|
|
2810
|
+
* - paymentProviderDoesNotExist
|
|
2811
|
+
* - 500:
|
|
2812
|
+
* - internalServerError
|
|
2813
|
+
* - Permission Key:
|
|
2814
|
+
* - paymentprovider : [ view ]
|
|
2815
|
+
*/
|
|
2816
|
+
get: operations["common_payment_method_views_get_payment_provider"];
|
|
2817
|
+
/**
|
|
2818
|
+
* Update Payment Provider
|
|
2819
|
+
* @description Endpoint for update payment provider
|
|
2820
|
+
* Possible Responses:
|
|
2821
|
+
* - 200:
|
|
2822
|
+
* - paymentProviderUpdated
|
|
2823
|
+
* - 400:
|
|
2824
|
+
* - creditCardPaymentMethodNotFound
|
|
2825
|
+
* - 403:
|
|
2826
|
+
* - permissionDenied
|
|
2827
|
+
* - 404:
|
|
2828
|
+
* - paymentProviderDoesNotExist
|
|
2829
|
+
* - 500:
|
|
2830
|
+
* - internalServerError
|
|
2831
|
+
* - Permission Key:
|
|
2832
|
+
* - paymentprovider : [ change ]
|
|
2833
|
+
*/
|
|
2834
|
+
put: operations["common_payment_method_views_update_payment_provider"];
|
|
2835
|
+
/**
|
|
2836
|
+
* Create Payment Provider
|
|
2837
|
+
* @description Endpoint for create payment provider
|
|
2838
|
+
* Possible Responses:
|
|
2839
|
+
* - 201:
|
|
2840
|
+
* - paymentProviderCreated
|
|
2841
|
+
* - 400:
|
|
2842
|
+
* - creditCardPaymentMethodNotFound
|
|
2843
|
+
* - paymentProviderAlreadyExists
|
|
2844
|
+
* - 403:
|
|
2845
|
+
* - permissionDenied
|
|
2846
|
+
* - 500:
|
|
2847
|
+
* - internalServerError
|
|
2848
|
+
* - Permission Key:
|
|
2849
|
+
* - paymentprovider : [ add ]
|
|
2850
|
+
*/
|
|
2851
|
+
post: operations["common_payment_method_views_create_payment_provider"];
|
|
2852
|
+
delete?: never;
|
|
2853
|
+
options?: never;
|
|
2854
|
+
head?: never;
|
|
2855
|
+
patch?: never;
|
|
2856
|
+
trace?: never;
|
|
2857
|
+
};
|
|
2794
2858
|
"/api/v1/payment_methods/": {
|
|
2795
2859
|
parameters: {
|
|
2796
2860
|
query?: never;
|
|
@@ -21317,7 +21381,7 @@ export interface components {
|
|
|
21317
21381
|
* BasePermissionsSchema_Sales_SalespricelistEnum
|
|
21318
21382
|
* @enum {string}
|
|
21319
21383
|
*/
|
|
21320
|
-
BasePermissionsSchema_Sales_SalespricelistEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
|
|
21384
|
+
BasePermissionsSchema_Sales_SalespricelistEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "migratetopos" | "resettodraft" | "view";
|
|
21321
21385
|
/**
|
|
21322
21386
|
* BasePermissionsSchema_Sales_SalesquotationEnum
|
|
21323
21387
|
* @enum {string}
|
|
@@ -21822,6 +21886,12 @@ export interface components {
|
|
|
21822
21886
|
* @default []
|
|
21823
21887
|
*/
|
|
21824
21888
|
paymentmethod: components["schemas"]["BasePermissionsSchema_Settings_Miscellaneous_PaymentmethodEnum"][];
|
|
21889
|
+
/**
|
|
21890
|
+
* Paymentprovider
|
|
21891
|
+
* @description paymentprovider actions
|
|
21892
|
+
* @default []
|
|
21893
|
+
*/
|
|
21894
|
+
paymentprovider: components["schemas"]["BasePermissionsSchema_Settings_Miscellaneous_PaymentproviderEnum"][];
|
|
21825
21895
|
/**
|
|
21826
21896
|
* Reason
|
|
21827
21897
|
* @description reason actions
|
|
@@ -21922,6 +21992,11 @@ export interface components {
|
|
|
21922
21992
|
* @constant
|
|
21923
21993
|
*/
|
|
21924
21994
|
BasePermissionsSchema_Settings_Miscellaneous_PaymentmethodEnum: "view";
|
|
21995
|
+
/**
|
|
21996
|
+
* BasePermissionsSchema_Settings_Miscellaneous_PaymentproviderEnum
|
|
21997
|
+
* @enum {string}
|
|
21998
|
+
*/
|
|
21999
|
+
BasePermissionsSchema_Settings_Miscellaneous_PaymentproviderEnum: "add" | "change" | "delete" | "view";
|
|
21925
22000
|
/**
|
|
21926
22001
|
* BasePermissionsSchema_Settings_Miscellaneous_ReasonEnum
|
|
21927
22002
|
* @enum {string}
|
|
@@ -26144,6 +26219,56 @@ export interface components {
|
|
|
26144
26219
|
name: string;
|
|
26145
26220
|
branch: components["schemas"]["BranchInfo"];
|
|
26146
26221
|
};
|
|
26222
|
+
/**
|
|
26223
|
+
* PaymentProviderFeeTypeEnum
|
|
26224
|
+
* @enum {string}
|
|
26225
|
+
*/
|
|
26226
|
+
PaymentProviderFeeTypeEnum: "embedded" | "surcharge";
|
|
26227
|
+
/** PaymentProviderResponseSchema */
|
|
26228
|
+
PaymentProviderResponseSchema: {
|
|
26229
|
+
/** Code */
|
|
26230
|
+
code: string;
|
|
26231
|
+
/** Message */
|
|
26232
|
+
message: string;
|
|
26233
|
+
data: components["schemas"]["PaymentProviderSchema"];
|
|
26234
|
+
};
|
|
26235
|
+
/** PaymentProviderSchema */
|
|
26236
|
+
PaymentProviderSchema: {
|
|
26237
|
+
/**
|
|
26238
|
+
* Datecreated
|
|
26239
|
+
* Format: date-time
|
|
26240
|
+
*/
|
|
26241
|
+
dateCreated: string;
|
|
26242
|
+
/** Datemodified */
|
|
26243
|
+
dateModified: string | null;
|
|
26244
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
26245
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
26246
|
+
/** Id */
|
|
26247
|
+
id: number;
|
|
26248
|
+
/** Providername */
|
|
26249
|
+
providerName: string;
|
|
26250
|
+
feeType: components["schemas"]["PaymentProviderFeeTypeEnum"];
|
|
26251
|
+
/** Feepercentage */
|
|
26252
|
+
feePercentage: number;
|
|
26253
|
+
};
|
|
26254
|
+
/** CreateUpdatePaymentProviderSchema */
|
|
26255
|
+
CreateUpdatePaymentProviderSchema: {
|
|
26256
|
+
/**
|
|
26257
|
+
* Paymentmethod
|
|
26258
|
+
* @description - This field should be disabled
|
|
26259
|
+
* - get credit card payment method using route /api/v1/payment_methods/ and filter by name equals {Credit Card}
|
|
26260
|
+
*/
|
|
26261
|
+
paymentMethod: number;
|
|
26262
|
+
/** Providername */
|
|
26263
|
+
providerName: string;
|
|
26264
|
+
/**
|
|
26265
|
+
* @description - embedded: fee is included in the amount charged to the customer
|
|
26266
|
+
* - surcharge: fee is added on top of the amount charged to the customer
|
|
26267
|
+
*/
|
|
26268
|
+
feeType: components["schemas"]["PaymentProviderFeeTypeEnum"];
|
|
26269
|
+
/** Feepercentage */
|
|
26270
|
+
feePercentage: number;
|
|
26271
|
+
};
|
|
26147
26272
|
/** ListPaymentMethod */
|
|
26148
26273
|
ListPaymentMethod: {
|
|
26149
26274
|
/** Id */
|
|
@@ -56620,6 +56745,164 @@ export interface operations {
|
|
|
56620
56745
|
};
|
|
56621
56746
|
};
|
|
56622
56747
|
};
|
|
56748
|
+
common_payment_method_views_get_payment_provider: {
|
|
56749
|
+
parameters: {
|
|
56750
|
+
query?: never;
|
|
56751
|
+
header?: never;
|
|
56752
|
+
path?: never;
|
|
56753
|
+
cookie?: never;
|
|
56754
|
+
};
|
|
56755
|
+
requestBody?: never;
|
|
56756
|
+
responses: {
|
|
56757
|
+
/** @description OK */
|
|
56758
|
+
200: {
|
|
56759
|
+
headers: {
|
|
56760
|
+
[name: string]: unknown;
|
|
56761
|
+
};
|
|
56762
|
+
content: {
|
|
56763
|
+
"application/json": components["schemas"]["PaymentProviderSchema"];
|
|
56764
|
+
};
|
|
56765
|
+
};
|
|
56766
|
+
/** @description Forbidden */
|
|
56767
|
+
403: {
|
|
56768
|
+
headers: {
|
|
56769
|
+
[name: string]: unknown;
|
|
56770
|
+
};
|
|
56771
|
+
content: {
|
|
56772
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56773
|
+
};
|
|
56774
|
+
};
|
|
56775
|
+
/** @description Not Found */
|
|
56776
|
+
404: {
|
|
56777
|
+
headers: {
|
|
56778
|
+
[name: string]: unknown;
|
|
56779
|
+
};
|
|
56780
|
+
content: {
|
|
56781
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56782
|
+
};
|
|
56783
|
+
};
|
|
56784
|
+
/** @description Internal Server Error */
|
|
56785
|
+
500: {
|
|
56786
|
+
headers: {
|
|
56787
|
+
[name: string]: unknown;
|
|
56788
|
+
};
|
|
56789
|
+
content: {
|
|
56790
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56791
|
+
};
|
|
56792
|
+
};
|
|
56793
|
+
};
|
|
56794
|
+
};
|
|
56795
|
+
common_payment_method_views_update_payment_provider: {
|
|
56796
|
+
parameters: {
|
|
56797
|
+
query?: never;
|
|
56798
|
+
header?: never;
|
|
56799
|
+
path?: never;
|
|
56800
|
+
cookie?: never;
|
|
56801
|
+
};
|
|
56802
|
+
requestBody: {
|
|
56803
|
+
content: {
|
|
56804
|
+
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
56805
|
+
};
|
|
56806
|
+
};
|
|
56807
|
+
responses: {
|
|
56808
|
+
/** @description OK */
|
|
56809
|
+
200: {
|
|
56810
|
+
headers: {
|
|
56811
|
+
[name: string]: unknown;
|
|
56812
|
+
};
|
|
56813
|
+
content: {
|
|
56814
|
+
"application/json": components["schemas"]["PaymentProviderResponseSchema"];
|
|
56815
|
+
};
|
|
56816
|
+
};
|
|
56817
|
+
/** @description Bad Request */
|
|
56818
|
+
400: {
|
|
56819
|
+
headers: {
|
|
56820
|
+
[name: string]: unknown;
|
|
56821
|
+
};
|
|
56822
|
+
content: {
|
|
56823
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
56824
|
+
};
|
|
56825
|
+
};
|
|
56826
|
+
/** @description Forbidden */
|
|
56827
|
+
403: {
|
|
56828
|
+
headers: {
|
|
56829
|
+
[name: string]: unknown;
|
|
56830
|
+
};
|
|
56831
|
+
content: {
|
|
56832
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56833
|
+
};
|
|
56834
|
+
};
|
|
56835
|
+
/** @description Not Found */
|
|
56836
|
+
404: {
|
|
56837
|
+
headers: {
|
|
56838
|
+
[name: string]: unknown;
|
|
56839
|
+
};
|
|
56840
|
+
content: {
|
|
56841
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56842
|
+
};
|
|
56843
|
+
};
|
|
56844
|
+
/** @description Internal Server Error */
|
|
56845
|
+
500: {
|
|
56846
|
+
headers: {
|
|
56847
|
+
[name: string]: unknown;
|
|
56848
|
+
};
|
|
56849
|
+
content: {
|
|
56850
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56851
|
+
};
|
|
56852
|
+
};
|
|
56853
|
+
};
|
|
56854
|
+
};
|
|
56855
|
+
common_payment_method_views_create_payment_provider: {
|
|
56856
|
+
parameters: {
|
|
56857
|
+
query?: never;
|
|
56858
|
+
header?: never;
|
|
56859
|
+
path?: never;
|
|
56860
|
+
cookie?: never;
|
|
56861
|
+
};
|
|
56862
|
+
requestBody: {
|
|
56863
|
+
content: {
|
|
56864
|
+
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
56865
|
+
};
|
|
56866
|
+
};
|
|
56867
|
+
responses: {
|
|
56868
|
+
/** @description Created */
|
|
56869
|
+
201: {
|
|
56870
|
+
headers: {
|
|
56871
|
+
[name: string]: unknown;
|
|
56872
|
+
};
|
|
56873
|
+
content: {
|
|
56874
|
+
"application/json": components["schemas"]["PaymentProviderResponseSchema"];
|
|
56875
|
+
};
|
|
56876
|
+
};
|
|
56877
|
+
/** @description Bad Request */
|
|
56878
|
+
400: {
|
|
56879
|
+
headers: {
|
|
56880
|
+
[name: string]: unknown;
|
|
56881
|
+
};
|
|
56882
|
+
content: {
|
|
56883
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
56884
|
+
};
|
|
56885
|
+
};
|
|
56886
|
+
/** @description Forbidden */
|
|
56887
|
+
403: {
|
|
56888
|
+
headers: {
|
|
56889
|
+
[name: string]: unknown;
|
|
56890
|
+
};
|
|
56891
|
+
content: {
|
|
56892
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56893
|
+
};
|
|
56894
|
+
};
|
|
56895
|
+
/** @description Internal Server Error */
|
|
56896
|
+
500: {
|
|
56897
|
+
headers: {
|
|
56898
|
+
[name: string]: unknown;
|
|
56899
|
+
};
|
|
56900
|
+
content: {
|
|
56901
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56902
|
+
};
|
|
56903
|
+
};
|
|
56904
|
+
};
|
|
56905
|
+
};
|
|
56623
56906
|
common_payment_method_views_list_payment_methods: {
|
|
56624
56907
|
parameters: {
|
|
56625
56908
|
query?: never;
|