@erp-galoper/types 1.0.1173 → 1.0.1175

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 +70 -15
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -19998,6 +19998,7 @@ export interface paths {
19998
19998
  /**
19999
19999
  * Manually sync a single item to the online store
20000
20000
  * @description Triggers background sync of a specific ERP item to the online store. Automatically uses the first available store. Returns 202 if request is queued.
20001
+ * filter items by: active=True, available_in_online_store=True, role in ['template', 'standalone']
20001
20002
  */
20002
20003
  post: operations["integration_sync_views_sync_single_item_endpoint"];
20003
20004
  delete?: never;
@@ -28653,7 +28654,7 @@ export interface components {
28653
28654
  * CustomerDocumentTypeEnum
28654
28655
  * @enum {string}
28655
28656
  */
28656
- CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson";
28657
+ CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson" | "returnOrder" | "returnInvoice";
28657
28658
  /**
28658
28659
  * typeCustomers
28659
28660
  * @enum {string}
@@ -29606,7 +29607,7 @@ export interface components {
29606
29607
  * DocumentTypeEnum
29607
29608
  * @enum {string}
29608
29609
  */
29609
- DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson";
29610
+ DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice";
29610
29611
  /**
29611
29612
  * typeSuppliers
29612
29613
  * @enum {string}
@@ -31094,6 +31095,10 @@ export interface components {
31094
31095
  * @description Unique identifier for the payment (UUID format). Used for referencing this payment in the system.
31095
31096
  */
31096
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;
31097
31102
  /**
31098
31103
  * Amount
31099
31104
  * @description Payment amount in the specified currency (should be treated as a number). The actual amount provided by the customer.
@@ -31179,6 +31184,33 @@ export interface components {
31179
31184
  date: string;
31180
31185
  customer: components["schemas"]["CustomerSharedSchema"];
31181
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
+ };
31182
31214
  /** PromotionsAndOffersSharedSchema */
31183
31215
  PromotionsAndOffersSharedSchema: {
31184
31216
  /**
@@ -36518,7 +36550,11 @@ export interface components {
36518
36550
  };
36519
36551
  /** CreatePurchaseQuotationSchema */
36520
36552
  CreatePurchaseQuotationSchema: {
36521
- /** Supplier */
36553
+ /**
36554
+ * Supplier
36555
+ * @description - supplier id
36556
+ * - use route /api/v1/suppliers/?type=children and filter by isActive equal to true
36557
+ */
36522
36558
  supplier: number;
36523
36559
  /** Branch */
36524
36560
  branch: number;
@@ -37080,7 +37116,11 @@ export interface components {
37080
37116
  };
37081
37117
  /** CreatePurchaseOrderSchema */
37082
37118
  CreatePurchaseOrderSchema: {
37083
- /** Supplier */
37119
+ /**
37120
+ * Supplier
37121
+ * @description - supplier id
37122
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
37123
+ */
37084
37124
  supplier: number;
37085
37125
  /** Branch */
37086
37126
  branch: number;
@@ -37434,7 +37474,8 @@ export interface components {
37434
37474
  CreateUpdatePurchaseReturnOrderSchema: {
37435
37475
  /**
37436
37476
  * Supplier
37437
- * @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
37438
37479
  */
37439
37480
  supplier?: number;
37440
37481
  /** Branch */
@@ -38041,7 +38082,11 @@ export interface components {
38041
38082
  date: string;
38042
38083
  /** Referencenumber */
38043
38084
  referenceNumber: string | null;
38044
- /** Supplier */
38085
+ /**
38086
+ * Supplier
38087
+ * @description - supplier id
38088
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
38089
+ */
38045
38090
  supplier: number;
38046
38091
  /**
38047
38092
  * Purchasequotation
@@ -38229,7 +38274,11 @@ export interface components {
38229
38274
  date: string;
38230
38275
  /** Referencenumber */
38231
38276
  referenceNumber: string | null;
38232
- /** Supplier */
38277
+ /**
38278
+ * Supplier
38279
+ * @description - supplier id
38280
+ * - use route api/v1/suppliers/?type=children and filter by isActive equal to true
38281
+ */
38233
38282
  supplier: number;
38234
38283
  /**
38235
38284
  * Departmentid
@@ -39112,7 +39161,8 @@ export interface components {
39112
39161
  CreateUpdatePurchaseReturnInvoiceSchema: {
39113
39162
  /**
39114
39163
  * Supplier
39115
- * @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
39116
39166
  */
39117
39167
  supplier?: number;
39118
39168
  /** Branch */
@@ -43336,7 +43386,8 @@ export interface components {
43336
43386
  CreateUpdateSalesQuotationSchema: {
43337
43387
  /**
43338
43388
  * Customer
43339
- * @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
43340
43391
  */
43341
43392
  customer: number;
43342
43393
  /**
@@ -45501,7 +45552,8 @@ export interface components {
45501
45552
  CreateUpdateSalesOrderSchema: {
45502
45553
  /**
45503
45554
  * Customer
45504
- * @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
45505
45557
  */
45506
45558
  customer: number;
45507
45559
  /**
@@ -47144,7 +47196,8 @@ export interface components {
47144
47196
  recognitionStartDate?: string;
47145
47197
  /**
47146
47198
  * Customer
47147
- * @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
47148
47201
  */
47149
47202
  customer?: number;
47150
47203
  /**
@@ -47739,7 +47792,8 @@ export interface components {
47739
47792
  CreateUpdateSalesReturnOrderSchema: {
47740
47793
  /**
47741
47794
  * Customer
47742
- * @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
47743
47797
  */
47744
47798
  customer?: number;
47745
47799
  /** Password */
@@ -48202,7 +48256,8 @@ export interface components {
48202
48256
  CreateUpdateSalesReturnInvoiceSchema: {
48203
48257
  /**
48204
48258
  * Customer
48205
- * @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
48206
48261
  */
48207
48262
  customer?: number;
48208
48263
  /** Password */
@@ -62653,7 +62708,7 @@ export interface operations {
62653
62708
  /** @description Type of customer to get */
62654
62709
  type?: "parents" | "children";
62655
62710
  /** @description type of document for listing customers, example : receiptVoucher */
62656
- documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson";
62711
+ documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher" | "downPayment" | "goodsDeliveryNote" | "salesPerson" | "returnOrder" | "returnInvoice";
62657
62712
  search?: string | null;
62658
62713
  };
62659
62714
  header?: never;
@@ -63317,7 +63372,7 @@ export interface operations {
63317
63372
  /** @description Type of supplier to get */
63318
63373
  type?: "parents" | "children";
63319
63374
  /** @description type of document for listing suppliers, example : purchaseRefundVoucher */
63320
- documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson";
63375
+ documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice";
63321
63376
  search?: string | null;
63322
63377
  /** @description Branch ID */
63323
63378
  branch?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1173",
3
+ "version": "1.0.1175",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],