@erp-galoper/types 1.0.659 → 1.0.661
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 +89 -80
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -15206,6 +15206,7 @@ export interface paths {
|
|
|
15206
15206
|
* - depositChargeChangeNotAllowed
|
|
15207
15207
|
* - unitPackageIsRequired
|
|
15208
15208
|
* - salesQuotationDoesNotExist
|
|
15209
|
+
* - salesQuotationCustomerDoesNotMatchWithSalesOrderCustomer
|
|
15209
15210
|
*
|
|
15210
15211
|
* - 403: "noModuleAccess"
|
|
15211
15212
|
* - "permissionDenied"
|
|
@@ -15272,6 +15273,7 @@ export interface paths {
|
|
|
15272
15273
|
* - unitPackageIsRequired
|
|
15273
15274
|
* - salesQuotationDoesNotExist
|
|
15274
15275
|
* - customerChangeNotAllowed
|
|
15276
|
+
* - salesQuotationCustomerDoesNotMatchWithSalesOrderCustomer
|
|
15275
15277
|
*
|
|
15276
15278
|
* - 403: "noModuleAccess"
|
|
15277
15279
|
* - "permissionDenied"
|
|
@@ -25398,6 +25400,15 @@ export interface components {
|
|
|
25398
25400
|
* @enum {string}
|
|
25399
25401
|
*/
|
|
25400
25402
|
typeCustomers: "parents" | "children";
|
|
25403
|
+
/** CommonCity */
|
|
25404
|
+
CommonCity: {
|
|
25405
|
+
/** Id */
|
|
25406
|
+
id: number;
|
|
25407
|
+
/** Name */
|
|
25408
|
+
name: string;
|
|
25409
|
+
/** Code */
|
|
25410
|
+
code?: string | null;
|
|
25411
|
+
};
|
|
25401
25412
|
/** CommonCurrency */
|
|
25402
25413
|
CommonCurrency: {
|
|
25403
25414
|
/** Id */
|
|
@@ -25407,6 +25418,43 @@ export interface components {
|
|
|
25407
25418
|
/** Code */
|
|
25408
25419
|
code?: string | null;
|
|
25409
25420
|
};
|
|
25421
|
+
/** CompanyCustomerBranchSchema */
|
|
25422
|
+
CompanyCustomerBranchSchema: {
|
|
25423
|
+
/** Id */
|
|
25424
|
+
id: number;
|
|
25425
|
+
/** Name */
|
|
25426
|
+
name: string;
|
|
25427
|
+
/** Phone1 */
|
|
25428
|
+
phone1: string;
|
|
25429
|
+
/**
|
|
25430
|
+
* Postal Code
|
|
25431
|
+
* @default
|
|
25432
|
+
*/
|
|
25433
|
+
postal_code: string | null;
|
|
25434
|
+
/** Address */
|
|
25435
|
+
address: string;
|
|
25436
|
+
region: components["schemas"]["RegionCommonSchema"];
|
|
25437
|
+
/**
|
|
25438
|
+
* Shipmentinformation
|
|
25439
|
+
* @default []
|
|
25440
|
+
*/
|
|
25441
|
+
shipmentInformation: components["schemas"]["CustomerShippingAddressSchema"][];
|
|
25442
|
+
/** Contacts */
|
|
25443
|
+
contacts: components["schemas"]["CustomerContactSchema"][];
|
|
25444
|
+
/** Banks */
|
|
25445
|
+
banks: components["schemas"]["CustomerBankSchema"][];
|
|
25446
|
+
/** Default */
|
|
25447
|
+
default?: boolean;
|
|
25448
|
+
};
|
|
25449
|
+
/** CustomerBankSchema */
|
|
25450
|
+
CustomerBankSchema: {
|
|
25451
|
+
/** Id */
|
|
25452
|
+
id: number;
|
|
25453
|
+
/** Name */
|
|
25454
|
+
name: string;
|
|
25455
|
+
/** Accountnumber */
|
|
25456
|
+
accountNumber: string;
|
|
25457
|
+
};
|
|
25410
25458
|
/** CustomerChildDetailSchema */
|
|
25411
25459
|
CustomerChildDetailSchema: {
|
|
25412
25460
|
/** Id */
|
|
@@ -25420,6 +25468,19 @@ export interface components {
|
|
|
25420
25468
|
/** Secondarybalance */
|
|
25421
25469
|
secondaryBalance: number;
|
|
25422
25470
|
};
|
|
25471
|
+
/** CustomerContactSchema */
|
|
25472
|
+
CustomerContactSchema: {
|
|
25473
|
+
/** Id */
|
|
25474
|
+
id: number;
|
|
25475
|
+
/** Firstname */
|
|
25476
|
+
firstName: string;
|
|
25477
|
+
/** Lastname */
|
|
25478
|
+
lastName: string;
|
|
25479
|
+
/** Phone1 */
|
|
25480
|
+
phone1: string;
|
|
25481
|
+
/** Email */
|
|
25482
|
+
email?: string | null;
|
|
25483
|
+
};
|
|
25423
25484
|
/** CustomerForListSchema */
|
|
25424
25485
|
CustomerForListSchema: {
|
|
25425
25486
|
/** Isactive */
|
|
@@ -25457,6 +25518,11 @@ export interface components {
|
|
|
25457
25518
|
* @description visible when customer type is company
|
|
25458
25519
|
*/
|
|
25459
25520
|
financialNumber: string | null;
|
|
25521
|
+
/**
|
|
25522
|
+
* Branches
|
|
25523
|
+
* @default []
|
|
25524
|
+
*/
|
|
25525
|
+
branches: components["schemas"]["CompanyCustomerBranchSchema"][];
|
|
25460
25526
|
};
|
|
25461
25527
|
/** CustomerGroupInfoSchema */
|
|
25462
25528
|
CustomerGroupInfoSchema: {
|
|
@@ -25474,6 +25540,27 @@ export interface components {
|
|
|
25474
25540
|
/** Results */
|
|
25475
25541
|
results: components["schemas"]["CustomerForListSchema"][];
|
|
25476
25542
|
};
|
|
25543
|
+
/** CustomerShippingAddressSchema */
|
|
25544
|
+
CustomerShippingAddressSchema: {
|
|
25545
|
+
/** Id */
|
|
25546
|
+
id: number;
|
|
25547
|
+
/** Country */
|
|
25548
|
+
country: string;
|
|
25549
|
+
city: components["schemas"]["CommonCity"];
|
|
25550
|
+
/** Address */
|
|
25551
|
+
address: string;
|
|
25552
|
+
/**
|
|
25553
|
+
* Postalcode
|
|
25554
|
+
* @default
|
|
25555
|
+
*/
|
|
25556
|
+
postalCode: string | null;
|
|
25557
|
+
/** Fax */
|
|
25558
|
+
fax?: string | null;
|
|
25559
|
+
/** Phone1 */
|
|
25560
|
+
phone1?: string | null;
|
|
25561
|
+
/** Phone2 */
|
|
25562
|
+
phone2?: string | null;
|
|
25563
|
+
};
|
|
25477
25564
|
/**
|
|
25478
25565
|
* TypeOfCustomer
|
|
25479
25566
|
* @enum {string}
|
|
@@ -25503,15 +25590,6 @@ export interface components {
|
|
|
25503
25590
|
paymentInAdvanceAccountResident: components["schemas"]["AccountInfoSchema"] | null;
|
|
25504
25591
|
paymentInAdvanceAccountNonResident: components["schemas"]["AccountInfoSchema"] | null;
|
|
25505
25592
|
};
|
|
25506
|
-
/** CommonCity */
|
|
25507
|
-
CommonCity: {
|
|
25508
|
-
/** Id */
|
|
25509
|
-
id: number;
|
|
25510
|
-
/** Name */
|
|
25511
|
-
name: string;
|
|
25512
|
-
/** Code */
|
|
25513
|
-
code?: string | null;
|
|
25514
|
-
};
|
|
25515
25593
|
/** CommonPriceListSchema */
|
|
25516
25594
|
CommonPriceListSchema: {
|
|
25517
25595
|
/** Id */
|
|
@@ -25519,36 +25597,6 @@ export interface components {
|
|
|
25519
25597
|
/** Name */
|
|
25520
25598
|
name: string;
|
|
25521
25599
|
};
|
|
25522
|
-
/** CustomerBankSchema */
|
|
25523
|
-
CustomerBankSchema: {
|
|
25524
|
-
/** Id */
|
|
25525
|
-
id: number;
|
|
25526
|
-
/** Name */
|
|
25527
|
-
name: string;
|
|
25528
|
-
/** Accountnumber */
|
|
25529
|
-
accountNumber: string;
|
|
25530
|
-
};
|
|
25531
|
-
/** CustomerShippingAddressSchema */
|
|
25532
|
-
CustomerShippingAddressSchema: {
|
|
25533
|
-
/** Id */
|
|
25534
|
-
id: number;
|
|
25535
|
-
/** Country */
|
|
25536
|
-
country: string;
|
|
25537
|
-
city: components["schemas"]["CommonCity"];
|
|
25538
|
-
/** Address */
|
|
25539
|
-
address: string;
|
|
25540
|
-
/**
|
|
25541
|
-
* Postalcode
|
|
25542
|
-
* @default
|
|
25543
|
-
*/
|
|
25544
|
-
postalCode: string | null;
|
|
25545
|
-
/** Fax */
|
|
25546
|
-
fax?: string | null;
|
|
25547
|
-
/** Phone1 */
|
|
25548
|
-
phone1?: string | null;
|
|
25549
|
-
/** Phone2 */
|
|
25550
|
-
phone2?: string | null;
|
|
25551
|
-
};
|
|
25552
25600
|
/** IndividualCustomerSchema */
|
|
25553
25601
|
IndividualCustomerSchema: {
|
|
25554
25602
|
/** Phone1 */
|
|
@@ -25786,32 +25834,6 @@ export interface components {
|
|
|
25786
25834
|
/** Delete */
|
|
25787
25835
|
delete: components["schemas"]["DeleteCustomerBankSchema"][];
|
|
25788
25836
|
};
|
|
25789
|
-
/** CompanyCustomerBranchSchema */
|
|
25790
|
-
CompanyCustomerBranchSchema: {
|
|
25791
|
-
/** Id */
|
|
25792
|
-
id: number;
|
|
25793
|
-
/** Name */
|
|
25794
|
-
name: string;
|
|
25795
|
-
/** Phone1 */
|
|
25796
|
-
phone1: string;
|
|
25797
|
-
/**
|
|
25798
|
-
* Postal Code
|
|
25799
|
-
* @default
|
|
25800
|
-
*/
|
|
25801
|
-
postal_code: string | null;
|
|
25802
|
-
/** Address */
|
|
25803
|
-
address: string;
|
|
25804
|
-
region: components["schemas"]["RegionCommonSchema"];
|
|
25805
|
-
/**
|
|
25806
|
-
* Shipmentinformation
|
|
25807
|
-
* @default []
|
|
25808
|
-
*/
|
|
25809
|
-
shipmentInformation: components["schemas"]["CustomerShippingAddressSchema"][];
|
|
25810
|
-
/** Contacts */
|
|
25811
|
-
contacts: components["schemas"]["CustomerContactSchema"][];
|
|
25812
|
-
/** Banks */
|
|
25813
|
-
banks: components["schemas"]["CustomerBankSchema"][];
|
|
25814
|
-
};
|
|
25815
25837
|
/** CompanyCustomerSchema */
|
|
25816
25838
|
CompanyCustomerSchema: {
|
|
25817
25839
|
/** Phone1 */
|
|
@@ -25876,19 +25898,6 @@ export interface components {
|
|
|
25876
25898
|
*/
|
|
25877
25899
|
attachments: string[];
|
|
25878
25900
|
};
|
|
25879
|
-
/** CustomerContactSchema */
|
|
25880
|
-
CustomerContactSchema: {
|
|
25881
|
-
/** Id */
|
|
25882
|
-
id: number;
|
|
25883
|
-
/** Firstname */
|
|
25884
|
-
firstName: string;
|
|
25885
|
-
/** Lastname */
|
|
25886
|
-
lastName: string;
|
|
25887
|
-
/** Phone1 */
|
|
25888
|
-
phone1: string;
|
|
25889
|
-
/** Email */
|
|
25890
|
-
email?: string | null;
|
|
25891
|
-
};
|
|
25892
25901
|
/** ChangeCustomerBranchSchema */
|
|
25893
25902
|
ChangeCustomerBranchSchema: {
|
|
25894
25903
|
/** Index */
|
|
@@ -27535,7 +27544,7 @@ export interface components {
|
|
|
27535
27544
|
/**
|
|
27536
27545
|
* Id
|
|
27537
27546
|
* Format: uuid
|
|
27538
|
-
* @example
|
|
27547
|
+
* @example 2632c66a-f979-48ac-a9ca-b9d72f042caa
|
|
27539
27548
|
*/
|
|
27540
27549
|
id: string;
|
|
27541
27550
|
/**
|
|
@@ -41971,7 +41980,7 @@ export interface components {
|
|
|
41971
41980
|
customer: number;
|
|
41972
41981
|
/**
|
|
41973
41982
|
* Customerbranch
|
|
41974
|
-
* @description This field is required when the customer is a company
|
|
41983
|
+
* @description This field is required when the customer is a company, set default value from the data of selected customer and filter branches by default=True
|
|
41975
41984
|
*/
|
|
41976
41985
|
customerBranch?: number;
|
|
41977
41986
|
/**
|