@erp-galoper/types 1.0.1169 → 1.0.1171
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 +316 -26
- 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 */
|
|
@@ -50648,15 +50773,16 @@ export interface components {
|
|
|
50648
50773
|
CreateUpdateActivity: {
|
|
50649
50774
|
/**
|
|
50650
50775
|
* Id
|
|
50651
|
-
* @description -
|
|
50652
|
-
*
|
|
50776
|
+
* @description - Creating a new Activity (Nested or Standalone): MUST be omitted (or set to null).
|
|
50777
|
+
* - Updating a Activity Nested in a Task: REQUIRED within the activity object in the request body to identify the existing activity being modified.
|
|
50778
|
+
* - Updating a Standalone Activity (via api/v1/task/activity/ ): Omitted in the request body (ID is derived from the URL).
|
|
50653
50779
|
*/
|
|
50654
50780
|
id?: string | null;
|
|
50655
50781
|
/**
|
|
50656
50782
|
* Task Id
|
|
50657
|
-
* @description -
|
|
50658
|
-
*
|
|
50659
|
-
*
|
|
50783
|
+
* @description - Creating a Activity Separately (via api/v1/task/activity/ create endpoint): REQUIRED to link the new activity to a parent task.
|
|
50784
|
+
* - Creating/Updating a Task with Nested Activities (via /task/ endpoint): MUST be omitted
|
|
50785
|
+
* - Updating an Existing Activity: MUST be omitted, as the parent task association is immutable and cannot be changed.
|
|
50660
50786
|
*/
|
|
50661
50787
|
task_id: string | null;
|
|
50662
50788
|
/** Name */
|
|
@@ -50708,15 +50834,16 @@ export interface components {
|
|
|
50708
50834
|
CreateUpdateComment: {
|
|
50709
50835
|
/**
|
|
50710
50836
|
* Id
|
|
50711
|
-
* @description -
|
|
50712
|
-
*
|
|
50837
|
+
* @description - Creating a new Comment (Nested or Standalone): MUST be omitted (or set to null).
|
|
50838
|
+
* - Updating a Comment Nested in a Task: REQUIRED within the comment object in the request body to identify the existing comment being modified.
|
|
50839
|
+
* - Updating a Standalone Comment (via api/v1/task/comment/ ): Omitted in the request body (ID is derived from the URL).
|
|
50713
50840
|
*/
|
|
50714
50841
|
id?: string | null;
|
|
50715
50842
|
/**
|
|
50716
50843
|
* Task Id
|
|
50717
|
-
* @description -
|
|
50718
|
-
*
|
|
50719
|
-
*
|
|
50844
|
+
* @description - Creating a Comment Separately (via /comment/ create endpoint): REQUIRED to link the new comment to a parent task.
|
|
50845
|
+
* - Creating/Updating a Task with Nested Comments (via /task/ endpoint): MUST be omitted
|
|
50846
|
+
* - Updating an Existing Comment: MUST be omitted, as the parent task association is immutable and cannot be changed.
|
|
50720
50847
|
*/
|
|
50721
50848
|
task_id: string | null;
|
|
50722
50849
|
/**
|
|
@@ -50824,17 +50951,20 @@ export interface components {
|
|
|
50824
50951
|
CreateUpdateTask: {
|
|
50825
50952
|
/**
|
|
50826
50953
|
* Id
|
|
50827
|
-
* @description
|
|
50828
|
-
*
|
|
50829
|
-
*
|
|
50954
|
+
* @description The unique identifier (UUID) of the Task or Subtask.
|
|
50955
|
+
* - Creating a new Task/Subtask: MUST be omitted (or set to null).
|
|
50956
|
+
* - Updating a Parent Task: Omitted in the request body (ID is derived from the URL).
|
|
50957
|
+
* - Updating a Nested Subtask: REQUIRED within the subtask object to identify the existing subtask being modified.
|
|
50830
50958
|
*/
|
|
50831
50959
|
id?: string | null;
|
|
50832
50960
|
/**
|
|
50833
50961
|
* Parenttaskid
|
|
50834
|
-
* @description
|
|
50835
|
-
*
|
|
50836
|
-
*
|
|
50837
|
-
*
|
|
50962
|
+
* @description The UUID of the parent task. This field explicitly marks the current object as a subtask.
|
|
50963
|
+
* - Creating a Subtask Separately (via api/v1/task/): REQUIRED to link the new subtask to a parent.
|
|
50964
|
+
* - Creating/Updating a Task with Nested Subtasks: MUST be omitted.
|
|
50965
|
+
* - Updating an Existing Subtask: MUST be omitted, as a subtask's parent cannot be replaced.
|
|
50966
|
+
*
|
|
50967
|
+
* If 'parent_task' is provided, the 'subtasks: List["CreateUpdateTask"]' field must be null or an empty list, as subtasks cannot have subtasks (max depth of 1).
|
|
50838
50968
|
*/
|
|
50839
50969
|
parentTaskID?: string | null;
|
|
50840
50970
|
/**
|
|
@@ -50863,8 +50993,11 @@ export interface components {
|
|
|
50863
50993
|
statusId?: string | null;
|
|
50864
50994
|
/**
|
|
50865
50995
|
* Templatetaskid
|
|
50866
|
-
* @description
|
|
50867
|
-
*
|
|
50996
|
+
* @description The UUID of the Task Template used as the basis for this task.
|
|
50997
|
+
*
|
|
50998
|
+
* Usage Rules:
|
|
50999
|
+
* 1. For Creation (POST): This field is Optional. Provide a value only if the new task is being generated from an existing template.
|
|
51000
|
+
* 2. For Update (PUT/PATCH): This field **MUST be omitted**. The template association is immutable and cannot be changed or replaced after the task has been created.
|
|
50868
51001
|
*/
|
|
50869
51002
|
templateTaskId?: string | null;
|
|
50870
51003
|
/**
|
|
@@ -50884,10 +51017,9 @@ export interface components {
|
|
|
50884
51017
|
dependenciesIds?: string[];
|
|
50885
51018
|
/**
|
|
50886
51019
|
* Subtasks
|
|
50887
|
-
* @description A list of subtasks
|
|
50888
|
-
* -
|
|
50889
|
-
* - Only
|
|
50890
|
-
* - Subtasks cannot have their own subtasks
|
|
51020
|
+
* @description - A list of nested subtasks to be created or updated under this task.
|
|
51021
|
+
* - Subtasks cannot have their own subtasks . If a task has a value for `parent_task_id`, this `subtasks` field MUST be empty (`[]` or null).
|
|
51022
|
+
* - Task Type: Only top-level tasks (tasks with `parent_task_id` omitted) can contain subtasks.
|
|
50891
51023
|
*/
|
|
50892
51024
|
subtasks?: components["schemas"]["CreateUpdateTask"][];
|
|
50893
51025
|
/** Comments */
|
|
@@ -50904,11 +51036,11 @@ export interface components {
|
|
|
50904
51036
|
repeatEndDate?: string | null;
|
|
50905
51037
|
/** Repeatevery */
|
|
50906
51038
|
repeatEvery?: number | null;
|
|
50907
|
-
/** @description
|
|
51039
|
+
/** @description Optional For Creation and Must be Omitted for update */
|
|
50908
51040
|
documentContentType?: components["schemas"]["CombinedModelName"] | null;
|
|
50909
51041
|
/**
|
|
50910
51042
|
* Documentid
|
|
50911
|
-
* @description
|
|
51043
|
+
* @description Optional For Creation and Must be Omitted for update
|
|
50912
51044
|
*/
|
|
50913
51045
|
documentId?: string | null;
|
|
50914
51046
|
};
|
|
@@ -56620,6 +56752,164 @@ export interface operations {
|
|
|
56620
56752
|
};
|
|
56621
56753
|
};
|
|
56622
56754
|
};
|
|
56755
|
+
common_payment_method_views_get_payment_provider: {
|
|
56756
|
+
parameters: {
|
|
56757
|
+
query?: never;
|
|
56758
|
+
header?: never;
|
|
56759
|
+
path?: never;
|
|
56760
|
+
cookie?: never;
|
|
56761
|
+
};
|
|
56762
|
+
requestBody?: never;
|
|
56763
|
+
responses: {
|
|
56764
|
+
/** @description OK */
|
|
56765
|
+
200: {
|
|
56766
|
+
headers: {
|
|
56767
|
+
[name: string]: unknown;
|
|
56768
|
+
};
|
|
56769
|
+
content: {
|
|
56770
|
+
"application/json": components["schemas"]["PaymentProviderSchema"];
|
|
56771
|
+
};
|
|
56772
|
+
};
|
|
56773
|
+
/** @description Forbidden */
|
|
56774
|
+
403: {
|
|
56775
|
+
headers: {
|
|
56776
|
+
[name: string]: unknown;
|
|
56777
|
+
};
|
|
56778
|
+
content: {
|
|
56779
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56780
|
+
};
|
|
56781
|
+
};
|
|
56782
|
+
/** @description Not Found */
|
|
56783
|
+
404: {
|
|
56784
|
+
headers: {
|
|
56785
|
+
[name: string]: unknown;
|
|
56786
|
+
};
|
|
56787
|
+
content: {
|
|
56788
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56789
|
+
};
|
|
56790
|
+
};
|
|
56791
|
+
/** @description Internal Server Error */
|
|
56792
|
+
500: {
|
|
56793
|
+
headers: {
|
|
56794
|
+
[name: string]: unknown;
|
|
56795
|
+
};
|
|
56796
|
+
content: {
|
|
56797
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56798
|
+
};
|
|
56799
|
+
};
|
|
56800
|
+
};
|
|
56801
|
+
};
|
|
56802
|
+
common_payment_method_views_update_payment_provider: {
|
|
56803
|
+
parameters: {
|
|
56804
|
+
query?: never;
|
|
56805
|
+
header?: never;
|
|
56806
|
+
path?: never;
|
|
56807
|
+
cookie?: never;
|
|
56808
|
+
};
|
|
56809
|
+
requestBody: {
|
|
56810
|
+
content: {
|
|
56811
|
+
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
56812
|
+
};
|
|
56813
|
+
};
|
|
56814
|
+
responses: {
|
|
56815
|
+
/** @description OK */
|
|
56816
|
+
200: {
|
|
56817
|
+
headers: {
|
|
56818
|
+
[name: string]: unknown;
|
|
56819
|
+
};
|
|
56820
|
+
content: {
|
|
56821
|
+
"application/json": components["schemas"]["PaymentProviderResponseSchema"];
|
|
56822
|
+
};
|
|
56823
|
+
};
|
|
56824
|
+
/** @description Bad Request */
|
|
56825
|
+
400: {
|
|
56826
|
+
headers: {
|
|
56827
|
+
[name: string]: unknown;
|
|
56828
|
+
};
|
|
56829
|
+
content: {
|
|
56830
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
56831
|
+
};
|
|
56832
|
+
};
|
|
56833
|
+
/** @description Forbidden */
|
|
56834
|
+
403: {
|
|
56835
|
+
headers: {
|
|
56836
|
+
[name: string]: unknown;
|
|
56837
|
+
};
|
|
56838
|
+
content: {
|
|
56839
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56840
|
+
};
|
|
56841
|
+
};
|
|
56842
|
+
/** @description Not Found */
|
|
56843
|
+
404: {
|
|
56844
|
+
headers: {
|
|
56845
|
+
[name: string]: unknown;
|
|
56846
|
+
};
|
|
56847
|
+
content: {
|
|
56848
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56849
|
+
};
|
|
56850
|
+
};
|
|
56851
|
+
/** @description Internal Server Error */
|
|
56852
|
+
500: {
|
|
56853
|
+
headers: {
|
|
56854
|
+
[name: string]: unknown;
|
|
56855
|
+
};
|
|
56856
|
+
content: {
|
|
56857
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56858
|
+
};
|
|
56859
|
+
};
|
|
56860
|
+
};
|
|
56861
|
+
};
|
|
56862
|
+
common_payment_method_views_create_payment_provider: {
|
|
56863
|
+
parameters: {
|
|
56864
|
+
query?: never;
|
|
56865
|
+
header?: never;
|
|
56866
|
+
path?: never;
|
|
56867
|
+
cookie?: never;
|
|
56868
|
+
};
|
|
56869
|
+
requestBody: {
|
|
56870
|
+
content: {
|
|
56871
|
+
"application/json": components["schemas"]["CreateUpdatePaymentProviderSchema"];
|
|
56872
|
+
};
|
|
56873
|
+
};
|
|
56874
|
+
responses: {
|
|
56875
|
+
/** @description Created */
|
|
56876
|
+
201: {
|
|
56877
|
+
headers: {
|
|
56878
|
+
[name: string]: unknown;
|
|
56879
|
+
};
|
|
56880
|
+
content: {
|
|
56881
|
+
"application/json": components["schemas"]["PaymentProviderResponseSchema"];
|
|
56882
|
+
};
|
|
56883
|
+
};
|
|
56884
|
+
/** @description Bad Request */
|
|
56885
|
+
400: {
|
|
56886
|
+
headers: {
|
|
56887
|
+
[name: string]: unknown;
|
|
56888
|
+
};
|
|
56889
|
+
content: {
|
|
56890
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
56891
|
+
};
|
|
56892
|
+
};
|
|
56893
|
+
/** @description Forbidden */
|
|
56894
|
+
403: {
|
|
56895
|
+
headers: {
|
|
56896
|
+
[name: string]: unknown;
|
|
56897
|
+
};
|
|
56898
|
+
content: {
|
|
56899
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56900
|
+
};
|
|
56901
|
+
};
|
|
56902
|
+
/** @description Internal Server Error */
|
|
56903
|
+
500: {
|
|
56904
|
+
headers: {
|
|
56905
|
+
[name: string]: unknown;
|
|
56906
|
+
};
|
|
56907
|
+
content: {
|
|
56908
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
56909
|
+
};
|
|
56910
|
+
};
|
|
56911
|
+
};
|
|
56912
|
+
};
|
|
56623
56913
|
common_payment_method_views_list_payment_methods: {
|
|
56624
56914
|
parameters: {
|
|
56625
56915
|
query?: never;
|