@erp-galoper/main-package 1.0.212 → 1.0.214
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 +64 -25
- package/package.json +1 -1
package/openapi.ts
CHANGED
@@ -970,6 +970,7 @@ export interface paths {
|
|
970
970
|
* - codeConflict
|
971
971
|
* - cityIdDoesNotExist
|
972
972
|
* - cityMismatchWithCountry
|
973
|
+
* - userDoesNotExist
|
973
974
|
* - 403:
|
974
975
|
* - permissionDenied
|
975
976
|
* - 404:
|
@@ -1023,6 +1024,8 @@ export interface paths {
|
|
1023
1024
|
* - cantChangeBranchCodeWhenTransactionsExist
|
1024
1025
|
* - branchDateShouldBeBetweenDateFoundedAndDateOfToday
|
1025
1026
|
* - cityMismatchWithCountry
|
1027
|
+
* - cantRemoveOwner
|
1028
|
+
* - userDoesNotExist
|
1026
1029
|
* - 403:
|
1027
1030
|
* - permissionDenied
|
1028
1031
|
* - 404:
|
@@ -3854,6 +3857,8 @@ export interface paths {
|
|
3854
3857
|
* - regionCreated
|
3855
3858
|
* - 400:
|
3856
3859
|
* - country+regionConflict
|
3860
|
+
* - citiesDoesNotExist
|
3861
|
+
* - cityCountriesMustMatchRegionCountry
|
3857
3862
|
* - 403:
|
3858
3863
|
* - permissionDenied
|
3859
3864
|
* - 500:
|
@@ -3912,6 +3917,8 @@ export interface paths {
|
|
3912
3917
|
* - 400:
|
3913
3918
|
* - noChangesDetected
|
3914
3919
|
* - country+regionConflict
|
3920
|
+
* - citiesDoesNotExist
|
3921
|
+
* - cityCountriesMustMatchRegionCountry
|
3915
3922
|
* - 403:
|
3916
3923
|
* - permissionDenied
|
3917
3924
|
* - 404:
|
@@ -4642,6 +4649,7 @@ export interface paths {
|
|
4642
4649
|
* - "walkInCustomerCurrencyCantBeChanged"
|
4643
4650
|
* - "AccountShouldBeCompanyCurrency"
|
4644
4651
|
* - cityMismatchWithCountry
|
4652
|
+
* - CityDoesNotBelongToSelectedRegion
|
4645
4653
|
* - 403: "permissionDenied"
|
4646
4654
|
* - 404: "customerDoesNotExist"
|
4647
4655
|
* - 500: "serverError"
|
@@ -4683,6 +4691,7 @@ export interface paths {
|
|
4683
4691
|
* - "priceListDoesNotExist
|
4684
4692
|
* - "cityDoesNotExist"
|
4685
4693
|
* - cityMismatchWithCountry
|
4694
|
+
* - CityDoesNotBelongToSelectedRegion
|
4686
4695
|
* - 403: "permissionDenied"
|
4687
4696
|
* - 404: "customerDoesNotExist"
|
4688
4697
|
* - 500: "serverError"
|
@@ -4711,6 +4720,7 @@ export interface paths {
|
|
4711
4720
|
* - "cityDoesNotExist"
|
4712
4721
|
* - "walkInCustomerExists"
|
4713
4722
|
* - cityMismatchWithCountry
|
4723
|
+
* - CityDoesNotBelongToSelectedRegion
|
4714
4724
|
* - 403: "permissionDenied"
|
4715
4725
|
* - 500: "serverError"
|
4716
4726
|
* # Note: if walk_in_pos is True, currency will be locked and company currency wil appear in the currency field
|
@@ -4743,6 +4753,7 @@ export interface paths {
|
|
4743
4753
|
* - "priceListDoesNotExist
|
4744
4754
|
* - "cityDoesNotExist"
|
4745
4755
|
* - cityMismatchWithCountry
|
4756
|
+
* - CityDoesNotBelongToSelectedRegion
|
4746
4757
|
* - 403: "permissionDenied"
|
4747
4758
|
* - 500: "serverError"
|
4748
4759
|
*/
|
@@ -4836,6 +4847,7 @@ export interface paths {
|
|
4836
4847
|
* - "currencyIdDoesNotExist"
|
4837
4848
|
* - "cityDoesNotExist"
|
4838
4849
|
* - cityMismatchWithCountry
|
4850
|
+
* - CityDoesNotBelongToSelectedRegion
|
4839
4851
|
* - 403: "permissionDenied"
|
4840
4852
|
* - 500: "serverError"
|
4841
4853
|
*/
|
@@ -4879,6 +4891,7 @@ export interface paths {
|
|
4879
4891
|
* - "priceListDoesNotExist
|
4880
4892
|
* - "cityDoesNotExist"
|
4881
4893
|
* - cityMismatchWithCountry
|
4894
|
+
* - CityDoesNotBelongToSelectedRegion
|
4882
4895
|
* - 403: "permissionDenied"
|
4883
4896
|
* - 404: "supplierDoesNotExist"
|
4884
4897
|
* - 500: "serverError"
|
@@ -9852,6 +9865,8 @@ export interface components {
|
|
9852
9865
|
cityId: components["schemas"]["RetrieveCity"];
|
9853
9866
|
/** Address */
|
9854
9867
|
address: string;
|
9868
|
+
/** Users */
|
9869
|
+
users: components["schemas"]["userCommon"][];
|
9855
9870
|
/** Islocal */
|
9856
9871
|
isLocal: boolean;
|
9857
9872
|
};
|
@@ -9872,6 +9887,21 @@ export interface components {
|
|
9872
9887
|
id: number;
|
9873
9888
|
country: components["schemas"]["CountryCodes"];
|
9874
9889
|
};
|
9890
|
+
/** userCommon */
|
9891
|
+
userCommon: {
|
9892
|
+
/** Id */
|
9893
|
+
id: number;
|
9894
|
+
/** Username */
|
9895
|
+
username: string;
|
9896
|
+
/** Email */
|
9897
|
+
email: string;
|
9898
|
+
/** Firstname */
|
9899
|
+
firstName: string;
|
9900
|
+
/** Lastname */
|
9901
|
+
lastName: string;
|
9902
|
+
/** Role */
|
9903
|
+
role: components["schemas"]["RolesSchema"][];
|
9904
|
+
};
|
9875
9905
|
/** MessageWithCode */
|
9876
9906
|
MessageWithCode: {
|
9877
9907
|
/** Id */
|
@@ -9938,6 +9968,8 @@ export interface components {
|
|
9938
9968
|
* @default []
|
9939
9969
|
*/
|
9940
9970
|
departments: components["schemas"]["DepartmentCommonSchema"][];
|
9971
|
+
/** Isowner */
|
9972
|
+
isOwner: boolean;
|
9941
9973
|
};
|
9942
9974
|
/** GetPinCode */
|
9943
9975
|
GetPinCode: {
|
@@ -10051,6 +10083,8 @@ export interface components {
|
|
10051
10083
|
* @default []
|
10052
10084
|
*/
|
10053
10085
|
departments: components["schemas"]["DepartmentCommonSchema"][];
|
10086
|
+
/** Isowner */
|
10087
|
+
isOwner: boolean;
|
10054
10088
|
};
|
10055
10089
|
/** WarehouseSummaryInfo */
|
10056
10090
|
WarehouseSummaryInfo: {
|
@@ -10117,6 +10151,8 @@ export interface components {
|
|
10117
10151
|
* @default []
|
10118
10152
|
*/
|
10119
10153
|
departments: components["schemas"]["DepartmentCommonSchema"][];
|
10154
|
+
/** Isowner */
|
10155
|
+
isOwner: boolean;
|
10120
10156
|
};
|
10121
10157
|
/** UpdateUser */
|
10122
10158
|
UpdateUser: {
|
@@ -11525,6 +11561,11 @@ export interface components {
|
|
11525
11561
|
cityId: number;
|
11526
11562
|
/** Address */
|
11527
11563
|
address: string;
|
11564
|
+
/**
|
11565
|
+
* Users
|
11566
|
+
* @default []
|
11567
|
+
*/
|
11568
|
+
users: number[];
|
11528
11569
|
};
|
11529
11570
|
/** UpdateBranch */
|
11530
11571
|
UpdateBranch: {
|
@@ -11545,6 +11586,11 @@ export interface components {
|
|
11545
11586
|
cityId?: number;
|
11546
11587
|
/** Address */
|
11547
11588
|
address?: string;
|
11589
|
+
/**
|
11590
|
+
* Users
|
11591
|
+
* @default []
|
11592
|
+
*/
|
11593
|
+
users: number[];
|
11548
11594
|
};
|
11549
11595
|
/** WarehouseSchema */
|
11550
11596
|
WarehouseSchema: {
|
@@ -12199,6 +12245,15 @@ export interface components {
|
|
12199
12245
|
status?: components["schemas"]["StatusChoicesInMutation"];
|
12200
12246
|
journalItems: components["schemas"]["UpdateJournalItemsSchema"];
|
12201
12247
|
};
|
12248
|
+
/** CommonCity */
|
12249
|
+
CommonCity: {
|
12250
|
+
/** Id */
|
12251
|
+
id: number;
|
12252
|
+
/** Name */
|
12253
|
+
name: string;
|
12254
|
+
/** Code */
|
12255
|
+
code?: string | null;
|
12256
|
+
};
|
12202
12257
|
/** ListRegions */
|
12203
12258
|
ListRegions: {
|
12204
12259
|
info: components["schemas"]["PageInfoSchema"];
|
@@ -12222,6 +12277,8 @@ export interface components {
|
|
12222
12277
|
region: string;
|
12223
12278
|
/** Country */
|
12224
12279
|
country: string;
|
12280
|
+
/** Cities */
|
12281
|
+
cities: components["schemas"]["CommonCity"][];
|
12225
12282
|
/** Candelete */
|
12226
12283
|
canDelete: boolean;
|
12227
12284
|
};
|
@@ -12324,21 +12381,6 @@ export interface components {
|
|
12324
12381
|
*/
|
12325
12382
|
approvers: components["schemas"]["DocumentTrackPerLevelUserResponse"][];
|
12326
12383
|
};
|
12327
|
-
/** userCommon */
|
12328
|
-
userCommon: {
|
12329
|
-
/** Id */
|
12330
|
-
id: number;
|
12331
|
-
/** Username */
|
12332
|
-
username: string;
|
12333
|
-
/** Email */
|
12334
|
-
email: string;
|
12335
|
-
/** Firstname */
|
12336
|
-
firstName: string;
|
12337
|
-
/** Lastname */
|
12338
|
-
lastName: string;
|
12339
|
-
/** Role */
|
12340
|
-
role: components["schemas"]["RolesSchema"][];
|
12341
|
-
};
|
12342
12384
|
/** DocumentsToApprove */
|
12343
12385
|
DocumentsToApprove: {
|
12344
12386
|
/**
|
@@ -13415,6 +13457,8 @@ export interface components {
|
|
13415
13457
|
region: string;
|
13416
13458
|
/** Country */
|
13417
13459
|
country: string;
|
13460
|
+
/** Cities */
|
13461
|
+
cities: number[];
|
13418
13462
|
};
|
13419
13463
|
/** UpdateRegion */
|
13420
13464
|
UpdateRegion: {
|
@@ -13422,6 +13466,8 @@ export interface components {
|
|
13422
13466
|
region?: string | null;
|
13423
13467
|
/** Country */
|
13424
13468
|
country?: string | null;
|
13469
|
+
/** Cities */
|
13470
|
+
cities: number[];
|
13425
13471
|
};
|
13426
13472
|
/** RetrieveRegion */
|
13427
13473
|
RetrieveRegion: {
|
@@ -13440,6 +13486,8 @@ export interface components {
|
|
13440
13486
|
region: string;
|
13441
13487
|
/** Country */
|
13442
13488
|
country: string;
|
13489
|
+
/** Cities */
|
13490
|
+
cities: components["schemas"]["CommonCity"][];
|
13443
13491
|
};
|
13444
13492
|
/** profitAndLossSchema */
|
13445
13493
|
profitAndLossSchema: {
|
@@ -14006,15 +14054,6 @@ export interface components {
|
|
14006
14054
|
/** Type */
|
14007
14055
|
type: string;
|
14008
14056
|
};
|
14009
|
-
/** CommonCity */
|
14010
|
-
CommonCity: {
|
14011
|
-
/** Id */
|
14012
|
-
id: number;
|
14013
|
-
/** Name */
|
14014
|
-
name: string;
|
14015
|
-
/** Code */
|
14016
|
-
code?: string | null;
|
14017
|
-
};
|
14018
14057
|
/** CommonCurrency */
|
14019
14058
|
CommonCurrency: {
|
14020
14059
|
/** Id */
|
@@ -15879,7 +15918,7 @@ export interface components {
|
|
15879
15918
|
/**
|
15880
15919
|
* Id
|
15881
15920
|
* Format: uuid
|
15882
|
-
* @example
|
15921
|
+
* @example fe927de8-40b7-4653-a403-4c55e07d6142
|
15883
15922
|
*/
|
15884
15923
|
id: string;
|
15885
15924
|
/**
|
package/package.json
CHANGED