@workbuddy/sdk-js-vnext 1.0.157 → 1.0.159

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 (3) hide show
  1. package/index.d.ts +3820 -1346
  2. package/index.js +720 -3
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1638,6 +1638,78 @@ Requires scope: settings:read
1638
1638
  */
1639
1639
  list: (params = {}, options = {}) => this.request('PublicApiWebhookV2Controller_listEntities', params, options),
1640
1640
  },
1641
+ jobs: {
1642
+ /**
1643
+ * Register a job webhook
1644
+ * Operation: PublicApiWebhookV2Controller_registerJob
1645
+ */
1646
+ registerJob: (params = {}, options = {}) =>
1647
+ this.request('PublicApiWebhookV2Controller_registerJob', params, options),
1648
+ },
1649
+ stages: {
1650
+ /**
1651
+ * Register a stage webhook
1652
+ * Operation: PublicApiWebhookV2Controller_registerStage
1653
+ */
1654
+ registerStage: (params = {}, options = {}) =>
1655
+ this.request('PublicApiWebhookV2Controller_registerStage', params, options),
1656
+ },
1657
+ activities: {
1658
+ /**
1659
+ * Register a activity webhook
1660
+ * Operation: PublicApiWebhookV2Controller_registerActivity
1661
+ */
1662
+ registerActivity: (params = {}, options = {}) =>
1663
+ this.request('PublicApiWebhookV2Controller_registerActivity', params, options),
1664
+ },
1665
+ invoices: {
1666
+ /**
1667
+ * Register a invoice webhook
1668
+ * Operation: PublicApiWebhookV2Controller_registerInvoice
1669
+ */
1670
+ registerInvoice: (params = {}, options = {}) =>
1671
+ this.request('PublicApiWebhookV2Controller_registerInvoice', params, options),
1672
+ },
1673
+ bills: {
1674
+ /**
1675
+ * Register a bill webhook
1676
+ * Operation: PublicApiWebhookV2Controller_registerBill
1677
+ */
1678
+ registerBill: (params = {}, options = {}) =>
1679
+ this.request('PublicApiWebhookV2Controller_registerBill', params, options),
1680
+ },
1681
+ quotes: {
1682
+ /**
1683
+ * Register a quote webhook
1684
+ * Operation: PublicApiWebhookV2Controller_registerQuote
1685
+ */
1686
+ registerQuote: (params = {}, options = {}) =>
1687
+ this.request('PublicApiWebhookV2Controller_registerQuote', params, options),
1688
+ },
1689
+ opportunities: {
1690
+ /**
1691
+ * Register a opportunity webhook
1692
+ * Operation: PublicApiWebhookV2Controller_registerOpportunity
1693
+ */
1694
+ registerOpportunity: (params = {}, options = {}) =>
1695
+ this.request('PublicApiWebhookV2Controller_registerOpportunity', params, options),
1696
+ },
1697
+ leads: {
1698
+ /**
1699
+ * Register a lead webhook
1700
+ * Operation: PublicApiWebhookV2Controller_registerLead
1701
+ */
1702
+ registerLead: (params = {}, options = {}) =>
1703
+ this.request('PublicApiWebhookV2Controller_registerLead', params, options),
1704
+ },
1705
+ tasks: {
1706
+ /**
1707
+ * Register a task webhook
1708
+ * Operation: PublicApiWebhookV2Controller_registerTask
1709
+ */
1710
+ registerTask: (params = {}, options = {}) =>
1711
+ this.request('PublicApiWebhookV2Controller_registerTask', params, options),
1712
+ },
1641
1713
  regenerateSecret: {
1642
1714
  /**
1643
1715
  * Regenerate the signing secret for a webhook subscription
@@ -1648,7 +1720,7 @@ Requires scope: settings:read
1648
1720
  },
1649
1721
  test: {
1650
1722
  /**
1651
- * Send a test event to a webhook subscription
1723
+ * Queue a signed webhook.test event for this subscription
1652
1724
  * Operation: PublicApiWebhookV2Controller_test
1653
1725
  */
1654
1726
  test: (params = {}, options = {}) => this.request('PublicApiWebhookV2Controller_test', params, options),
@@ -2280,6 +2352,199 @@ Requires scope: settings:read
2280
2352
  delete: (params = {}, options = {}) => this.request('PublicQuoteController_delete', params, options),
2281
2353
  };
2282
2354
 
2355
+ this.saleOrders = {
2356
+ convertToInvoice: {
2357
+ /**
2358
+ * Convert sale order to invoice
2359
+ * Operation: PublicSaleOrderController_convertToInvoice
2360
+ */
2361
+ convertToInvoice: (params = {}, options = {}) =>
2362
+ this.request('PublicSaleOrderController_convertToInvoice', params, options),
2363
+ },
2364
+ cancel: {
2365
+ /**
2366
+ * Cancel sale order
2367
+ * Operation: PublicSaleOrderController_cancel
2368
+ */
2369
+ cancel: (params = {}, options = {}) => this.request('PublicSaleOrderController_cancel', params, options),
2370
+ },
2371
+ /**
2372
+ * List sale orders
2373
+ * Operation: PublicSaleOrderController_list
2374
+ */
2375
+ list: (params = {}, options = {}) => this.request('PublicSaleOrderController_list', params, options),
2376
+ /** Iterate all items by following cursor pagination for list(). */
2377
+ all: (params = {}, options = {}) => this.paginate('PublicSaleOrderController_list', params, options),
2378
+ /** Iterate raw pages by following cursor pagination for list(). */
2379
+ pages: (params = {}, options = {}) => this.paginatePages('PublicSaleOrderController_list', params, options),
2380
+ /**
2381
+ * Create sale order
2382
+ * Operation: PublicSaleOrderController_create
2383
+ */
2384
+ create: (params = {}, options = {}) => this.request('PublicSaleOrderController_create', params, options),
2385
+ /**
2386
+ * Get sale order
2387
+ * Operation: PublicSaleOrderController_get
2388
+ */
2389
+ get: (params = {}, options = {}) => this.request('PublicSaleOrderController_get', params, options),
2390
+ /**
2391
+ * Update sale order
2392
+ * Operation: PublicSaleOrderController_update
2393
+ */
2394
+ update: (params = {}, options = {}) => this.request('PublicSaleOrderController_update', params, options),
2395
+ };
2396
+
2397
+ this.invoices = {
2398
+ approve: {
2399
+ /**
2400
+ * Approve invoice
2401
+ * Operation: PublicInvoiceController_approve
2402
+ */
2403
+ approve: (params = {}, options = {}) => this.request('PublicInvoiceController_approve', params, options),
2404
+ },
2405
+ void: {
2406
+ /**
2407
+ * Void invoice
2408
+ * Operation: PublicInvoiceController_void
2409
+ */
2410
+ void: (params = {}, options = {}) => this.request('PublicInvoiceController_void', params, options),
2411
+ },
2412
+ /**
2413
+ * List invoices
2414
+ * Operation: PublicInvoiceController_list
2415
+ */
2416
+ list: (params = {}, options = {}) => this.request('PublicInvoiceController_list', params, options),
2417
+ /** Iterate all items by following cursor pagination for list(). */
2418
+ all: (params = {}, options = {}) => this.paginate('PublicInvoiceController_list', params, options),
2419
+ /** Iterate raw pages by following cursor pagination for list(). */
2420
+ pages: (params = {}, options = {}) => this.paginatePages('PublicInvoiceController_list', params, options),
2421
+ /**
2422
+ * Create invoice
2423
+ * Operation: PublicInvoiceController_create
2424
+ */
2425
+ create: (params = {}, options = {}) => this.request('PublicInvoiceController_create', params, options),
2426
+ /**
2427
+ * Get invoice
2428
+ * Operation: PublicInvoiceController_get
2429
+ */
2430
+ get: (params = {}, options = {}) => this.request('PublicInvoiceController_get', params, options),
2431
+ /**
2432
+ * Update invoice
2433
+ * Operation: PublicInvoiceController_update
2434
+ */
2435
+ update: (params = {}, options = {}) => this.request('PublicInvoiceController_update', params, options),
2436
+ };
2437
+
2438
+ this.bills = {
2439
+ approve: {
2440
+ /**
2441
+ * Approve bill
2442
+ * Operation: PublicBillController_approve
2443
+ */
2444
+ approve: (params = {}, options = {}) => this.request('PublicBillController_approve', params, options),
2445
+ },
2446
+ void: {
2447
+ /**
2448
+ * Void bill
2449
+ * Operation: PublicBillController_void
2450
+ */
2451
+ void: (params = {}, options = {}) => this.request('PublicBillController_void', params, options),
2452
+ },
2453
+ /**
2454
+ * List bills
2455
+ * Operation: PublicBillController_list
2456
+ */
2457
+ list: (params = {}, options = {}) => this.request('PublicBillController_list', params, options),
2458
+ /** Iterate all items by following cursor pagination for list(). */
2459
+ all: (params = {}, options = {}) => this.paginate('PublicBillController_list', params, options),
2460
+ /** Iterate raw pages by following cursor pagination for list(). */
2461
+ pages: (params = {}, options = {}) => this.paginatePages('PublicBillController_list', params, options),
2462
+ /**
2463
+ * Create bill
2464
+ * Operation: PublicBillController_create
2465
+ */
2466
+ create: (params = {}, options = {}) => this.request('PublicBillController_create', params, options),
2467
+ /**
2468
+ * Get bill
2469
+ * Operation: PublicBillController_get
2470
+ */
2471
+ get: (params = {}, options = {}) => this.request('PublicBillController_get', params, options),
2472
+ /**
2473
+ * Update bill
2474
+ * Operation: PublicBillController_update
2475
+ */
2476
+ update: (params = {}, options = {}) => this.request('PublicBillController_update', params, options),
2477
+ };
2478
+
2479
+ this.purchaseOrders = {
2480
+ submit: {
2481
+ /**
2482
+ * Submit purchase order for approval
2483
+ * Operation: PublicPurchaseOrderController_submit
2484
+ */
2485
+ submit: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_submit', params, options),
2486
+ },
2487
+ approve: {
2488
+ /**
2489
+ * Approve purchase order
2490
+ * Operation: PublicPurchaseOrderController_approve
2491
+ */
2492
+ approve: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_approve', params, options),
2493
+ },
2494
+ requestChanges: {
2495
+ /**
2496
+ * Request purchase order changes
2497
+ * Operation: PublicPurchaseOrderController_requestChanges
2498
+ */
2499
+ requestChanges: (params = {}, options = {}) =>
2500
+ this.request('PublicPurchaseOrderController_requestChanges', params, options),
2501
+ },
2502
+ markSent: {
2503
+ /**
2504
+ * Mark purchase order sent
2505
+ * Operation: PublicPurchaseOrderController_markSent
2506
+ */
2507
+ markSent: (params = {}, options = {}) =>
2508
+ this.request('PublicPurchaseOrderController_markSent', params, options),
2509
+ },
2510
+ cancel: {
2511
+ /**
2512
+ * Cancel purchase order
2513
+ * Operation: PublicPurchaseOrderController_cancel
2514
+ */
2515
+ cancel: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_cancel', params, options),
2516
+ },
2517
+ /**
2518
+ * List purchase orders
2519
+ * Operation: PublicPurchaseOrderController_list
2520
+ */
2521
+ list: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_list', params, options),
2522
+ /** Iterate all items by following cursor pagination for list(). */
2523
+ all: (params = {}, options = {}) => this.paginate('PublicPurchaseOrderController_list', params, options),
2524
+ /** Iterate raw pages by following cursor pagination for list(). */
2525
+ pages: (params = {}, options = {}) => this.paginatePages('PublicPurchaseOrderController_list', params, options),
2526
+ /**
2527
+ * Create purchase order
2528
+ * Operation: PublicPurchaseOrderController_create
2529
+ */
2530
+ create: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_create', params, options),
2531
+ /**
2532
+ * Get purchase order
2533
+ * Operation: PublicPurchaseOrderController_get
2534
+ */
2535
+ get: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_get', params, options),
2536
+ /**
2537
+ * Update purchase order
2538
+ * Operation: PublicPurchaseOrderController_update
2539
+ */
2540
+ update: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_update', params, options),
2541
+ /**
2542
+ * Delete draft purchase order
2543
+ * Operation: PublicPurchaseOrderController_delete
2544
+ */
2545
+ delete: (params = {}, options = {}) => this.request('PublicPurchaseOrderController_delete', params, options),
2546
+ };
2547
+
2283
2548
  this.mcp = {
2284
2549
  /**
2285
2550
  * Returns 405 — server-initiated SSE is not supported.
@@ -5307,6 +5572,114 @@ export const operations = [
5307
5572
  queryParams: [],
5308
5573
  hasRequestBody: false,
5309
5574
  },
5575
+ {
5576
+ operationId: 'PublicApiWebhookV2Controller_registerJob',
5577
+ resourcePath: ['webhooks', 'jobs'],
5578
+ actionName: 'registerJob',
5579
+ displayName: 'Register a job webhook',
5580
+ description: 'Register a job webhook',
5581
+ method: 'POST',
5582
+ path: '/webhooks/jobs',
5583
+ pathParams: [],
5584
+ queryParams: [],
5585
+ hasRequestBody: true,
5586
+ },
5587
+ {
5588
+ operationId: 'PublicApiWebhookV2Controller_registerStage',
5589
+ resourcePath: ['webhooks', 'stages'],
5590
+ actionName: 'registerStage',
5591
+ displayName: 'Register a stage webhook',
5592
+ description: 'Register a stage webhook',
5593
+ method: 'POST',
5594
+ path: '/webhooks/stages',
5595
+ pathParams: [],
5596
+ queryParams: [],
5597
+ hasRequestBody: true,
5598
+ },
5599
+ {
5600
+ operationId: 'PublicApiWebhookV2Controller_registerActivity',
5601
+ resourcePath: ['webhooks', 'activities'],
5602
+ actionName: 'registerActivity',
5603
+ displayName: 'Register a activity webhook',
5604
+ description: 'Register a activity webhook',
5605
+ method: 'POST',
5606
+ path: '/webhooks/activities',
5607
+ pathParams: [],
5608
+ queryParams: [],
5609
+ hasRequestBody: true,
5610
+ },
5611
+ {
5612
+ operationId: 'PublicApiWebhookV2Controller_registerInvoice',
5613
+ resourcePath: ['webhooks', 'invoices'],
5614
+ actionName: 'registerInvoice',
5615
+ displayName: 'Register a invoice webhook',
5616
+ description: 'Register a invoice webhook',
5617
+ method: 'POST',
5618
+ path: '/webhooks/invoices',
5619
+ pathParams: [],
5620
+ queryParams: [],
5621
+ hasRequestBody: true,
5622
+ },
5623
+ {
5624
+ operationId: 'PublicApiWebhookV2Controller_registerBill',
5625
+ resourcePath: ['webhooks', 'bills'],
5626
+ actionName: 'registerBill',
5627
+ displayName: 'Register a bill webhook',
5628
+ description: 'Register a bill webhook',
5629
+ method: 'POST',
5630
+ path: '/webhooks/bills',
5631
+ pathParams: [],
5632
+ queryParams: [],
5633
+ hasRequestBody: true,
5634
+ },
5635
+ {
5636
+ operationId: 'PublicApiWebhookV2Controller_registerQuote',
5637
+ resourcePath: ['webhooks', 'quotes'],
5638
+ actionName: 'registerQuote',
5639
+ displayName: 'Register a quote webhook',
5640
+ description: 'Register a quote webhook',
5641
+ method: 'POST',
5642
+ path: '/webhooks/quotes',
5643
+ pathParams: [],
5644
+ queryParams: [],
5645
+ hasRequestBody: true,
5646
+ },
5647
+ {
5648
+ operationId: 'PublicApiWebhookV2Controller_registerOpportunity',
5649
+ resourcePath: ['webhooks', 'opportunities'],
5650
+ actionName: 'registerOpportunity',
5651
+ displayName: 'Register a opportunity webhook',
5652
+ description: 'Register a opportunity webhook',
5653
+ method: 'POST',
5654
+ path: '/webhooks/opportunities',
5655
+ pathParams: [],
5656
+ queryParams: [],
5657
+ hasRequestBody: true,
5658
+ },
5659
+ {
5660
+ operationId: 'PublicApiWebhookV2Controller_registerLead',
5661
+ resourcePath: ['webhooks', 'leads'],
5662
+ actionName: 'registerLead',
5663
+ displayName: 'Register a lead webhook',
5664
+ description: 'Register a lead webhook',
5665
+ method: 'POST',
5666
+ path: '/webhooks/leads',
5667
+ pathParams: [],
5668
+ queryParams: [],
5669
+ hasRequestBody: true,
5670
+ },
5671
+ {
5672
+ operationId: 'PublicApiWebhookV2Controller_registerTask',
5673
+ resourcePath: ['webhooks', 'tasks'],
5674
+ actionName: 'registerTask',
5675
+ displayName: 'Register a task webhook',
5676
+ description: 'Register a task webhook',
5677
+ method: 'POST',
5678
+ path: '/webhooks/tasks',
5679
+ pathParams: [],
5680
+ queryParams: [],
5681
+ hasRequestBody: true,
5682
+ },
5310
5683
  {
5311
5684
  operationId: 'PublicApiWebhookV2Controller_regenerateSecret',
5312
5685
  resourcePath: ['webhooks', 'regenerateSecret'],
@@ -5323,8 +5696,8 @@ export const operations = [
5323
5696
  operationId: 'PublicApiWebhookV2Controller_test',
5324
5697
  resourcePath: ['webhooks', 'test'],
5325
5698
  actionName: 'test',
5326
- displayName: 'Send a test event to a webhook subscription',
5327
- description: 'Send a test event to a webhook subscription',
5699
+ displayName: 'Queue a signed webhook.test event for this subscription',
5700
+ description: 'Queue a signed webhook.test event for this subscription',
5328
5701
  method: 'POST',
5329
5702
  path: '/webhooks/{id}/test',
5330
5703
  pathParams: ['id'],
@@ -6433,6 +6806,350 @@ export const operations = [
6433
6806
  queryParams: [],
6434
6807
  hasRequestBody: false,
6435
6808
  },
6809
+ {
6810
+ operationId: 'PublicSaleOrderController_list',
6811
+ resourcePath: ['saleOrders'],
6812
+ actionName: 'list',
6813
+ paginatedItemsActionName: 'all',
6814
+ paginatedPagesActionName: 'pages',
6815
+ displayName: 'List sale orders',
6816
+ description: 'List sale orders',
6817
+ method: 'GET',
6818
+ path: '/sale-orders',
6819
+ pathParams: [],
6820
+ queryParams: ['customerId', 'status', 'cursor', 'limit'],
6821
+ hasRequestBody: false,
6822
+ },
6823
+ {
6824
+ operationId: 'PublicSaleOrderController_create',
6825
+ resourcePath: ['saleOrders'],
6826
+ actionName: 'create',
6827
+ displayName: 'Create sale order',
6828
+ description: 'Create sale order',
6829
+ method: 'POST',
6830
+ path: '/sale-orders',
6831
+ pathParams: [],
6832
+ queryParams: [],
6833
+ hasRequestBody: true,
6834
+ },
6835
+ {
6836
+ operationId: 'PublicSaleOrderController_get',
6837
+ resourcePath: ['saleOrders'],
6838
+ actionName: 'get',
6839
+ displayName: 'Get sale order',
6840
+ description: 'Get sale order',
6841
+ method: 'GET',
6842
+ path: '/sale-orders/{id}',
6843
+ pathParams: ['id'],
6844
+ queryParams: [],
6845
+ hasRequestBody: false,
6846
+ },
6847
+ {
6848
+ operationId: 'PublicSaleOrderController_update',
6849
+ resourcePath: ['saleOrders'],
6850
+ actionName: 'update',
6851
+ displayName: 'Update sale order',
6852
+ description: 'Update sale order',
6853
+ method: 'PATCH',
6854
+ path: '/sale-orders/{id}',
6855
+ pathParams: ['id'],
6856
+ queryParams: [],
6857
+ hasRequestBody: true,
6858
+ },
6859
+ {
6860
+ operationId: 'PublicSaleOrderController_convertToInvoice',
6861
+ resourcePath: ['saleOrders', 'convertToInvoice'],
6862
+ actionName: 'convertToInvoice',
6863
+ displayName: 'Convert sale order to invoice',
6864
+ description: 'Convert sale order to invoice',
6865
+ method: 'POST',
6866
+ path: '/sale-orders/{id}/convert-to-invoice',
6867
+ pathParams: ['id'],
6868
+ queryParams: [],
6869
+ hasRequestBody: true,
6870
+ },
6871
+ {
6872
+ operationId: 'PublicSaleOrderController_cancel',
6873
+ resourcePath: ['saleOrders', 'cancel'],
6874
+ actionName: 'cancel',
6875
+ displayName: 'Cancel sale order',
6876
+ description: 'Cancel sale order',
6877
+ method: 'POST',
6878
+ path: '/sale-orders/{id}/cancel',
6879
+ pathParams: ['id'],
6880
+ queryParams: [],
6881
+ hasRequestBody: true,
6882
+ },
6883
+ {
6884
+ operationId: 'PublicInvoiceController_list',
6885
+ resourcePath: ['invoices'],
6886
+ actionName: 'list',
6887
+ paginatedItemsActionName: 'all',
6888
+ paginatedPagesActionName: 'pages',
6889
+ displayName: 'List invoices',
6890
+ description: 'List invoices',
6891
+ method: 'GET',
6892
+ path: '/invoices',
6893
+ pathParams: [],
6894
+ queryParams: ['customerId', 'status', 'cursor', 'limit'],
6895
+ hasRequestBody: false,
6896
+ },
6897
+ {
6898
+ operationId: 'PublicInvoiceController_create',
6899
+ resourcePath: ['invoices'],
6900
+ actionName: 'create',
6901
+ displayName: 'Create invoice',
6902
+ description: 'Create invoice',
6903
+ method: 'POST',
6904
+ path: '/invoices',
6905
+ pathParams: [],
6906
+ queryParams: [],
6907
+ hasRequestBody: true,
6908
+ },
6909
+ {
6910
+ operationId: 'PublicInvoiceController_get',
6911
+ resourcePath: ['invoices'],
6912
+ actionName: 'get',
6913
+ displayName: 'Get invoice',
6914
+ description: 'Get invoice',
6915
+ method: 'GET',
6916
+ path: '/invoices/{id}',
6917
+ pathParams: ['id'],
6918
+ queryParams: [],
6919
+ hasRequestBody: false,
6920
+ },
6921
+ {
6922
+ operationId: 'PublicInvoiceController_update',
6923
+ resourcePath: ['invoices'],
6924
+ actionName: 'update',
6925
+ displayName: 'Update invoice',
6926
+ description: 'Update invoice',
6927
+ method: 'PATCH',
6928
+ path: '/invoices/{id}',
6929
+ pathParams: ['id'],
6930
+ queryParams: [],
6931
+ hasRequestBody: true,
6932
+ },
6933
+ {
6934
+ operationId: 'PublicInvoiceController_approve',
6935
+ resourcePath: ['invoices', 'approve'],
6936
+ actionName: 'approve',
6937
+ displayName: 'Approve invoice',
6938
+ description: 'Approve invoice',
6939
+ method: 'POST',
6940
+ path: '/invoices/{id}/approve',
6941
+ pathParams: ['id'],
6942
+ queryParams: [],
6943
+ hasRequestBody: true,
6944
+ },
6945
+ {
6946
+ operationId: 'PublicInvoiceController_void',
6947
+ resourcePath: ['invoices', 'void'],
6948
+ actionName: 'void',
6949
+ displayName: 'Void invoice',
6950
+ description: 'Void invoice',
6951
+ method: 'POST',
6952
+ path: '/invoices/{id}/void',
6953
+ pathParams: ['id'],
6954
+ queryParams: [],
6955
+ hasRequestBody: true,
6956
+ },
6957
+ {
6958
+ operationId: 'PublicBillController_list',
6959
+ resourcePath: ['bills'],
6960
+ actionName: 'list',
6961
+ paginatedItemsActionName: 'all',
6962
+ paginatedPagesActionName: 'pages',
6963
+ displayName: 'List bills',
6964
+ description: 'List bills',
6965
+ method: 'GET',
6966
+ path: '/bills',
6967
+ pathParams: [],
6968
+ queryParams: ['supplierId', 'status', 'cursor', 'limit'],
6969
+ hasRequestBody: false,
6970
+ },
6971
+ {
6972
+ operationId: 'PublicBillController_create',
6973
+ resourcePath: ['bills'],
6974
+ actionName: 'create',
6975
+ displayName: 'Create bill',
6976
+ description: 'Create bill',
6977
+ method: 'POST',
6978
+ path: '/bills',
6979
+ pathParams: [],
6980
+ queryParams: [],
6981
+ hasRequestBody: true,
6982
+ },
6983
+ {
6984
+ operationId: 'PublicBillController_get',
6985
+ resourcePath: ['bills'],
6986
+ actionName: 'get',
6987
+ displayName: 'Get bill',
6988
+ description: 'Get bill',
6989
+ method: 'GET',
6990
+ path: '/bills/{id}',
6991
+ pathParams: ['id'],
6992
+ queryParams: [],
6993
+ hasRequestBody: false,
6994
+ },
6995
+ {
6996
+ operationId: 'PublicBillController_update',
6997
+ resourcePath: ['bills'],
6998
+ actionName: 'update',
6999
+ displayName: 'Update bill',
7000
+ description: 'Update bill',
7001
+ method: 'PATCH',
7002
+ path: '/bills/{id}',
7003
+ pathParams: ['id'],
7004
+ queryParams: [],
7005
+ hasRequestBody: true,
7006
+ },
7007
+ {
7008
+ operationId: 'PublicBillController_approve',
7009
+ resourcePath: ['bills', 'approve'],
7010
+ actionName: 'approve',
7011
+ displayName: 'Approve bill',
7012
+ description: 'Approve bill',
7013
+ method: 'POST',
7014
+ path: '/bills/{id}/approve',
7015
+ pathParams: ['id'],
7016
+ queryParams: [],
7017
+ hasRequestBody: true,
7018
+ },
7019
+ {
7020
+ operationId: 'PublicBillController_void',
7021
+ resourcePath: ['bills', 'void'],
7022
+ actionName: 'void',
7023
+ displayName: 'Void bill',
7024
+ description: 'Void bill',
7025
+ method: 'POST',
7026
+ path: '/bills/{id}/void',
7027
+ pathParams: ['id'],
7028
+ queryParams: [],
7029
+ hasRequestBody: true,
7030
+ },
7031
+ {
7032
+ operationId: 'PublicPurchaseOrderController_list',
7033
+ resourcePath: ['purchaseOrders'],
7034
+ actionName: 'list',
7035
+ paginatedItemsActionName: 'all',
7036
+ paginatedPagesActionName: 'pages',
7037
+ displayName: 'List purchase orders',
7038
+ description: 'List purchase orders',
7039
+ method: 'GET',
7040
+ path: '/purchase-orders',
7041
+ pathParams: [],
7042
+ queryParams: ['supplierId', 'status', 'cursor', 'limit'],
7043
+ hasRequestBody: false,
7044
+ },
7045
+ {
7046
+ operationId: 'PublicPurchaseOrderController_create',
7047
+ resourcePath: ['purchaseOrders'],
7048
+ actionName: 'create',
7049
+ displayName: 'Create purchase order',
7050
+ description: 'Create purchase order',
7051
+ method: 'POST',
7052
+ path: '/purchase-orders',
7053
+ pathParams: [],
7054
+ queryParams: [],
7055
+ hasRequestBody: true,
7056
+ },
7057
+ {
7058
+ operationId: 'PublicPurchaseOrderController_get',
7059
+ resourcePath: ['purchaseOrders'],
7060
+ actionName: 'get',
7061
+ displayName: 'Get purchase order',
7062
+ description: 'Get purchase order',
7063
+ method: 'GET',
7064
+ path: '/purchase-orders/{id}',
7065
+ pathParams: ['id'],
7066
+ queryParams: [],
7067
+ hasRequestBody: false,
7068
+ },
7069
+ {
7070
+ operationId: 'PublicPurchaseOrderController_update',
7071
+ resourcePath: ['purchaseOrders'],
7072
+ actionName: 'update',
7073
+ displayName: 'Update purchase order',
7074
+ description: 'Update purchase order',
7075
+ method: 'PATCH',
7076
+ path: '/purchase-orders/{id}',
7077
+ pathParams: ['id'],
7078
+ queryParams: [],
7079
+ hasRequestBody: true,
7080
+ },
7081
+ {
7082
+ operationId: 'PublicPurchaseOrderController_delete',
7083
+ resourcePath: ['purchaseOrders'],
7084
+ actionName: 'delete',
7085
+ displayName: 'Delete draft purchase order',
7086
+ description: 'Delete draft purchase order',
7087
+ method: 'DELETE',
7088
+ path: '/purchase-orders/{id}',
7089
+ pathParams: ['id'],
7090
+ queryParams: [],
7091
+ hasRequestBody: false,
7092
+ },
7093
+ {
7094
+ operationId: 'PublicPurchaseOrderController_submit',
7095
+ resourcePath: ['purchaseOrders', 'submit'],
7096
+ actionName: 'submit',
7097
+ displayName: 'Submit purchase order for approval',
7098
+ description: 'Submit purchase order for approval',
7099
+ method: 'POST',
7100
+ path: '/purchase-orders/{id}/submit',
7101
+ pathParams: ['id'],
7102
+ queryParams: [],
7103
+ hasRequestBody: true,
7104
+ },
7105
+ {
7106
+ operationId: 'PublicPurchaseOrderController_approve',
7107
+ resourcePath: ['purchaseOrders', 'approve'],
7108
+ actionName: 'approve',
7109
+ displayName: 'Approve purchase order',
7110
+ description: 'Approve purchase order',
7111
+ method: 'POST',
7112
+ path: '/purchase-orders/{id}/approve',
7113
+ pathParams: ['id'],
7114
+ queryParams: [],
7115
+ hasRequestBody: true,
7116
+ },
7117
+ {
7118
+ operationId: 'PublicPurchaseOrderController_requestChanges',
7119
+ resourcePath: ['purchaseOrders', 'requestChanges'],
7120
+ actionName: 'requestChanges',
7121
+ displayName: 'Request purchase order changes',
7122
+ description: 'Request purchase order changes',
7123
+ method: 'POST',
7124
+ path: '/purchase-orders/{id}/request-changes',
7125
+ pathParams: ['id'],
7126
+ queryParams: [],
7127
+ hasRequestBody: true,
7128
+ },
7129
+ {
7130
+ operationId: 'PublicPurchaseOrderController_markSent',
7131
+ resourcePath: ['purchaseOrders', 'markSent'],
7132
+ actionName: 'markSent',
7133
+ displayName: 'Mark purchase order sent',
7134
+ description: 'Mark purchase order sent',
7135
+ method: 'POST',
7136
+ path: '/purchase-orders/{id}/mark-sent',
7137
+ pathParams: ['id'],
7138
+ queryParams: [],
7139
+ hasRequestBody: true,
7140
+ },
7141
+ {
7142
+ operationId: 'PublicPurchaseOrderController_cancel',
7143
+ resourcePath: ['purchaseOrders', 'cancel'],
7144
+ actionName: 'cancel',
7145
+ displayName: 'Cancel purchase order',
7146
+ description: 'Cancel purchase order',
7147
+ method: 'POST',
7148
+ path: '/purchase-orders/{id}/cancel',
7149
+ pathParams: ['id'],
7150
+ queryParams: [],
7151
+ hasRequestBody: true,
7152
+ },
6436
7153
  {
6437
7154
  operationId: 'McpV3StreamableController_handleGet',
6438
7155
  resourcePath: ['mcp'],