@erp-galoper/types 1.0.1006 → 1.0.1008

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 +55 -13
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -11842,6 +11842,7 @@ export interface paths {
11842
11842
  * - itemPackageNotAllowed
11843
11843
  * - serialNumberExists
11844
11844
  * - batchNumberExists
11845
+ * - goodsReceiptNote+item+itemPackage+unitOfMeasureConflict
11845
11846
  *
11846
11847
  * - 403: - permissionDenied
11847
11848
  * - noBranchAccess
@@ -11918,6 +11919,7 @@ export interface paths {
11918
11919
  * - ReceiptNoteSourceIsPurchaseOrder
11919
11920
  * - serialNumberExists
11920
11921
  * - batchNumberExists
11922
+ * - goodsReceiptNote+item+itemPackage+unitOfMeasureConflict
11921
11923
  *
11922
11924
  * - 403: - permissionDenied
11923
11925
  * - noBranchAccess
@@ -17343,6 +17345,7 @@ export interface paths {
17343
17345
  * - itemNotInOrder
17344
17346
  * - itemNotInInvoice
17345
17347
  * - quantityOrderedIsRequired
17348
+ * - goodsDeliveryNote+item+itemPackage+unitOfMeasureConflict
17346
17349
  * - 403: - noModuleAccess
17347
17350
  * - permissionDenied
17348
17351
  * - noBranchAccess
@@ -17419,6 +17422,7 @@ export interface paths {
17419
17422
  * - branchDoesNotExist
17420
17423
  * - itemNotInOrder
17421
17424
  * - itemNotInInvoice
17425
+ * - goodsDeliveryNote+item+itemPackage+unitOfMeasureConflict
17422
17426
  *
17423
17427
  * - 403: - noModuleAccess
17424
17428
  * - permissionDenied
@@ -25330,11 +25334,8 @@ export interface components {
25330
25334
  * Format: uuid
25331
25335
  */
25332
25336
  id: string;
25333
- /**
25334
- * Expirydate
25335
- * Format: date
25336
- */
25337
- expiryDate: string;
25337
+ /** Expirydate */
25338
+ expiryDate: string | null;
25338
25339
  /** Number */
25339
25340
  number: string;
25340
25341
  /** Quantity */
@@ -25346,8 +25347,11 @@ export interface components {
25346
25347
  BatchAllocationRequest: {
25347
25348
  /** Item */
25348
25349
  item: number;
25349
- /** Itempackage */
25350
- itemPackage?: number;
25350
+ /**
25351
+ * Itempackage
25352
+ * Format: uuid
25353
+ */
25354
+ itemPackage?: string;
25351
25355
  /** Quantity */
25352
25356
  quantity: number;
25353
25357
  type: components["schemas"]["ResourceType"];
@@ -37194,6 +37198,11 @@ export interface components {
37194
37198
  description?: string | null;
37195
37199
  status: components["schemas"]["InternalStatusOnReturnValueChoices"];
37196
37200
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
37201
+ /**
37202
+ * Candelete
37203
+ * @description Indicates if the receipt note can be deleted
37204
+ */
37205
+ canDelete: boolean;
37197
37206
  /**
37198
37207
  * Items
37199
37208
  * @description List of items in the goods receipt
@@ -37339,9 +37348,23 @@ export interface components {
37339
37348
  * @description from /me, should be filtered by branch
37340
37349
  */
37341
37350
  warehouse: number;
37342
- /** Purchaseorder */
37351
+ /**
37352
+ * Purchaseorder
37353
+ * @description
37354
+ * - if goods_receipt_note_source is purchase_order,
37355
+ * - get the purchase orders with approval status approved or not_required,
37356
+ * - when getting the purchase order, use query param grn = true
37357
+ *
37358
+ */
37343
37359
  purchaseOrder?: string | null;
37344
- /** Purchaseinvoice */
37360
+ /**
37361
+ * Purchaseinvoice
37362
+ * @description
37363
+ * - if goods_receipt_note_source is purchase_invoice,
37364
+ * - get the purchase invoice with approval status approved or not_required,
37365
+ * - when getting the purchase invoice, use query param grn = true
37366
+ *
37367
+ */
37345
37368
  purchaseInvoice?: string | null;
37346
37369
  /** Referencenumber */
37347
37370
  referenceNumber?: string | null;
@@ -47332,6 +47355,11 @@ export interface components {
47332
47355
  * @description Additional notes regarding the delivery note
47333
47356
  */
47334
47357
  notes: string | null;
47358
+ /**
47359
+ * Candelete
47360
+ * @description Indicates if the delivery note can be deleted
47361
+ */
47362
+ canDelete: boolean;
47335
47363
  /**
47336
47364
  * Items
47337
47365
  * @description List of items in the goods delivery note
@@ -47441,12 +47469,20 @@ export interface components {
47441
47469
  warehouse: number;
47442
47470
  /**
47443
47471
  * Salesorder
47444
- * @description if goods_delivery_note_source is sales_order, its approval status should be approved or not_required
47472
+ * @description
47473
+ * - if goods_delivery_note_source is sales_order,
47474
+ * - get the sales orders with approval status approved or not_required,
47475
+ * - when getting the sales order, use query param gdn = true
47476
+ *
47445
47477
  */
47446
47478
  salesOrder?: string | null;
47447
47479
  /**
47448
47480
  * Salesinvoice
47449
- * @description if goods_delivery_note_source is sales_invoice, its approval status should be approved or not_required
47481
+ * @description
47482
+ * - if goods_delivery_note_source is sales_invoice,
47483
+ * - get the sales invoices with approval status approved or not_required,
47484
+ * - when getting the sales invoice, use query param gdn = true
47485
+ *
47450
47486
  */
47451
47487
  salesInvoice?: string | null;
47452
47488
  /** Referencenumber */
@@ -70288,7 +70324,9 @@ export interface operations {
70288
70324
  };
70289
70325
  purchase_order_views_get_purchase_order: {
70290
70326
  parameters: {
70291
- query?: never;
70327
+ query?: {
70328
+ grn?: boolean;
70329
+ };
70292
70330
  header?: never;
70293
70331
  path: {
70294
70332
  id: string;
@@ -71554,6 +71592,7 @@ export interface operations {
71554
71592
  parameters: {
71555
71593
  query?: {
71556
71594
  type?: "default" | "creditNote" | "paymentVoucher";
71595
+ grn?: boolean;
71557
71596
  };
71558
71597
  header?: never;
71559
71598
  path: {
@@ -80178,7 +80217,9 @@ export interface operations {
80178
80217
  };
80179
80218
  sales_order_views_get_sales_order: {
80180
80219
  parameters: {
80181
- query?: never;
80220
+ query?: {
80221
+ gdn?: boolean;
80222
+ };
80182
80223
  header?: never;
80183
80224
  path: {
80184
80225
  id: string;
@@ -81802,6 +81843,7 @@ export interface operations {
81802
81843
  parameters: {
81803
81844
  query?: {
81804
81845
  type?: "default" | "salesCreditNote";
81846
+ gdn?: boolean;
81805
81847
  };
81806
81848
  header?: never;
81807
81849
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1006",
3
+ "version": "1.0.1008",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],