@erp-galoper/types 1.0.1174 → 1.0.1176

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 +69 -15
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -28654,7 +28654,7 @@ export interface components {
28654
28654
  * CustomerDocumentTypeEnum
28655
28655
  * @enum {string}
28656
28656
  */
28657
- CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson";
28657
+ CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson" | "returnOrder" | "returnInvoice";
28658
28658
  /**
28659
28659
  * typeCustomers
28660
28660
  * @enum {string}
@@ -29607,7 +29607,7 @@ export interface components {
29607
29607
  * DocumentTypeEnum
29608
29608
  * @enum {string}
29609
29609
  */
29610
- DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson";
29610
+ DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice";
29611
29611
  /**
29612
29612
  * typeSuppliers
29613
29613
  * @enum {string}
@@ -31095,6 +31095,10 @@ export interface components {
31095
31095
  * @description Unique identifier for the payment (UUID format). Used for referencing this payment in the system.
31096
31096
  */
31097
31097
  id: string;
31098
+ /** @description Payment method used for payment. */
31099
+ paymentMethod: components["schemas"]["PosPaymentMethodSchema"];
31100
+ /** @description Payment provider information (only present for credit card payments). */
31101
+ paymentProvider?: components["schemas"]["PosPaymentProviderSchema"] | null;
31098
31102
  /**
31099
31103
  * Amount
31100
31104
  * @description Payment amount in the specified currency (should be treated as a number). The actual amount provided by the customer.
@@ -31180,6 +31184,33 @@ export interface components {
31180
31184
  date: string;
31181
31185
  customer: components["schemas"]["CustomerSharedSchema"];
31182
31186
  };
31187
+ /**
31188
+ * PosPaymentMethodChoices
31189
+ * @enum {string}
31190
+ */
31191
+ PosPaymentMethodChoices: "cash" | "credit_card";
31192
+ /** PosPaymentMethodSchema */
31193
+ PosPaymentMethodSchema: {
31194
+ /** Id */
31195
+ id: number;
31196
+ name: components["schemas"]["PosPaymentMethodChoices"];
31197
+ /**
31198
+ * Paymentproviders
31199
+ * @description List of payment providers for this payment method (e.g., for credit card)
31200
+ */
31201
+ paymentProviders?: components["schemas"]["PosPaymentProviderSchema"][] | null;
31202
+ };
31203
+ /** PosPaymentProviderSchema */
31204
+ PosPaymentProviderSchema: {
31205
+ /** Id */
31206
+ id: number;
31207
+ /** Providername */
31208
+ providerName: string;
31209
+ /** Feepercentage */
31210
+ feePercentage: number;
31211
+ /** Feetype */
31212
+ feeType: string;
31213
+ };
31183
31214
  /** PromotionsAndOffersSharedSchema */
31184
31215
  PromotionsAndOffersSharedSchema: {
31185
31216
  /**
@@ -36519,7 +36550,11 @@ export interface components {
36519
36550
  };
36520
36551
  /** CreatePurchaseQuotationSchema */
36521
36552
  CreatePurchaseQuotationSchema: {
36522
- /** Supplier */
36553
+ /**
36554
+ * Supplier
36555
+ * @description - supplier id
36556
+ * - use route /api/v1/suppliers/?type=children and filter by isActive equal to true
36557
+ */
36523
36558
  supplier: number;
36524
36559
  /** Branch */
36525
36560
  branch: number;
@@ -37081,7 +37116,11 @@ export interface components {
37081
37116
  };
37082
37117
  /** CreatePurchaseOrderSchema */
37083
37118
  CreatePurchaseOrderSchema: {
37084
- /** Supplier */
37119
+ /**
37120
+ * Supplier
37121
+ * @description - supplier id
37122
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
37123
+ */
37085
37124
  supplier: number;
37086
37125
  /** Branch */
37087
37126
  branch: number;
@@ -37435,7 +37474,8 @@ export interface components {
37435
37474
  CreateUpdatePurchaseReturnOrderSchema: {
37436
37475
  /**
37437
37476
  * Supplier
37438
- * @description on update supplier should not be changed, and it is not required
37477
+ * @description - get suppliers using route /api/v1/suppliers/?type=children&documentType=returnOrder
37478
+ * - on update supplier should not be changed, and it is not required
37439
37479
  */
37440
37480
  supplier?: number;
37441
37481
  /** Branch */
@@ -38042,7 +38082,11 @@ export interface components {
38042
38082
  date: string;
38043
38083
  /** Referencenumber */
38044
38084
  referenceNumber: string | null;
38045
- /** Supplier */
38085
+ /**
38086
+ * Supplier
38087
+ * @description - supplier id
38088
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
38089
+ */
38046
38090
  supplier: number;
38047
38091
  /**
38048
38092
  * Purchasequotation
@@ -38230,7 +38274,11 @@ export interface components {
38230
38274
  date: string;
38231
38275
  /** Referencenumber */
38232
38276
  referenceNumber: string | null;
38233
- /** Supplier */
38277
+ /**
38278
+ * Supplier
38279
+ * @description - supplier id
38280
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
38281
+ */
38234
38282
  supplier: number;
38235
38283
  /**
38236
38284
  * Departmentid
@@ -39113,7 +39161,8 @@ export interface components {
39113
39161
  CreateUpdatePurchaseReturnInvoiceSchema: {
39114
39162
  /**
39115
39163
  * Supplier
39116
- * @description on update supplier should not be changed, and it is not required
39164
+ * @description - get suppliers using route /api/v1/suppliers/?type=children&documentType=returnInvoice
39165
+ * - on update supplier should not be changed, and it is not required
39117
39166
  */
39118
39167
  supplier?: number;
39119
39168
  /** Branch */
@@ -43337,7 +43386,8 @@ export interface components {
43337
43386
  CreateUpdateSalesQuotationSchema: {
43338
43387
  /**
43339
43388
  * Customer
43340
- * @description This field is required and cannot be updated
43389
+ * @description - get customer using route /api/v1/customers/?type=children and filter by isActive equal to true
43390
+ * - This field is required and cannot be updated
43341
43391
  */
43342
43392
  customer: number;
43343
43393
  /**
@@ -45502,7 +45552,8 @@ export interface components {
45502
45552
  CreateUpdateSalesOrderSchema: {
45503
45553
  /**
45504
45554
  * Customer
45505
- * @description on update customer cant be changed
45555
+ * @description - get customer using route /api/v1/customers/?type=children and filter by isActive equal to true
45556
+ * - on update customer cant be changed
45506
45557
  */
45507
45558
  customer: number;
45508
45559
  /**
@@ -47145,7 +47196,8 @@ export interface components {
47145
47196
  recognitionStartDate?: string;
47146
47197
  /**
47147
47198
  * Customer
47148
- * @description on update customer cant be changed, required on create
47199
+ * @description - get customer using route /api/v1/customers/?type=children and filter by isActive equal to true
47200
+ * - on update customer cant be changed, required on create
47149
47201
  */
47150
47202
  customer?: number;
47151
47203
  /**
@@ -47740,7 +47792,8 @@ export interface components {
47740
47792
  CreateUpdateSalesReturnOrderSchema: {
47741
47793
  /**
47742
47794
  * Customer
47743
- * @description customer cant be changed in update
47795
+ * @description - get customers using route /api/v1/customers/?type=children&documentType=returnOrder
47796
+ * - customer cant be changed in update
47744
47797
  */
47745
47798
  customer?: number;
47746
47799
  /** Password */
@@ -48203,7 +48256,8 @@ export interface components {
48203
48256
  CreateUpdateSalesReturnInvoiceSchema: {
48204
48257
  /**
48205
48258
  * Customer
48206
- * @description customer cant be changed in update, no need to be sent
48259
+ * @description - get customers using route /api/v1/customers/?type=children&documentType=returnInvoice
48260
+ * - customer cant be changed in update, no need to be sent
48207
48261
  */
48208
48262
  customer?: number;
48209
48263
  /** Password */
@@ -62654,7 +62708,7 @@ export interface operations {
62654
62708
  /** @description Type of customer to get */
62655
62709
  type?: "parents" | "children";
62656
62710
  /** @description type of document for listing customers, example : receiptVoucher */
62657
- documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson";
62711
+ documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson" | "returnOrder" | "returnInvoice";
62658
62712
  search?: string | null;
62659
62713
  };
62660
62714
  header?: never;
@@ -63318,7 +63372,7 @@ export interface operations {
63318
63372
  /** @description Type of supplier to get */
63319
63373
  type?: "parents" | "children";
63320
63374
  /** @description type of document for listing suppliers, example : purchaseRefundVoucher */
63321
- documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson";
63375
+ documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice";
63322
63376
  search?: string | null;
63323
63377
  /** @description Branch ID */
63324
63378
  branch?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1174",
3
+ "version": "1.0.1176",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],