@erp-galoper/types 1.0.360 → 1.0.361

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.
Files changed (2) hide show
  1. package/openapi.ts +65 -290
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -2852,65 +2852,6 @@ export interface paths {
2852
2852
  patch: operations["erp_settings_inventorysetting_views_update_item_variant_settings"];
2853
2853
  trace?: never;
2854
2854
  };
2855
- "/api/v1/settings/inventory/internal_transfers/": {
2856
- parameters: {
2857
- query?: never;
2858
- header?: never;
2859
- path?: never;
2860
- cookie?: never;
2861
- };
2862
- /**
2863
- * Get Internal Transfer Settings
2864
- * @description Endpoint for retrieve internal transfer settings
2865
- * Possible Responses:
2866
- * - 200:
2867
- * - success
2868
- * - 404:
2869
- * - internalTransferSettingsDoesNotExist
2870
- * - 403:
2871
- * - permissionDenied
2872
- * - 500:
2873
- * - internalServerError
2874
- */
2875
- get: operations["erp_settings_inventorysetting_views_get_internal_transfer_settings"];
2876
- put?: never;
2877
- /**
2878
- * Create Internal Transfer Settings
2879
- * @description Endpoint for create internal transfer setting
2880
- * Possible Responses:
2881
- * - 201:
2882
- * - internalTransferSettingCreated
2883
- * - 400:
2884
- * - internalTransferSettingsConflict
2885
- * - approvalConfigDoesNotExist
2886
- * - 403:
2887
- * - permissionDenied
2888
- * - 500:
2889
- * - internalServerError
2890
- */
2891
- post: operations["erp_settings_inventorysetting_views_create_internal_transfer_settings"];
2892
- delete?: never;
2893
- options?: never;
2894
- head?: never;
2895
- /**
2896
- * Update Internal Transfer Settings
2897
- * @description Endpoint for update internal transfer settings
2898
- * Possible Responses:
2899
- * - 200:
2900
- * - internalTransferSettingsUpdated
2901
- * - 400:
2902
- * - noChangesDetected
2903
- * - internalTransferSettingsConflict
2904
- * - 403:
2905
- * - permissionDenied
2906
- * - 404:
2907
- * - internalTransferSettingsDoesNotExist
2908
- * - 500:
2909
- * - internalServerError
2910
- */
2911
- patch: operations["erp_settings_inventorysetting_views_update_internal_transfer_settings"];
2912
- trace?: never;
2913
- };
2914
2855
  "/api/v1/settings/inventory/stock_adjustments/": {
2915
2856
  parameters: {
2916
2857
  query?: never;
@@ -10938,7 +10879,9 @@ export interface paths {
10938
10879
  *
10939
10880
  * ### Responses:
10940
10881
  * - **204**: None.
10941
- * - **400**: branchDoesNotExist.
10882
+ * - **400**:
10883
+ * - branchDoesNotExist
10884
+ * - purchaseInvoiceCannotBeDeleted
10942
10885
  * - **403**: permissionDenied, noBranchAccess, noModuleAccess.
10943
10886
  * - **404**: purchaseInvoiceDoesNotExist.
10944
10887
  * - **500**: internalServerError.
@@ -13583,6 +13526,8 @@ export interface paths {
13583
13526
  * - noBranchAccess
13584
13527
  *
13585
13528
  * - 404: salesPriceListDoesNotExist
13529
+ * - 400 :
13530
+ * - salesPriceListCannotBeDeleted
13586
13531
  * - 500: server error
13587
13532
  *
13588
13533
  * Permission key: `salespricelist = ['delete']`
@@ -15111,9 +15056,9 @@ export interface paths {
15111
15056
  * - noModuleAccess
15112
15057
  * - cantMakeActionOnLockedDocument
15113
15058
  * - 400:
15114
- * - cantBeDeleted
15115
15059
  * - invalidPassword
15116
15060
  * - noPasswordProvided
15061
+ * - downPaymentCannotBeDeleted
15117
15062
  * - 500:
15118
15063
  * - internalServerError
15119
15064
  * - Permission Key:
@@ -16305,6 +16250,7 @@ export interface paths {
16305
16250
  * - dateShouldBeLessThanNextInvoiceDate
16306
16251
  * - dateShouldBeGreaterThanPreviousInvoiceDate
16307
16252
  * - dateShouldBeBetweenPreviousAndNextInvoiceDate
16253
+ * - salesInvoiceItemCannotBeDeleted
16308
16254
  *
16309
16255
  * - 403: "noModuleAccess"
16310
16256
  * - "permissionDenied"
@@ -16469,6 +16415,7 @@ export interface paths {
16469
16415
  * - "itemDoesNotExist"
16470
16416
  * - "salesInvoiceItemDoesNotExist"
16471
16417
  * - SalesInvoicesShouldHaveSameGlobalTaxRate
16418
+ * - cannotReturnDeferredInvoice
16472
16419
  *
16473
16420
  * - 403: - "permissionDenied"
16474
16421
  * - "noModuleAccess"
@@ -16546,6 +16493,7 @@ export interface paths {
16546
16493
  * - "itemDoesNotExist"
16547
16494
  * - "salesInvoiceItemDoesNotExist"
16548
16495
  * - "salesReturnOrderShouldBeDraft"
16496
+ * - cannotReturnDeferredInvoice
16549
16497
  * - 403: - "permissionDenied"
16550
16498
  * - "noModuleAccess"
16551
16499
  * - "noBranchAccess"
@@ -16706,6 +16654,7 @@ export interface paths {
16706
16654
  * - "itemNotInReturnOrder"
16707
16655
  * - "salesInvoiceItemDoesNotExist"
16708
16656
  * - SalesInvoicesShouldHaveSameGlobalTaxRate
16657
+ * - cannotReturnDeferredInvoice
16709
16658
  *
16710
16659
  * - 403: - "permissionDenied"
16711
16660
  * - "noModuleAccess"
@@ -16782,6 +16731,7 @@ export interface paths {
16782
16731
  * - "salesInvoiceItemDoesNotExist"
16783
16732
  * - "SalesReturnInvoiceShouldBeDraft"
16784
16733
  * - SalesInvoicesShouldHaveSameGlobalTaxRate
16734
+ * - cannotReturnDeferredInvoice
16785
16735
  * - 403: - "permissionDenied"
16786
16736
  * - "noModuleAccess"
16787
16737
  * - "noBranchAccess"
@@ -23312,15 +23262,15 @@ export interface components {
23312
23262
  */
23313
23263
  fieldsToInherit: string[] | null;
23314
23264
  };
23315
- /** CreateInternalTransferSetting */
23316
- CreateInternalTransferSetting: {
23265
+ /** CreateStockAdjustmentSettings */
23266
+ CreateStockAdjustmentSettings: {
23317
23267
  /** Requiresapproval */
23318
23268
  requiresApproval: boolean;
23319
23269
  /** Approvalconfig */
23320
23270
  approvalConfig?: number | null;
23321
23271
  };
23322
- /** UpdateInternalTransferSetting */
23323
- UpdateInternalTransferSetting: {
23272
+ /** UpdateStockAdjustmentSettings */
23273
+ UpdateStockAdjustmentSettings: {
23324
23274
  /** Requiresapproval */
23325
23275
  requiresApproval?: boolean | null;
23326
23276
  /** Approvalconfig */
@@ -23337,37 +23287,6 @@ export interface components {
23337
23287
  /** Notificationtype */
23338
23288
  NotificationType: string;
23339
23289
  };
23340
- /** RetrieveInternalTransferSetting */
23341
- RetrieveInternalTransferSetting: {
23342
- /**
23343
- * Datecreated
23344
- * Format: date-time
23345
- */
23346
- dateCreated: string;
23347
- /** Datemodified */
23348
- dateModified: string | null;
23349
- createdBy: components["schemas"]["RecordUserSchema"];
23350
- modifiedBy: components["schemas"]["RecordUserSchema"] | null;
23351
- /** Id */
23352
- id: number;
23353
- /** Requiresapproval */
23354
- requiresApproval: boolean;
23355
- approvalConfig?: components["schemas"]["ApprovalConfigInfo"] | null;
23356
- };
23357
- /** CreateStockAdjustmentSettings */
23358
- CreateStockAdjustmentSettings: {
23359
- /** Requiresapproval */
23360
- requiresApproval: boolean;
23361
- /** Approvalconfig */
23362
- approvalConfig?: number | null;
23363
- };
23364
- /** UpdateStockAdjustmentSettings */
23365
- UpdateStockAdjustmentSettings: {
23366
- /** Requiresapproval */
23367
- requiresApproval?: boolean | null;
23368
- /** Approvalconfig */
23369
- approvalConfig?: number | null;
23370
- };
23371
23290
  /** RetrieveStockAdjustmentSettings */
23372
23291
  RetrieveStockAdjustmentSettings: {
23373
23292
  /**
@@ -26740,7 +26659,7 @@ export interface components {
26740
26659
  /**
26741
26660
  * Id
26742
26661
  * Format: uuid
26743
- * @example f0c19f9e-fba5-4b87-acdb-061d49edd05a
26662
+ * @example 3f9b1d27-ba86-43aa-8313-92ac0d115280
26744
26663
  */
26745
26664
  id: string;
26746
26665
  /**
@@ -30946,6 +30865,20 @@ export interface components {
30946
30865
  /** Usdamount */
30947
30866
  usdAmount: number;
30948
30867
  };
30868
+ /** AdvancePaymentPaymentsSchema */
30869
+ AdvancePaymentPaymentsSchema: {
30870
+ /** Amount */
30871
+ amount?: number;
30872
+ /** Companyamount */
30873
+ companyAmount?: number | null;
30874
+ /** Usdamount */
30875
+ usdAmount?: number | null;
30876
+ /** Companyrate */
30877
+ companyRate?: number;
30878
+ /** Usdrate */
30879
+ usdRate?: number;
30880
+ changedField: components["schemas"]["ChangedFields"] | null;
30881
+ };
30949
30882
  /** CalculateAmountsPerPaymentInAdvancePaymentSchema */
30950
30883
  CalculateAmountsPerPaymentInAdvancePaymentSchema: {
30951
30884
  /**
@@ -30954,47 +30887,13 @@ export interface components {
30954
30887
  */
30955
30888
  supplier: number;
30956
30889
  /** Payments */
30957
- payments: components["schemas"]["PaymentsSchema"][];
30890
+ payments: components["schemas"]["AdvancePaymentPaymentsSchema"][];
30958
30891
  };
30959
30892
  /**
30960
30893
  * ChangedFields
30961
30894
  * @enum {string}
30962
30895
  */
30963
30896
  ChangedFields: "amount" | "companyAmount" | "usdAmount" | "companyRate" | "usdRate" | "accountNumber";
30964
- /** PaymentsSchema */
30965
- PaymentsSchema: {
30966
- /**
30967
- * Closingcommissionid
30968
- * Format: uuid
30969
- */
30970
- closingCommissionId: string;
30971
- /**
30972
- * Amount
30973
- * @description this field is number
30974
- */
30975
- amount?: string;
30976
- /**
30977
- * Companyamount
30978
- * @description this field is number
30979
- */
30980
- companyAmount?: string;
30981
- /**
30982
- * Usdamount
30983
- * @description this field is number
30984
- */
30985
- usdAmount?: string;
30986
- /**
30987
- * Companyrate
30988
- * @description this field is number
30989
- */
30990
- companyRate?: string;
30991
- /**
30992
- * Secondaryrate
30993
- * @description this field is number
30994
- */
30995
- secondaryRate?: string;
30996
- changedField: components["schemas"]["FinancialChangedFields"];
30997
- };
30998
30897
  /** AdvancePaymentResponse */
30999
30898
  AdvancePaymentResponse: {
31000
30899
  /** Code */
@@ -35901,6 +35800,40 @@ export interface components {
35901
35800
  /** Payments */
35902
35801
  payments: components["schemas"]["PaymentsSchema"][];
35903
35802
  };
35803
+ /** PaymentsSchema */
35804
+ PaymentsSchema: {
35805
+ /**
35806
+ * Closingcommissionid
35807
+ * Format: uuid
35808
+ */
35809
+ closingCommissionId: string;
35810
+ /**
35811
+ * Amount
35812
+ * @description this field is number
35813
+ */
35814
+ amount?: string;
35815
+ /**
35816
+ * Companyamount
35817
+ * @description this field is number
35818
+ */
35819
+ companyAmount?: string;
35820
+ /**
35821
+ * Usdamount
35822
+ * @description this field is number
35823
+ */
35824
+ usdAmount?: string;
35825
+ /**
35826
+ * Companyrate
35827
+ * @description this field is number
35828
+ */
35829
+ companyRate?: string;
35830
+ /**
35831
+ * Secondaryrate
35832
+ * @description this field is number
35833
+ */
35834
+ secondaryRate?: string;
35835
+ changedField: components["schemas"]["FinancialChangedFields"];
35836
+ };
35904
35837
  /** CommissionPayoutItemDetailSchema */
35905
35838
  CommissionPayoutItemDetailSchema: {
35906
35839
  /**
@@ -49968,164 +49901,6 @@ export interface operations {
49968
49901
  };
49969
49902
  };
49970
49903
  };
49971
- erp_settings_inventorysetting_views_get_internal_transfer_settings: {
49972
- parameters: {
49973
- query?: never;
49974
- header?: never;
49975
- path?: never;
49976
- cookie?: never;
49977
- };
49978
- requestBody?: never;
49979
- responses: {
49980
- /** @description OK */
49981
- 200: {
49982
- headers: {
49983
- [name: string]: unknown;
49984
- };
49985
- content: {
49986
- "application/json": components["schemas"]["RetrieveInternalTransferSetting"];
49987
- };
49988
- };
49989
- /** @description Forbidden */
49990
- 403: {
49991
- headers: {
49992
- [name: string]: unknown;
49993
- };
49994
- content: {
49995
- "application/json": components["schemas"]["MessageResponse"];
49996
- };
49997
- };
49998
- /** @description Not Found */
49999
- 404: {
50000
- headers: {
50001
- [name: string]: unknown;
50002
- };
50003
- content: {
50004
- "application/json": components["schemas"]["MessageResponse"];
50005
- };
50006
- };
50007
- /** @description Internal Server Error */
50008
- 500: {
50009
- headers: {
50010
- [name: string]: unknown;
50011
- };
50012
- content: {
50013
- "application/json": components["schemas"]["MessageResponse"];
50014
- };
50015
- };
50016
- };
50017
- };
50018
- erp_settings_inventorysetting_views_create_internal_transfer_settings: {
50019
- parameters: {
50020
- query?: never;
50021
- header?: never;
50022
- path?: never;
50023
- cookie?: never;
50024
- };
50025
- requestBody: {
50026
- content: {
50027
- "application/json": components["schemas"]["CreateInternalTransferSetting"];
50028
- };
50029
- };
50030
- responses: {
50031
- /** @description Created */
50032
- 201: {
50033
- headers: {
50034
- [name: string]: unknown;
50035
- };
50036
- content: {
50037
- "application/json": components["schemas"]["MessageResponse"];
50038
- };
50039
- };
50040
- /** @description Bad Request */
50041
- 400: {
50042
- headers: {
50043
- [name: string]: unknown;
50044
- };
50045
- content: {
50046
- "application/json": components["schemas"]["ErrorMessages"];
50047
- };
50048
- };
50049
- /** @description Forbidden */
50050
- 403: {
50051
- headers: {
50052
- [name: string]: unknown;
50053
- };
50054
- content: {
50055
- "application/json": components["schemas"]["MessageResponse"];
50056
- };
50057
- };
50058
- /** @description Internal Server Error */
50059
- 500: {
50060
- headers: {
50061
- [name: string]: unknown;
50062
- };
50063
- content: {
50064
- "application/json": components["schemas"]["MessageResponse"];
50065
- };
50066
- };
50067
- };
50068
- };
50069
- erp_settings_inventorysetting_views_update_internal_transfer_settings: {
50070
- parameters: {
50071
- query?: never;
50072
- header?: never;
50073
- path?: never;
50074
- cookie?: never;
50075
- };
50076
- requestBody: {
50077
- content: {
50078
- "application/json": components["schemas"]["UpdateInternalTransferSetting"];
50079
- };
50080
- };
50081
- responses: {
50082
- /** @description OK */
50083
- 200: {
50084
- headers: {
50085
- [name: string]: unknown;
50086
- };
50087
- content: {
50088
- "application/json": components["schemas"]["MessageResponse"];
50089
- };
50090
- };
50091
- /** @description Bad Request */
50092
- 400: {
50093
- headers: {
50094
- [name: string]: unknown;
50095
- };
50096
- content: {
50097
- "application/json": components["schemas"]["ErrorMessages"];
50098
- };
50099
- };
50100
- /** @description Forbidden */
50101
- 403: {
50102
- headers: {
50103
- [name: string]: unknown;
50104
- };
50105
- content: {
50106
- "application/json": components["schemas"]["MessageResponse"];
50107
- };
50108
- };
50109
- /** @description Not Found */
50110
- 404: {
50111
- headers: {
50112
- [name: string]: unknown;
50113
- };
50114
- content: {
50115
- "application/json": components["schemas"]["MessageResponse"];
50116
- };
50117
- };
50118
- /** @description Internal Server Error */
50119
- 500: {
50120
- headers: {
50121
- [name: string]: unknown;
50122
- };
50123
- content: {
50124
- "application/json": components["schemas"]["MessageResponse"];
50125
- };
50126
- };
50127
- };
50128
- };
50129
49904
  erp_settings_inventorysetting_views_get_stock_adjustment_settings: {
50130
49905
  parameters: {
50131
49906
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.360",
3
+ "version": "1.0.361",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],