mcp-zenskar 1.1.6 → 1.1.7

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/package.json +1 -1
  2. package/src/mcp-config.json +159 -285
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-zenskar",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Model Context Protocol (MCP) server for Zenskar API - customer management, invoicing, and billing operations",
5
5
  "main": "src/server.js",
6
6
  "bin": {
@@ -1954,7 +1954,7 @@
1954
1954
  }
1955
1955
  ],
1956
1956
  "requestTemplate": {
1957
- "url": "/invoice/{invoiceId}/approve",
1957
+ "url": "/invoices/{invoiceId}/approve",
1958
1958
  "method": "PATCH",
1959
1959
  "headers": {
1960
1960
  "Content-Type": "application/json"
@@ -2032,9 +2032,9 @@
2032
2032
  },
2033
2033
  {
2034
2034
  "name": "phone_number",
2035
- "description": "Business Entity phone number with country code (Required).",
2035
+ "description": "Business Entity phone number with country code (optional).",
2036
2036
  "type": "string",
2037
- "required": true,
2037
+ "required": false,
2038
2038
  "position": "body",
2039
2039
  "default": "+911234567890"
2040
2040
  },
@@ -2470,9 +2470,9 @@
2470
2470
  },
2471
2471
  {
2472
2472
  "name": "end_date",
2473
- "description": "Contract end date in ISO 8601 format (e.g., '2025-12-31T23:59:59.999999').",
2473
+ "description": "Contract end date in ISO 8601 format (e.g., '2025-12-31T23:59:59.999999'). Optional — omit for open-ended contracts.",
2474
2474
  "type": "string",
2475
- "required": true,
2475
+ "required": false,
2476
2476
  "position": "body"
2477
2477
  },
2478
2478
  {
@@ -3074,15 +3074,15 @@
3074
3074
  },
3075
3075
  {
3076
3076
  "name": "from_date",
3077
- "description": "Start date of the billing period (e.g. 2026-03-01).",
3078
- "type": "string",
3077
+ "description": "Start date of the billing period as a UNIX timestamp in seconds (e.g. 1709251200 for 2024-03-01). Must be an integer, NOT a date string.",
3078
+ "type": "number",
3079
3079
  "required": true,
3080
3080
  "position": "body"
3081
3081
  },
3082
3082
  {
3083
3083
  "name": "to_date",
3084
- "description": "End date of the billing period (e.g. 2026-03-31).",
3085
- "type": "string",
3084
+ "description": "End date of the billing period as a UNIX timestamp in seconds (e.g. 1711929600 for 2024-03-31). Must be an integer, NOT a date string.",
3085
+ "type": "number",
3086
3086
  "required": true,
3087
3087
  "position": "body"
3088
3088
  }
@@ -3258,34 +3258,41 @@
3258
3258
  },
3259
3259
  {
3260
3260
  "name": "createPayment",
3261
- "description": "Record a payment against an invoice. Payment method enum: card, cash, check, charge_back, bank_transfer, direct_debit, other, credits, etc. Type enum: payment, refund, payment_reversal, authorization, tax_withheld. For manual payments use payment_method='other' and type='payment'. Note: customer_id is required.",
3261
+ "description": "Record a payment. Link to invoices via payment_parts array. Payment method enum: card, cash, check, charge_back, bank_transfer, direct_debit, other, credits, etc. Type enum: payment, refund, payment_reversal, authorization, tax_withheld. For manual payments use payment_method='other' and type='payment'.",
3262
3262
  "args": [
3263
3263
  {
3264
- "name": "invoice_id",
3265
- "description": "UUID of the invoice this payment is for.",
3264
+ "name": "customer_id",
3265
+ "description": "UUID of the customer making the payment.",
3266
3266
  "type": "string",
3267
+ "required": false,
3268
+ "position": "body"
3269
+ },
3270
+ {
3271
+ "name": "amount",
3272
+ "description": "Total payment amount in the smallest currency unit (e.g. cents).",
3273
+ "type": "number",
3267
3274
  "required": true,
3268
3275
  "position": "body"
3269
3276
  },
3270
3277
  {
3271
- "name": "customer_id",
3272
- "description": "UUID of the customer making the payment.",
3278
+ "name": "currency_code",
3279
+ "description": "Three-letter ISO 4217 currency code (e.g. USD).",
3273
3280
  "type": "string",
3274
3281
  "required": true,
3275
3282
  "position": "body"
3276
3283
  },
3277
3284
  {
3278
- "name": "amount",
3279
- "description": "Payment amount in the currency specified.",
3280
- "type": "number",
3281
- "required": true,
3285
+ "name": "payment_parts",
3286
+ "description": "Array of invoice allocations. Each element: {invoice_id: 'UUID', amount: 10000}. Links the payment to one or more invoices.",
3287
+ "type": "array",
3288
+ "required": false,
3282
3289
  "position": "body"
3283
3290
  },
3284
3291
  {
3285
3292
  "name": "payment_method",
3286
3293
  "description": "Payment method: card, cash, check, charge_back, bank_transfer, direct_debit, other, credits, ach_credit_transfer, etc. Use 'other' for manual payments.",
3287
3294
  "type": "string",
3288
- "required": true,
3295
+ "required": false,
3289
3296
  "position": "body",
3290
3297
  "enum": [
3291
3298
  "card",
@@ -3303,13 +3310,6 @@
3303
3310
  "ach_credit_transfer"
3304
3311
  ]
3305
3312
  },
3306
- {
3307
- "name": "currency_code",
3308
- "description": "Three-letter ISO 4217 currency code (e.g. USD).",
3309
- "type": "string",
3310
- "required": true,
3311
- "position": "body"
3312
- },
3313
3313
  {
3314
3314
  "name": "type",
3315
3315
  "description": "Payment type: payment, refund, payment_reversal, authorization, or tax_withheld.",
@@ -3325,12 +3325,26 @@
3325
3325
  "tax_withheld"
3326
3326
  ]
3327
3327
  },
3328
+ {
3329
+ "name": "status",
3330
+ "description": "Payment status.",
3331
+ "type": "string",
3332
+ "required": false,
3333
+ "position": "body"
3334
+ },
3328
3335
  {
3329
3336
  "name": "external_id",
3330
3337
  "description": "External reference ID for this payment.",
3331
3338
  "type": "string",
3332
3339
  "required": false,
3333
3340
  "position": "body"
3341
+ },
3342
+ {
3343
+ "name": "timestamp",
3344
+ "description": "Payment timestamp in ISO 8601 format.",
3345
+ "type": "string",
3346
+ "required": false,
3347
+ "position": "body"
3334
3348
  }
3335
3349
  ],
3336
3350
  "requestTemplate": {
@@ -3346,7 +3360,7 @@
3346
3360
  },
3347
3361
  {
3348
3362
  "name": "updatePayment",
3349
- "description": "Update a payment's details such as status.",
3363
+ "description": "Update a payment's invoice allocations (payment_parts).",
3350
3364
  "args": [
3351
3365
  {
3352
3366
  "name": "paymentId",
@@ -3356,16 +3370,9 @@
3356
3370
  "position": "path"
3357
3371
  },
3358
3372
  {
3359
- "name": "status",
3360
- "description": "New payment status.",
3361
- "type": "string",
3362
- "required": false,
3363
- "position": "body"
3364
- },
3365
- {
3366
- "name": "amount",
3367
- "description": "Updated payment amount.",
3368
- "type": "number",
3373
+ "name": "payment_parts",
3374
+ "description": "Updated array of invoice allocations. Each element: {invoice_id: 'UUID', amount: 10000}.",
3375
+ "type": "array",
3369
3376
  "required": false,
3370
3377
  "position": "body"
3371
3378
  }
@@ -3841,10 +3848,10 @@
3841
3848
  "description": "Create a new manual journal entry with debit and credit lines.",
3842
3849
  "args": [
3843
3850
  {
3844
- "name": "date",
3845
- "description": "Date of the journal entry (YYYY-MM-DD).",
3851
+ "name": "posted_at",
3852
+ "description": "Posting date of the journal entry in ISO 8601 format (e.g., '2026-01-15T00:00:00').",
3846
3853
  "type": "string",
3847
- "required": true,
3854
+ "required": false,
3848
3855
  "position": "body"
3849
3856
  },
3850
3857
  {
@@ -3863,17 +3870,25 @@
3863
3870
  },
3864
3871
  {
3865
3872
  "name": "journal_lines",
3866
- "description": "Array of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural, integers in cents). Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}].",
3873
+ "description": "Array of journal lines. Each line requires: {account_id, debits, credits, currency}. Use 'debits' and 'credits' (plural, integers in cents). Example: [{account_id:'...', debits:10000, credits:0, currency:'USD'}, {account_id:'...', debits:0, credits:10000, currency:'USD'}]. Optional tags: customer_id, contract_id, invoice_id, custom_tags.",
3867
3874
  "type": "array",
3868
3875
  "required": true,
3869
3876
  "position": "body"
3870
3877
  },
3871
3878
  {
3872
- "name": "reference",
3873
- "description": "External reference number.",
3874
- "type": "string",
3879
+ "name": "custom_data",
3880
+ "description": "Additional metadata as key-value pairs.",
3881
+ "type": "object",
3875
3882
  "required": false,
3876
3883
  "position": "body"
3884
+ },
3885
+ {
3886
+ "name": "status_type",
3887
+ "description": "Journal entry status (default: 'posted').",
3888
+ "type": "string",
3889
+ "required": false,
3890
+ "position": "body",
3891
+ "default": "posted"
3877
3892
  }
3878
3893
  ],
3879
3894
  "requestTemplate": {
@@ -4185,7 +4200,7 @@
4185
4200
  },
4186
4201
  {
4187
4202
  "name": "createProductPricing",
4188
- "description": "Create a new pricing configuration for a product.",
4203
+ "description": "Create a new pricing configuration for a product. The pricing_data object is a discriminated union — the 'pricing_type' field determines which pricing model schema to use.",
4189
4204
  "args": [
4190
4205
  {
4191
4206
  "name": "productId",
@@ -4196,45 +4211,45 @@
4196
4211
  },
4197
4212
  {
4198
4213
  "name": "name",
4199
- "description": "Name of the pricing.",
4214
+ "description": "Name of the pricing (optional).",
4200
4215
  "type": "string",
4201
- "required": true,
4202
- "position": "body"
4203
- },
4204
- {
4205
- "name": "pricing_model",
4206
- "description": "Pricing model type (e.g., 'flat_fee', 'per_unit', 'tiered', 'volume', 'staircase', 'percentage').",
4207
- "type": "string",
4208
- "required": true,
4216
+ "required": false,
4209
4217
  "position": "body"
4210
4218
  },
4211
4219
  {
4212
- "name": "currency",
4213
- "description": "Currency code (e.g., 'USD').",
4220
+ "name": "description",
4221
+ "description": "Description of this pricing configuration.",
4214
4222
  "type": "string",
4215
4223
  "required": false,
4216
4224
  "position": "body"
4217
4225
  },
4218
4226
  {
4219
4227
  "name": "pricing_data",
4220
- "description": "Pricing data object. Must include 'pricing_type' discriminator matching pricing_model. For flat_fee: {pricing_type:'flat_fee', unit_amount:10000} (amount in cents). For per_unit: {pricing_type:'per_unit', unit_amount:500}.",
4228
+ "description": "Pricing data object (required). Must include 'pricing_type' discriminator. Supported types: flat_fee: {pricing_type:'flat_fee', unit_amount:10000} (amount in cents). per_unit: {pricing_type:'per_unit', unit_amount:500}. tiered: {pricing_type:'tiered', tiers:[{from:0, to:100, unit_amount:1000}, {from:100, to:null, unit_amount:500}]}. volume: {pricing_type:'volume', tiers:[{from:0, to:100, unit_amount:1000}, {from:100, to:null, unit_amount:500}]}. percentage: {pricing_type:'percentage', percentage:5.0}. package: {pricing_type:'package', package_size:10, unit_amount:5000}. staircase/step: {pricing_type:'step', tiers:[...]}. matrix: {pricing_type:'matrix', dimensions:[...], values:[...]}.",
4221
4229
  "type": "object",
4222
4230
  "required": true,
4223
4231
  "position": "body"
4224
4232
  },
4225
4233
  {
4226
- "name": "billing_frequency",
4227
- "description": "Billing frequency (e.g., 'monthly', 'quarterly', 'annually').",
4228
- "type": "string",
4234
+ "name": "billing_period",
4235
+ "description": "Billing cadence for this pricing. Object with 'cadence' (ISO 8601 duration, e.g. 'P1M' for monthly, 'P3M' for quarterly, 'P1Y' for annually) and optional 'offset'. Example: {cadence: 'P1M'}.",
4236
+ "type": "object",
4229
4237
  "required": false,
4230
4238
  "position": "body"
4231
4239
  },
4232
4240
  {
4233
- "name": "invoice_timing",
4234
- "description": "When to invoice: 'in_advance' or 'in_arrears'.",
4235
- "type": "string",
4241
+ "name": "is_recurring",
4242
+ "description": "Whether this pricing is recurring (true) or one-time (false).",
4243
+ "type": "boolean",
4236
4244
  "required": false,
4237
4245
  "position": "body"
4246
+ },
4247
+ {
4248
+ "name": "return_existing",
4249
+ "description": "If true, returns existing pricing with matching hash instead of creating a duplicate.",
4250
+ "type": "boolean",
4251
+ "required": false,
4252
+ "position": "query"
4238
4253
  }
4239
4254
  ],
4240
4255
  "requestTemplate": {
@@ -4310,7 +4325,7 @@
4310
4325
  },
4311
4326
  {
4312
4327
  "name": "createPlan",
4313
- "description": "Create a new plan (template) that defines a reusable contract structure with phases and pricing.",
4328
+ "description": "Create a new plan (template) that defines a reusable contract structure with products and pricing.",
4314
4329
  "args": [
4315
4330
  {
4316
4331
  "name": "name",
@@ -4320,22 +4335,29 @@
4320
4335
  "position": "body"
4321
4336
  },
4322
4337
  {
4323
- "name": "description",
4324
- "description": "Description of the plan.",
4338
+ "name": "currency",
4339
+ "description": "Three-letter ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').",
4325
4340
  "type": "string",
4341
+ "required": true,
4342
+ "position": "body"
4343
+ },
4344
+ {
4345
+ "name": "display_config",
4346
+ "description": "Customer-facing display content. Object with fields like title, description, etc.",
4347
+ "type": "object",
4326
4348
  "required": false,
4327
4349
  "position": "body"
4328
4350
  },
4329
4351
  {
4330
- "name": "currency",
4331
- "description": "Three-letter ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP').",
4352
+ "name": "duration",
4353
+ "description": "Billing period in ISO 8601 duration format (e.g., 'P1M' for monthly, 'P1Y' for yearly).",
4332
4354
  "type": "string",
4333
- "required": true,
4355
+ "required": false,
4334
4356
  "position": "body"
4335
4357
  },
4336
4358
  {
4337
- "name": "phases",
4338
- "description": "Array of plan phases, each with name, pricings, etc.",
4359
+ "name": "products",
4360
+ "description": "Array of products to add to plan, each with product_id and pricing configuration.",
4339
4361
  "type": "array",
4340
4362
  "required": false,
4341
4363
  "position": "body"
@@ -4346,6 +4368,20 @@
4346
4368
  "type": "object",
4347
4369
  "required": false,
4348
4370
  "position": "body"
4371
+ },
4372
+ {
4373
+ "name": "status",
4374
+ "description": "Plan status. Default: 'draft'. Options: 'draft', 'active', 'archived'.",
4375
+ "type": "string",
4376
+ "required": false,
4377
+ "position": "body"
4378
+ },
4379
+ {
4380
+ "name": "business_entity_id",
4381
+ "description": "Business entity ID for invoicing.",
4382
+ "type": "string",
4383
+ "required": false,
4384
+ "position": "body"
4349
4385
  }
4350
4386
  ],
4351
4387
  "requestTemplate": {
@@ -4580,189 +4616,6 @@
4580
4616
  "prependBody": "## Created Tax Category\n\n"
4581
4617
  }
4582
4618
  },
4583
- {
4584
- "name": "createQuote",
4585
- "description": "Create a new quote/proposal for a customer.",
4586
- "args": [
4587
- {
4588
- "name": "name",
4589
- "description": "Name/title of the quote.",
4590
- "type": "string",
4591
- "required": true,
4592
- "position": "body"
4593
- },
4594
- {
4595
- "name": "currency",
4596
- "description": "Currency code (e.g., 'USD').",
4597
- "type": "string",
4598
- "required": true,
4599
- "position": "body"
4600
- },
4601
- {
4602
- "name": "line_items",
4603
- "description": "Array of line items for the quote. Each item includes product/pricing details.",
4604
- "type": "array",
4605
- "required": true,
4606
- "position": "body"
4607
- },
4608
- {
4609
- "name": "customer_id",
4610
- "description": "The customer ID this quote is for (required for non-amendment quotes).",
4611
- "type": "string",
4612
- "required": true,
4613
- "position": "body"
4614
- },
4615
- {
4616
- "name": "description",
4617
- "description": "Description of the quote.",
4618
- "type": "string",
4619
- "required": false,
4620
- "position": "body"
4621
- },
4622
- {
4623
- "name": "start_date",
4624
- "description": "Start date for the quote (YYYY-MM-DD).",
4625
- "type": "string",
4626
- "required": true,
4627
- "position": "body"
4628
- },
4629
- {
4630
- "name": "end_date",
4631
- "description": "End date for the quote (YYYY-MM-DD).",
4632
- "type": "string",
4633
- "required": true,
4634
- "position": "body"
4635
- },
4636
- {
4637
- "name": "custom_attributes",
4638
- "description": "Custom attributes as key-value pairs.",
4639
- "type": "object",
4640
- "required": false,
4641
- "position": "body"
4642
- }
4643
- ],
4644
- "requestTemplate": {
4645
- "url": "/quotes",
4646
- "method": "POST",
4647
- "headers": {
4648
- "Content-Type": "application/json"
4649
- }
4650
- },
4651
- "responseTemplate": {
4652
- "prependBody": "## Created Quote\n\n"
4653
- }
4654
- },
4655
- {
4656
- "name": "previewQuoteEstimate",
4657
- "description": "Preview the estimated billing for a quote before creating it. Requires customer_id, currency, and line_items at minimum. Use getProductPricings to find valid product_id + pricing_id combos for line_items.",
4658
- "args": [
4659
- {
4660
- "name": "customer_id",
4661
- "description": "The customer ID for the estimate.",
4662
- "type": "string",
4663
- "required": true,
4664
- "position": "body"
4665
- },
4666
- {
4667
- "name": "currency",
4668
- "description": "Three-letter ISO 4217 currency code (e.g. USD).",
4669
- "type": "string",
4670
- "required": true,
4671
- "position": "body"
4672
- },
4673
- {
4674
- "name": "line_items",
4675
- "description": "Array of line items. Each item: {product_id, pricing_id}. The pricing_id must belong to the product_id — use getProductPricings to find valid combos.",
4676
- "type": "array",
4677
- "required": true,
4678
- "position": "body"
4679
- },
4680
- {
4681
- "name": "plan_id",
4682
- "description": "Plan ID to estimate (alternative to line_items).",
4683
- "type": "string",
4684
- "required": false,
4685
- "position": "body"
4686
- },
4687
- {
4688
- "name": "start_date",
4689
- "description": "Start date (YYYY-MM-DD).",
4690
- "type": "string",
4691
- "required": true,
4692
- "position": "body"
4693
- },
4694
- {
4695
- "name": "end_date",
4696
- "description": "End date (YYYY-MM-DD).",
4697
- "type": "string",
4698
- "required": true,
4699
- "position": "body"
4700
- },
4701
- {
4702
- "name": "phases",
4703
- "description": "Array of quote phases with pricing.",
4704
- "type": "array",
4705
- "required": false,
4706
- "position": "body"
4707
- }
4708
- ],
4709
- "requestTemplate": {
4710
- "url": "/quotes/preview",
4711
- "method": "POST",
4712
- "headers": {
4713
- "Content-Type": "application/json"
4714
- }
4715
- },
4716
- "responseTemplate": {
4717
- "prependBody": "## Quote Estimate Preview\n\n"
4718
- }
4719
- },
4720
- {
4721
- "name": "getQuoteById",
4722
- "description": "Retrieve a quote by its ID, including phases, pricing, and status.",
4723
- "args": [
4724
- {
4725
- "name": "quoteId",
4726
- "description": "The unique identifier of the quote.",
4727
- "type": "string",
4728
- "required": true,
4729
- "position": "path"
4730
- }
4731
- ],
4732
- "requestTemplate": {
4733
- "url": "/quotes/{quoteId}",
4734
- "method": "GET",
4735
- "headers": {
4736
- "Content-Type": "application/json"
4737
- }
4738
- },
4739
- "responseTemplate": {
4740
- "prependBody": "## Quote Details\n\n"
4741
- }
4742
- },
4743
- {
4744
- "name": "acceptQuote",
4745
- "description": "Accept a quote, converting it into an active contract.",
4746
- "args": [
4747
- {
4748
- "name": "quoteId",
4749
- "description": "The unique identifier of the quote to accept.",
4750
- "type": "string",
4751
- "required": true,
4752
- "position": "path"
4753
- }
4754
- ],
4755
- "requestTemplate": {
4756
- "url": "/quotes/{quoteId}/accept",
4757
- "method": "POST",
4758
- "headers": {
4759
- "Content-Type": "application/json"
4760
- }
4761
- },
4762
- "responseTemplate": {
4763
- "prependBody": "## Accepted Quote\n\n"
4764
- }
4765
- },
4766
4619
  {
4767
4620
  "name": "listJobs",
4768
4621
  "description": "Retrieve a paginated list of async jobs (invoice generation, revenue recognition, etc.).",
@@ -4838,7 +4691,7 @@
4838
4691
  "name": "first_name",
4839
4692
  "description": "First name of the contact.",
4840
4693
  "type": "string",
4841
- "required": true,
4694
+ "required": false,
4842
4695
  "position": "body"
4843
4696
  },
4844
4697
  {
@@ -4856,22 +4709,15 @@
4856
4709
  "position": "body"
4857
4710
  },
4858
4711
  {
4859
- "name": "phone",
4860
- "description": "Phone number of the contact.",
4861
- "type": "string",
4862
- "required": false,
4863
- "position": "body"
4864
- },
4865
- {
4866
- "name": "designation",
4867
- "description": "Job title/designation of the contact.",
4868
- "type": "string",
4712
+ "name": "send_contract",
4713
+ "description": "Whether to send contracts to this contact.",
4714
+ "type": "boolean",
4869
4715
  "required": false,
4870
4716
  "position": "body"
4871
4717
  },
4872
4718
  {
4873
- "name": "is_primary",
4874
- "description": "Whether this is the primary contact.",
4719
+ "name": "send_invoice",
4720
+ "description": "Whether to send invoices to this contact.",
4875
4721
  "type": "boolean",
4876
4722
  "required": false,
4877
4723
  "position": "body"
@@ -4890,7 +4736,7 @@
4890
4736
  },
4891
4737
  {
4892
4738
  "name": "updateContact",
4893
- "description": "Update an existing contact's details. Requires customer (customer ID) and email even for partial updates.",
4739
+ "description": "Update an existing contact's details. Supports partial updates.",
4894
4740
  "args": [
4895
4741
  {
4896
4742
  "name": "contactId",
@@ -4901,9 +4747,9 @@
4901
4747
  },
4902
4748
  {
4903
4749
  "name": "customer",
4904
- "description": "The customer ID (UUID) this contact belongs to. Required even for updates.",
4750
+ "description": "The customer ID (UUID) this contact belongs to.",
4905
4751
  "type": "string",
4906
- "required": true,
4752
+ "required": false,
4907
4753
  "position": "body"
4908
4754
  },
4909
4755
  {
@@ -4922,28 +4768,21 @@
4922
4768
  },
4923
4769
  {
4924
4770
  "name": "email",
4925
- "description": "Email address of the contact. Required even for updates.",
4926
- "type": "string",
4927
- "required": true,
4928
- "position": "body"
4929
- },
4930
- {
4931
- "name": "phone",
4932
- "description": "Updated phone number.",
4771
+ "description": "Updated email address.",
4933
4772
  "type": "string",
4934
4773
  "required": false,
4935
4774
  "position": "body"
4936
4775
  },
4937
4776
  {
4938
- "name": "designation",
4939
- "description": "Updated job title/designation.",
4940
- "type": "string",
4777
+ "name": "send_contract",
4778
+ "description": "Whether to send contracts to this contact.",
4779
+ "type": "boolean",
4941
4780
  "required": false,
4942
4781
  "position": "body"
4943
4782
  },
4944
4783
  {
4945
- "name": "is_primary",
4946
- "description": "Whether this is the primary contact.",
4784
+ "name": "send_invoice",
4785
+ "description": "Whether to send invoices to this contact.",
4947
4786
  "type": "boolean",
4948
4787
  "required": false,
4949
4788
  "position": "body"
@@ -5148,11 +4987,25 @@
5148
4987
  "position": "body"
5149
4988
  },
5150
4989
  {
5151
- "name": "address_type",
5152
- "description": "Type of address (e.g., 'billing', 'shipping').",
4990
+ "name": "line3",
4991
+ "description": "Address line 3.",
5153
4992
  "type": "string",
5154
4993
  "required": false,
5155
4994
  "position": "body"
4995
+ },
4996
+ {
4997
+ "name": "is_default_billing",
4998
+ "description": "Set as default billing address. Default: false.",
4999
+ "type": "boolean",
5000
+ "required": false,
5001
+ "position": "body"
5002
+ },
5003
+ {
5004
+ "name": "is_default_shipping",
5005
+ "description": "Set as default shipping address. Default: false.",
5006
+ "type": "boolean",
5007
+ "required": false,
5008
+ "position": "body"
5156
5009
  }
5157
5010
  ],
5158
5011
  "requestTemplate": {
@@ -5232,6 +5085,27 @@
5232
5085
  "type": "string",
5233
5086
  "required": false,
5234
5087
  "position": "body"
5088
+ },
5089
+ {
5090
+ "name": "line3",
5091
+ "description": "Updated address line 3.",
5092
+ "type": "string",
5093
+ "required": false,
5094
+ "position": "body"
5095
+ },
5096
+ {
5097
+ "name": "is_default_billing",
5098
+ "description": "Set as default billing address.",
5099
+ "type": "boolean",
5100
+ "required": false,
5101
+ "position": "body"
5102
+ },
5103
+ {
5104
+ "name": "is_default_shipping",
5105
+ "description": "Set as default shipping address.",
5106
+ "type": "boolean",
5107
+ "required": false,
5108
+ "position": "body"
5235
5109
  }
5236
5110
  ],
5237
5111
  "requestTemplate": {