@workbuddy/cli-vnext 1.0.162 → 1.0.164
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.
- package/dist/index.js +1775 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32969,6 +32969,1781 @@ Requires scope: settings:read`,
|
|
|
32969
32969
|
}
|
|
32970
32970
|
]
|
|
32971
32971
|
},
|
|
32972
|
+
{
|
|
32973
|
+
operationId: "PublicSaleOrderController_list",
|
|
32974
|
+
displayName: "List sale orders",
|
|
32975
|
+
description: "List sale orders",
|
|
32976
|
+
method: "GET",
|
|
32977
|
+
path: "/sale-orders",
|
|
32978
|
+
commandPath: ["sales", "sale", "orders", "list"],
|
|
32979
|
+
options: [
|
|
32980
|
+
{
|
|
32981
|
+
name: "customerId",
|
|
32982
|
+
cliName: "customer-id",
|
|
32983
|
+
optionKey: "customerId",
|
|
32984
|
+
source: "query",
|
|
32985
|
+
type: "string",
|
|
32986
|
+
required: false,
|
|
32987
|
+
description: "customer ID",
|
|
32988
|
+
lookupEndpoint: "/crm/customers"
|
|
32989
|
+
},
|
|
32990
|
+
{
|
|
32991
|
+
name: "status",
|
|
32992
|
+
cliName: "status",
|
|
32993
|
+
optionKey: "status",
|
|
32994
|
+
source: "query",
|
|
32995
|
+
type: "string",
|
|
32996
|
+
required: false,
|
|
32997
|
+
description: ""
|
|
32998
|
+
},
|
|
32999
|
+
{
|
|
33000
|
+
name: "cursor",
|
|
33001
|
+
cliName: "cursor",
|
|
33002
|
+
optionKey: "cursor",
|
|
33003
|
+
source: "query",
|
|
33004
|
+
type: "string",
|
|
33005
|
+
required: false,
|
|
33006
|
+
description: ""
|
|
33007
|
+
},
|
|
33008
|
+
{
|
|
33009
|
+
name: "limit",
|
|
33010
|
+
cliName: "limit",
|
|
33011
|
+
optionKey: "limit",
|
|
33012
|
+
source: "query",
|
|
33013
|
+
type: "integer",
|
|
33014
|
+
required: false,
|
|
33015
|
+
description: ""
|
|
33016
|
+
}
|
|
33017
|
+
],
|
|
33018
|
+
hasRequestBody: false,
|
|
33019
|
+
responseFields: [
|
|
33020
|
+
{
|
|
33021
|
+
name: "items",
|
|
33022
|
+
type: "array"
|
|
33023
|
+
},
|
|
33024
|
+
{
|
|
33025
|
+
name: "pagination",
|
|
33026
|
+
type: "object"
|
|
33027
|
+
}
|
|
33028
|
+
]
|
|
33029
|
+
},
|
|
33030
|
+
{
|
|
33031
|
+
operationId: "PublicSaleOrderController_create",
|
|
33032
|
+
displayName: "Create sale order",
|
|
33033
|
+
description: "Create sale order",
|
|
33034
|
+
method: "POST",
|
|
33035
|
+
path: "/sale-orders",
|
|
33036
|
+
commandPath: ["sales", "sale", "orders", "create"],
|
|
33037
|
+
options: [
|
|
33038
|
+
{
|
|
33039
|
+
name: "customerId",
|
|
33040
|
+
cliName: "customer-id",
|
|
33041
|
+
optionKey: "customerId",
|
|
33042
|
+
source: "body",
|
|
33043
|
+
type: "string",
|
|
33044
|
+
required: true,
|
|
33045
|
+
description: "Customer ID — use /crm/customers to look up",
|
|
33046
|
+
lookupEndpoint: "/crm/customers"
|
|
33047
|
+
},
|
|
33048
|
+
{
|
|
33049
|
+
name: "contactId",
|
|
33050
|
+
cliName: "contact-id",
|
|
33051
|
+
optionKey: "contactId",
|
|
33052
|
+
source: "body",
|
|
33053
|
+
type: "string",
|
|
33054
|
+
required: false,
|
|
33055
|
+
description: "Contact ID — use /crm/contacts to look up",
|
|
33056
|
+
lookupEndpoint: "/crm/contacts"
|
|
33057
|
+
},
|
|
33058
|
+
{
|
|
33059
|
+
name: "billingCompanyId",
|
|
33060
|
+
cliName: "billing-company-id",
|
|
33061
|
+
optionKey: "billingCompanyId",
|
|
33062
|
+
source: "body",
|
|
33063
|
+
type: "string",
|
|
33064
|
+
required: true,
|
|
33065
|
+
description: "billing company ID"
|
|
33066
|
+
},
|
|
33067
|
+
{
|
|
33068
|
+
name: "themeId",
|
|
33069
|
+
cliName: "theme-id",
|
|
33070
|
+
optionKey: "themeId",
|
|
33071
|
+
source: "body",
|
|
33072
|
+
type: "string",
|
|
33073
|
+
required: false,
|
|
33074
|
+
description: "theme ID"
|
|
33075
|
+
},
|
|
33076
|
+
{
|
|
33077
|
+
name: "priceListId",
|
|
33078
|
+
cliName: "price-list-id",
|
|
33079
|
+
optionKey: "priceListId",
|
|
33080
|
+
source: "body",
|
|
33081
|
+
type: "string",
|
|
33082
|
+
required: false,
|
|
33083
|
+
description: "price list ID"
|
|
33084
|
+
},
|
|
33085
|
+
{
|
|
33086
|
+
name: "date",
|
|
33087
|
+
cliName: "date",
|
|
33088
|
+
optionKey: "date",
|
|
33089
|
+
source: "body",
|
|
33090
|
+
type: "string",
|
|
33091
|
+
required: true,
|
|
33092
|
+
description: "",
|
|
33093
|
+
format: "date-time"
|
|
33094
|
+
},
|
|
33095
|
+
{
|
|
33096
|
+
name: "expiryDate",
|
|
33097
|
+
cliName: "expiry-date",
|
|
33098
|
+
optionKey: "expiryDate",
|
|
33099
|
+
source: "body",
|
|
33100
|
+
type: "string",
|
|
33101
|
+
required: false,
|
|
33102
|
+
description: "expiry date (ISO 8601 datetime)"
|
|
33103
|
+
},
|
|
33104
|
+
{
|
|
33105
|
+
name: "customerRef",
|
|
33106
|
+
cliName: "customer-ref",
|
|
33107
|
+
optionKey: "customerRef",
|
|
33108
|
+
source: "body",
|
|
33109
|
+
type: "string",
|
|
33110
|
+
required: false,
|
|
33111
|
+
description: ""
|
|
33112
|
+
},
|
|
33113
|
+
{
|
|
33114
|
+
name: "notes",
|
|
33115
|
+
cliName: "notes",
|
|
33116
|
+
optionKey: "notes",
|
|
33117
|
+
source: "body",
|
|
33118
|
+
type: "string",
|
|
33119
|
+
required: false,
|
|
33120
|
+
description: "Additional notes or comments"
|
|
33121
|
+
},
|
|
33122
|
+
{
|
|
33123
|
+
name: "taxInclusiveOption",
|
|
33124
|
+
cliName: "tax-inclusive-option",
|
|
33125
|
+
optionKey: "taxInclusiveOption",
|
|
33126
|
+
source: "body",
|
|
33127
|
+
type: "string",
|
|
33128
|
+
required: true,
|
|
33129
|
+
description: "",
|
|
33130
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
33131
|
+
},
|
|
33132
|
+
{
|
|
33133
|
+
name: "sections",
|
|
33134
|
+
cliName: "sections",
|
|
33135
|
+
optionKey: "sections",
|
|
33136
|
+
source: "body",
|
|
33137
|
+
type: "array",
|
|
33138
|
+
required: false,
|
|
33139
|
+
description: ""
|
|
33140
|
+
},
|
|
33141
|
+
{
|
|
33142
|
+
name: "raw-body",
|
|
33143
|
+
cliName: "raw-body",
|
|
33144
|
+
optionKey: "rawBody",
|
|
33145
|
+
source: "body",
|
|
33146
|
+
type: "object",
|
|
33147
|
+
required: false,
|
|
33148
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33149
|
+
}
|
|
33150
|
+
],
|
|
33151
|
+
hasRequestBody: true,
|
|
33152
|
+
responseFields: [
|
|
33153
|
+
{
|
|
33154
|
+
name: "item",
|
|
33155
|
+
type: "object"
|
|
33156
|
+
}
|
|
33157
|
+
]
|
|
33158
|
+
},
|
|
33159
|
+
{
|
|
33160
|
+
operationId: "PublicSaleOrderController_get",
|
|
33161
|
+
displayName: "Get sale order",
|
|
33162
|
+
description: "Get sale order",
|
|
33163
|
+
method: "GET",
|
|
33164
|
+
path: "/sale-orders/{id}",
|
|
33165
|
+
commandPath: ["sales", "sale", "orders", "get"],
|
|
33166
|
+
options: [
|
|
33167
|
+
{
|
|
33168
|
+
name: "id",
|
|
33169
|
+
cliName: "id",
|
|
33170
|
+
optionKey: "id",
|
|
33171
|
+
source: "path",
|
|
33172
|
+
type: "string",
|
|
33173
|
+
required: true,
|
|
33174
|
+
description: "Entity ID"
|
|
33175
|
+
}
|
|
33176
|
+
],
|
|
33177
|
+
hasRequestBody: false,
|
|
33178
|
+
responseFields: [
|
|
33179
|
+
{
|
|
33180
|
+
name: "item",
|
|
33181
|
+
type: "object"
|
|
33182
|
+
}
|
|
33183
|
+
]
|
|
33184
|
+
},
|
|
33185
|
+
{
|
|
33186
|
+
operationId: "PublicSaleOrderController_update",
|
|
33187
|
+
displayName: "Update sale order",
|
|
33188
|
+
description: "Update sale order",
|
|
33189
|
+
method: "PATCH",
|
|
33190
|
+
path: "/sale-orders/{id}",
|
|
33191
|
+
commandPath: ["sales", "sale", "orders", "update"],
|
|
33192
|
+
options: [
|
|
33193
|
+
{
|
|
33194
|
+
name: "id",
|
|
33195
|
+
cliName: "id",
|
|
33196
|
+
optionKey: "id",
|
|
33197
|
+
source: "path",
|
|
33198
|
+
type: "string",
|
|
33199
|
+
required: true,
|
|
33200
|
+
description: "Entity ID"
|
|
33201
|
+
},
|
|
33202
|
+
{
|
|
33203
|
+
name: "customerId",
|
|
33204
|
+
cliName: "customer-id",
|
|
33205
|
+
optionKey: "customerId",
|
|
33206
|
+
source: "body",
|
|
33207
|
+
type: "string",
|
|
33208
|
+
required: false,
|
|
33209
|
+
description: "Customer ID — use /crm/customers to look up",
|
|
33210
|
+
lookupEndpoint: "/crm/customers"
|
|
33211
|
+
},
|
|
33212
|
+
{
|
|
33213
|
+
name: "contactId",
|
|
33214
|
+
cliName: "contact-id",
|
|
33215
|
+
optionKey: "contactId",
|
|
33216
|
+
source: "body",
|
|
33217
|
+
type: "string",
|
|
33218
|
+
required: false,
|
|
33219
|
+
description: "Contact ID — use /crm/contacts to look up",
|
|
33220
|
+
lookupEndpoint: "/crm/contacts"
|
|
33221
|
+
},
|
|
33222
|
+
{
|
|
33223
|
+
name: "billingCompanyId",
|
|
33224
|
+
cliName: "billing-company-id",
|
|
33225
|
+
optionKey: "billingCompanyId",
|
|
33226
|
+
source: "body",
|
|
33227
|
+
type: "string",
|
|
33228
|
+
required: false,
|
|
33229
|
+
description: "billing company ID"
|
|
33230
|
+
},
|
|
33231
|
+
{
|
|
33232
|
+
name: "themeId",
|
|
33233
|
+
cliName: "theme-id",
|
|
33234
|
+
optionKey: "themeId",
|
|
33235
|
+
source: "body",
|
|
33236
|
+
type: "string",
|
|
33237
|
+
required: false,
|
|
33238
|
+
description: "theme ID"
|
|
33239
|
+
},
|
|
33240
|
+
{
|
|
33241
|
+
name: "priceListId",
|
|
33242
|
+
cliName: "price-list-id",
|
|
33243
|
+
optionKey: "priceListId",
|
|
33244
|
+
source: "body",
|
|
33245
|
+
type: "string",
|
|
33246
|
+
required: false,
|
|
33247
|
+
description: "price list ID"
|
|
33248
|
+
},
|
|
33249
|
+
{
|
|
33250
|
+
name: "date",
|
|
33251
|
+
cliName: "date",
|
|
33252
|
+
optionKey: "date",
|
|
33253
|
+
source: "body",
|
|
33254
|
+
type: "string",
|
|
33255
|
+
required: false,
|
|
33256
|
+
description: "",
|
|
33257
|
+
format: "date-time"
|
|
33258
|
+
},
|
|
33259
|
+
{
|
|
33260
|
+
name: "expiryDate",
|
|
33261
|
+
cliName: "expiry-date",
|
|
33262
|
+
optionKey: "expiryDate",
|
|
33263
|
+
source: "body",
|
|
33264
|
+
type: "string",
|
|
33265
|
+
required: false,
|
|
33266
|
+
description: "expiry date (ISO 8601 datetime)"
|
|
33267
|
+
},
|
|
33268
|
+
{
|
|
33269
|
+
name: "customerRef",
|
|
33270
|
+
cliName: "customer-ref",
|
|
33271
|
+
optionKey: "customerRef",
|
|
33272
|
+
source: "body",
|
|
33273
|
+
type: "string",
|
|
33274
|
+
required: false,
|
|
33275
|
+
description: ""
|
|
33276
|
+
},
|
|
33277
|
+
{
|
|
33278
|
+
name: "notes",
|
|
33279
|
+
cliName: "notes",
|
|
33280
|
+
optionKey: "notes",
|
|
33281
|
+
source: "body",
|
|
33282
|
+
type: "string",
|
|
33283
|
+
required: false,
|
|
33284
|
+
description: "Additional notes or comments"
|
|
33285
|
+
},
|
|
33286
|
+
{
|
|
33287
|
+
name: "taxInclusiveOption",
|
|
33288
|
+
cliName: "tax-inclusive-option",
|
|
33289
|
+
optionKey: "taxInclusiveOption",
|
|
33290
|
+
source: "body",
|
|
33291
|
+
type: "string",
|
|
33292
|
+
required: false,
|
|
33293
|
+
description: "",
|
|
33294
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
33295
|
+
},
|
|
33296
|
+
{
|
|
33297
|
+
name: "sections",
|
|
33298
|
+
cliName: "sections",
|
|
33299
|
+
optionKey: "sections",
|
|
33300
|
+
source: "body",
|
|
33301
|
+
type: "array",
|
|
33302
|
+
required: false,
|
|
33303
|
+
description: ""
|
|
33304
|
+
},
|
|
33305
|
+
{
|
|
33306
|
+
name: "raw-body",
|
|
33307
|
+
cliName: "raw-body",
|
|
33308
|
+
optionKey: "rawBody",
|
|
33309
|
+
source: "body",
|
|
33310
|
+
type: "object",
|
|
33311
|
+
required: false,
|
|
33312
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33313
|
+
}
|
|
33314
|
+
],
|
|
33315
|
+
hasRequestBody: true,
|
|
33316
|
+
responseFields: [
|
|
33317
|
+
{
|
|
33318
|
+
name: "item",
|
|
33319
|
+
type: "object"
|
|
33320
|
+
}
|
|
33321
|
+
]
|
|
33322
|
+
},
|
|
33323
|
+
{
|
|
33324
|
+
operationId: "PublicSaleOrderController_convertToInvoice",
|
|
33325
|
+
displayName: "Convert sale order to invoice",
|
|
33326
|
+
description: "Convert sale order to invoice",
|
|
33327
|
+
method: "POST",
|
|
33328
|
+
path: "/sale-orders/{id}/convert-to-invoice",
|
|
33329
|
+
commandPath: ["sales", "sale", "orders", "convert-to-invoice"],
|
|
33330
|
+
options: [
|
|
33331
|
+
{
|
|
33332
|
+
name: "id",
|
|
33333
|
+
cliName: "id",
|
|
33334
|
+
optionKey: "id",
|
|
33335
|
+
source: "path",
|
|
33336
|
+
type: "string",
|
|
33337
|
+
required: true,
|
|
33338
|
+
description: "Entity ID"
|
|
33339
|
+
},
|
|
33340
|
+
{
|
|
33341
|
+
name: "root",
|
|
33342
|
+
cliName: "root",
|
|
33343
|
+
optionKey: "root",
|
|
33344
|
+
source: "body",
|
|
33345
|
+
type: "object",
|
|
33346
|
+
required: false,
|
|
33347
|
+
description: ""
|
|
33348
|
+
},
|
|
33349
|
+
{
|
|
33350
|
+
name: "raw-body",
|
|
33351
|
+
cliName: "raw-body",
|
|
33352
|
+
optionKey: "rawBody",
|
|
33353
|
+
source: "body",
|
|
33354
|
+
type: "object",
|
|
33355
|
+
required: false,
|
|
33356
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33357
|
+
}
|
|
33358
|
+
],
|
|
33359
|
+
hasRequestBody: true,
|
|
33360
|
+
responseFields: [
|
|
33361
|
+
{
|
|
33362
|
+
name: "item",
|
|
33363
|
+
type: "object"
|
|
33364
|
+
}
|
|
33365
|
+
]
|
|
33366
|
+
},
|
|
33367
|
+
{
|
|
33368
|
+
operationId: "PublicSaleOrderController_cancel",
|
|
33369
|
+
displayName: "Cancel sale order",
|
|
33370
|
+
description: "Cancel sale order",
|
|
33371
|
+
method: "POST",
|
|
33372
|
+
path: "/sale-orders/{id}/cancel",
|
|
33373
|
+
commandPath: ["sales", "sale", "orders", "cancel"],
|
|
33374
|
+
options: [
|
|
33375
|
+
{
|
|
33376
|
+
name: "id",
|
|
33377
|
+
cliName: "id",
|
|
33378
|
+
optionKey: "id",
|
|
33379
|
+
source: "path",
|
|
33380
|
+
type: "string",
|
|
33381
|
+
required: true,
|
|
33382
|
+
description: "Entity ID"
|
|
33383
|
+
},
|
|
33384
|
+
{
|
|
33385
|
+
name: "root",
|
|
33386
|
+
cliName: "root",
|
|
33387
|
+
optionKey: "root",
|
|
33388
|
+
source: "body",
|
|
33389
|
+
type: "object",
|
|
33390
|
+
required: false,
|
|
33391
|
+
description: ""
|
|
33392
|
+
},
|
|
33393
|
+
{
|
|
33394
|
+
name: "raw-body",
|
|
33395
|
+
cliName: "raw-body",
|
|
33396
|
+
optionKey: "rawBody",
|
|
33397
|
+
source: "body",
|
|
33398
|
+
type: "object",
|
|
33399
|
+
required: false,
|
|
33400
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33401
|
+
}
|
|
33402
|
+
],
|
|
33403
|
+
hasRequestBody: true,
|
|
33404
|
+
responseFields: [
|
|
33405
|
+
{
|
|
33406
|
+
name: "item",
|
|
33407
|
+
type: "object"
|
|
33408
|
+
}
|
|
33409
|
+
]
|
|
33410
|
+
},
|
|
33411
|
+
{
|
|
33412
|
+
operationId: "PublicInvoiceController_list",
|
|
33413
|
+
displayName: "List invoices",
|
|
33414
|
+
description: "List invoices",
|
|
33415
|
+
method: "GET",
|
|
33416
|
+
path: "/invoices",
|
|
33417
|
+
commandPath: ["finance", "invoices", "list"],
|
|
33418
|
+
options: [
|
|
33419
|
+
{
|
|
33420
|
+
name: "customerId",
|
|
33421
|
+
cliName: "customer-id",
|
|
33422
|
+
optionKey: "customerId",
|
|
33423
|
+
source: "query",
|
|
33424
|
+
type: "string",
|
|
33425
|
+
required: false,
|
|
33426
|
+
description: "customer ID",
|
|
33427
|
+
lookupEndpoint: "/crm/customers"
|
|
33428
|
+
},
|
|
33429
|
+
{
|
|
33430
|
+
name: "status",
|
|
33431
|
+
cliName: "status",
|
|
33432
|
+
optionKey: "status",
|
|
33433
|
+
source: "query",
|
|
33434
|
+
type: "string",
|
|
33435
|
+
required: false,
|
|
33436
|
+
description: ""
|
|
33437
|
+
},
|
|
33438
|
+
{
|
|
33439
|
+
name: "cursor",
|
|
33440
|
+
cliName: "cursor",
|
|
33441
|
+
optionKey: "cursor",
|
|
33442
|
+
source: "query",
|
|
33443
|
+
type: "string",
|
|
33444
|
+
required: false,
|
|
33445
|
+
description: ""
|
|
33446
|
+
},
|
|
33447
|
+
{
|
|
33448
|
+
name: "limit",
|
|
33449
|
+
cliName: "limit",
|
|
33450
|
+
optionKey: "limit",
|
|
33451
|
+
source: "query",
|
|
33452
|
+
type: "integer",
|
|
33453
|
+
required: false,
|
|
33454
|
+
description: ""
|
|
33455
|
+
}
|
|
33456
|
+
],
|
|
33457
|
+
hasRequestBody: false,
|
|
33458
|
+
responseFields: [
|
|
33459
|
+
{
|
|
33460
|
+
name: "items",
|
|
33461
|
+
type: "array"
|
|
33462
|
+
},
|
|
33463
|
+
{
|
|
33464
|
+
name: "pagination",
|
|
33465
|
+
type: "object"
|
|
33466
|
+
}
|
|
33467
|
+
]
|
|
33468
|
+
},
|
|
33469
|
+
{
|
|
33470
|
+
operationId: "PublicInvoiceController_create",
|
|
33471
|
+
displayName: "Create invoice",
|
|
33472
|
+
description: "Create invoice",
|
|
33473
|
+
method: "POST",
|
|
33474
|
+
path: "/invoices",
|
|
33475
|
+
commandPath: ["finance", "invoices", "create"],
|
|
33476
|
+
options: [
|
|
33477
|
+
{
|
|
33478
|
+
name: "raw-body",
|
|
33479
|
+
cliName: "raw-body",
|
|
33480
|
+
optionKey: "rawBody",
|
|
33481
|
+
source: "body",
|
|
33482
|
+
type: "object",
|
|
33483
|
+
required: false,
|
|
33484
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33485
|
+
}
|
|
33486
|
+
],
|
|
33487
|
+
hasRequestBody: true,
|
|
33488
|
+
responseFields: [
|
|
33489
|
+
{
|
|
33490
|
+
name: "item",
|
|
33491
|
+
type: "object"
|
|
33492
|
+
}
|
|
33493
|
+
]
|
|
33494
|
+
},
|
|
33495
|
+
{
|
|
33496
|
+
operationId: "PublicInvoiceController_get",
|
|
33497
|
+
displayName: "Get invoice",
|
|
33498
|
+
description: "Get invoice",
|
|
33499
|
+
method: "GET",
|
|
33500
|
+
path: "/invoices/{id}",
|
|
33501
|
+
commandPath: ["finance", "invoices", "get"],
|
|
33502
|
+
options: [
|
|
33503
|
+
{
|
|
33504
|
+
name: "id",
|
|
33505
|
+
cliName: "id",
|
|
33506
|
+
optionKey: "id",
|
|
33507
|
+
source: "path",
|
|
33508
|
+
type: "string",
|
|
33509
|
+
required: true,
|
|
33510
|
+
description: "Entity ID"
|
|
33511
|
+
}
|
|
33512
|
+
],
|
|
33513
|
+
hasRequestBody: false,
|
|
33514
|
+
responseFields: [
|
|
33515
|
+
{
|
|
33516
|
+
name: "item",
|
|
33517
|
+
type: "object"
|
|
33518
|
+
}
|
|
33519
|
+
]
|
|
33520
|
+
},
|
|
33521
|
+
{
|
|
33522
|
+
operationId: "PublicInvoiceController_update",
|
|
33523
|
+
displayName: "Update invoice",
|
|
33524
|
+
description: "Update invoice",
|
|
33525
|
+
method: "PATCH",
|
|
33526
|
+
path: "/invoices/{id}",
|
|
33527
|
+
commandPath: ["finance", "invoices", "update"],
|
|
33528
|
+
options: [
|
|
33529
|
+
{
|
|
33530
|
+
name: "id",
|
|
33531
|
+
cliName: "id",
|
|
33532
|
+
optionKey: "id",
|
|
33533
|
+
source: "path",
|
|
33534
|
+
type: "string",
|
|
33535
|
+
required: true,
|
|
33536
|
+
description: "Entity ID"
|
|
33537
|
+
},
|
|
33538
|
+
{
|
|
33539
|
+
name: "customerId",
|
|
33540
|
+
cliName: "customer-id",
|
|
33541
|
+
optionKey: "customerId",
|
|
33542
|
+
source: "body",
|
|
33543
|
+
type: "string",
|
|
33544
|
+
required: false,
|
|
33545
|
+
description: "Customer ID — use /crm/customers to look up",
|
|
33546
|
+
lookupEndpoint: "/crm/customers"
|
|
33547
|
+
},
|
|
33548
|
+
{
|
|
33549
|
+
name: "invoiceDate",
|
|
33550
|
+
cliName: "invoice-date",
|
|
33551
|
+
optionKey: "invoiceDate",
|
|
33552
|
+
source: "body",
|
|
33553
|
+
type: "string",
|
|
33554
|
+
required: false,
|
|
33555
|
+
description: "invoice date (ISO 8601 datetime)",
|
|
33556
|
+
format: "date-time"
|
|
33557
|
+
},
|
|
33558
|
+
{
|
|
33559
|
+
name: "dueDate",
|
|
33560
|
+
cliName: "due-date",
|
|
33561
|
+
optionKey: "dueDate",
|
|
33562
|
+
source: "body",
|
|
33563
|
+
type: "string",
|
|
33564
|
+
required: false,
|
|
33565
|
+
description: "Due date (ISO 8601 datetime)",
|
|
33566
|
+
format: "date-time"
|
|
33567
|
+
},
|
|
33568
|
+
{
|
|
33569
|
+
name: "customerReference",
|
|
33570
|
+
cliName: "customer-reference",
|
|
33571
|
+
optionKey: "customerReference",
|
|
33572
|
+
source: "body",
|
|
33573
|
+
type: "string",
|
|
33574
|
+
required: false,
|
|
33575
|
+
description: ""
|
|
33576
|
+
},
|
|
33577
|
+
{
|
|
33578
|
+
name: "notes",
|
|
33579
|
+
cliName: "notes",
|
|
33580
|
+
optionKey: "notes",
|
|
33581
|
+
source: "body",
|
|
33582
|
+
type: "string",
|
|
33583
|
+
required: false,
|
|
33584
|
+
description: "Additional notes or comments"
|
|
33585
|
+
},
|
|
33586
|
+
{
|
|
33587
|
+
name: "terms",
|
|
33588
|
+
cliName: "terms",
|
|
33589
|
+
optionKey: "terms",
|
|
33590
|
+
source: "body",
|
|
33591
|
+
type: "string",
|
|
33592
|
+
required: false,
|
|
33593
|
+
description: ""
|
|
33594
|
+
},
|
|
33595
|
+
{
|
|
33596
|
+
name: "taxInclusiveOption",
|
|
33597
|
+
cliName: "tax-inclusive-option",
|
|
33598
|
+
optionKey: "taxInclusiveOption",
|
|
33599
|
+
source: "body",
|
|
33600
|
+
type: "string",
|
|
33601
|
+
required: false,
|
|
33602
|
+
description: "",
|
|
33603
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
33604
|
+
},
|
|
33605
|
+
{
|
|
33606
|
+
name: "lines",
|
|
33607
|
+
cliName: "lines",
|
|
33608
|
+
optionKey: "lines",
|
|
33609
|
+
source: "body",
|
|
33610
|
+
type: "array",
|
|
33611
|
+
required: false,
|
|
33612
|
+
description: "Replaces the lines; retained lines must carry their existing IDs."
|
|
33613
|
+
},
|
|
33614
|
+
{
|
|
33615
|
+
name: "raw-body",
|
|
33616
|
+
cliName: "raw-body",
|
|
33617
|
+
optionKey: "rawBody",
|
|
33618
|
+
source: "body",
|
|
33619
|
+
type: "object",
|
|
33620
|
+
required: false,
|
|
33621
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33622
|
+
}
|
|
33623
|
+
],
|
|
33624
|
+
hasRequestBody: true,
|
|
33625
|
+
responseFields: [
|
|
33626
|
+
{
|
|
33627
|
+
name: "item",
|
|
33628
|
+
type: "object"
|
|
33629
|
+
}
|
|
33630
|
+
]
|
|
33631
|
+
},
|
|
33632
|
+
{
|
|
33633
|
+
operationId: "PublicInvoiceController_approve",
|
|
33634
|
+
displayName: "Approve invoice",
|
|
33635
|
+
description: "Approve invoice",
|
|
33636
|
+
method: "POST",
|
|
33637
|
+
path: "/invoices/{id}/approve",
|
|
33638
|
+
commandPath: ["finance", "invoices", "approve"],
|
|
33639
|
+
options: [
|
|
33640
|
+
{
|
|
33641
|
+
name: "id",
|
|
33642
|
+
cliName: "id",
|
|
33643
|
+
optionKey: "id",
|
|
33644
|
+
source: "path",
|
|
33645
|
+
type: "string",
|
|
33646
|
+
required: true,
|
|
33647
|
+
description: "Entity ID"
|
|
33648
|
+
},
|
|
33649
|
+
{
|
|
33650
|
+
name: "root",
|
|
33651
|
+
cliName: "root",
|
|
33652
|
+
optionKey: "root",
|
|
33653
|
+
source: "body",
|
|
33654
|
+
type: "object",
|
|
33655
|
+
required: false,
|
|
33656
|
+
description: ""
|
|
33657
|
+
},
|
|
33658
|
+
{
|
|
33659
|
+
name: "raw-body",
|
|
33660
|
+
cliName: "raw-body",
|
|
33661
|
+
optionKey: "rawBody",
|
|
33662
|
+
source: "body",
|
|
33663
|
+
type: "object",
|
|
33664
|
+
required: false,
|
|
33665
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33666
|
+
}
|
|
33667
|
+
],
|
|
33668
|
+
hasRequestBody: true,
|
|
33669
|
+
responseFields: [
|
|
33670
|
+
{
|
|
33671
|
+
name: "item",
|
|
33672
|
+
type: "object"
|
|
33673
|
+
}
|
|
33674
|
+
]
|
|
33675
|
+
},
|
|
33676
|
+
{
|
|
33677
|
+
operationId: "PublicInvoiceController_void",
|
|
33678
|
+
displayName: "Void invoice",
|
|
33679
|
+
description: "Void invoice",
|
|
33680
|
+
method: "POST",
|
|
33681
|
+
path: "/invoices/{id}/void",
|
|
33682
|
+
commandPath: ["finance", "invoices", "void"],
|
|
33683
|
+
options: [
|
|
33684
|
+
{
|
|
33685
|
+
name: "id",
|
|
33686
|
+
cliName: "id",
|
|
33687
|
+
optionKey: "id",
|
|
33688
|
+
source: "path",
|
|
33689
|
+
type: "string",
|
|
33690
|
+
required: true,
|
|
33691
|
+
description: "Entity ID"
|
|
33692
|
+
},
|
|
33693
|
+
{
|
|
33694
|
+
name: "root",
|
|
33695
|
+
cliName: "root",
|
|
33696
|
+
optionKey: "root",
|
|
33697
|
+
source: "body",
|
|
33698
|
+
type: "object",
|
|
33699
|
+
required: false,
|
|
33700
|
+
description: ""
|
|
33701
|
+
},
|
|
33702
|
+
{
|
|
33703
|
+
name: "raw-body",
|
|
33704
|
+
cliName: "raw-body",
|
|
33705
|
+
optionKey: "rawBody",
|
|
33706
|
+
source: "body",
|
|
33707
|
+
type: "object",
|
|
33708
|
+
required: false,
|
|
33709
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33710
|
+
}
|
|
33711
|
+
],
|
|
33712
|
+
hasRequestBody: true,
|
|
33713
|
+
responseFields: [
|
|
33714
|
+
{
|
|
33715
|
+
name: "item",
|
|
33716
|
+
type: "object"
|
|
33717
|
+
}
|
|
33718
|
+
]
|
|
33719
|
+
},
|
|
33720
|
+
{
|
|
33721
|
+
operationId: "PublicBillController_list",
|
|
33722
|
+
displayName: "List bills",
|
|
33723
|
+
description: "List bills",
|
|
33724
|
+
method: "GET",
|
|
33725
|
+
path: "/bills",
|
|
33726
|
+
commandPath: ["finance", "bills", "list"],
|
|
33727
|
+
options: [
|
|
33728
|
+
{
|
|
33729
|
+
name: "supplierId",
|
|
33730
|
+
cliName: "supplier-id",
|
|
33731
|
+
optionKey: "supplierId",
|
|
33732
|
+
source: "query",
|
|
33733
|
+
type: "string",
|
|
33734
|
+
required: false,
|
|
33735
|
+
description: "supplier ID"
|
|
33736
|
+
},
|
|
33737
|
+
{
|
|
33738
|
+
name: "status",
|
|
33739
|
+
cliName: "status",
|
|
33740
|
+
optionKey: "status",
|
|
33741
|
+
source: "query",
|
|
33742
|
+
type: "string",
|
|
33743
|
+
required: false,
|
|
33744
|
+
description: ""
|
|
33745
|
+
},
|
|
33746
|
+
{
|
|
33747
|
+
name: "cursor",
|
|
33748
|
+
cliName: "cursor",
|
|
33749
|
+
optionKey: "cursor",
|
|
33750
|
+
source: "query",
|
|
33751
|
+
type: "string",
|
|
33752
|
+
required: false,
|
|
33753
|
+
description: ""
|
|
33754
|
+
},
|
|
33755
|
+
{
|
|
33756
|
+
name: "limit",
|
|
33757
|
+
cliName: "limit",
|
|
33758
|
+
optionKey: "limit",
|
|
33759
|
+
source: "query",
|
|
33760
|
+
type: "integer",
|
|
33761
|
+
required: false,
|
|
33762
|
+
description: ""
|
|
33763
|
+
}
|
|
33764
|
+
],
|
|
33765
|
+
hasRequestBody: false,
|
|
33766
|
+
responseFields: [
|
|
33767
|
+
{
|
|
33768
|
+
name: "items",
|
|
33769
|
+
type: "array"
|
|
33770
|
+
},
|
|
33771
|
+
{
|
|
33772
|
+
name: "pagination",
|
|
33773
|
+
type: "object"
|
|
33774
|
+
}
|
|
33775
|
+
]
|
|
33776
|
+
},
|
|
33777
|
+
{
|
|
33778
|
+
operationId: "PublicBillController_create",
|
|
33779
|
+
displayName: "Create bill",
|
|
33780
|
+
description: "Create bill",
|
|
33781
|
+
method: "POST",
|
|
33782
|
+
path: "/bills",
|
|
33783
|
+
commandPath: ["finance", "bills", "create"],
|
|
33784
|
+
options: [
|
|
33785
|
+
{
|
|
33786
|
+
name: "billDate",
|
|
33787
|
+
cliName: "bill-date",
|
|
33788
|
+
optionKey: "billDate",
|
|
33789
|
+
source: "body",
|
|
33790
|
+
type: "string",
|
|
33791
|
+
required: true,
|
|
33792
|
+
description: "bill date (ISO 8601 datetime)",
|
|
33793
|
+
format: "date-time"
|
|
33794
|
+
},
|
|
33795
|
+
{
|
|
33796
|
+
name: "dueDate",
|
|
33797
|
+
cliName: "due-date",
|
|
33798
|
+
optionKey: "dueDate",
|
|
33799
|
+
source: "body",
|
|
33800
|
+
type: "string",
|
|
33801
|
+
required: true,
|
|
33802
|
+
description: "Due date (ISO 8601 datetime)",
|
|
33803
|
+
format: "date-time"
|
|
33804
|
+
},
|
|
33805
|
+
{
|
|
33806
|
+
name: "customerReference",
|
|
33807
|
+
cliName: "customer-reference",
|
|
33808
|
+
optionKey: "customerReference",
|
|
33809
|
+
source: "body",
|
|
33810
|
+
type: "string",
|
|
33811
|
+
required: false,
|
|
33812
|
+
description: ""
|
|
33813
|
+
},
|
|
33814
|
+
{
|
|
33815
|
+
name: "notes",
|
|
33816
|
+
cliName: "notes",
|
|
33817
|
+
optionKey: "notes",
|
|
33818
|
+
source: "body",
|
|
33819
|
+
type: "string",
|
|
33820
|
+
required: false,
|
|
33821
|
+
description: "Additional notes or comments"
|
|
33822
|
+
},
|
|
33823
|
+
{
|
|
33824
|
+
name: "terms",
|
|
33825
|
+
cliName: "terms",
|
|
33826
|
+
optionKey: "terms",
|
|
33827
|
+
source: "body",
|
|
33828
|
+
type: "string",
|
|
33829
|
+
required: false,
|
|
33830
|
+
description: ""
|
|
33831
|
+
},
|
|
33832
|
+
{
|
|
33833
|
+
name: "taxInclusiveOption",
|
|
33834
|
+
cliName: "tax-inclusive-option",
|
|
33835
|
+
optionKey: "taxInclusiveOption",
|
|
33836
|
+
source: "body",
|
|
33837
|
+
type: "string",
|
|
33838
|
+
required: true,
|
|
33839
|
+
description: "",
|
|
33840
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
33841
|
+
},
|
|
33842
|
+
{
|
|
33843
|
+
name: "lines",
|
|
33844
|
+
cliName: "lines",
|
|
33845
|
+
optionKey: "lines",
|
|
33846
|
+
source: "body",
|
|
33847
|
+
type: "array",
|
|
33848
|
+
required: true,
|
|
33849
|
+
description: ""
|
|
33850
|
+
},
|
|
33851
|
+
{
|
|
33852
|
+
name: "type",
|
|
33853
|
+
cliName: "type",
|
|
33854
|
+
optionKey: "type",
|
|
33855
|
+
source: "body",
|
|
33856
|
+
type: "string",
|
|
33857
|
+
required: false,
|
|
33858
|
+
description: "",
|
|
33859
|
+
enumValues: ["Bill", "Credit Note Supplier", "Prepayment Supplier"]
|
|
33860
|
+
},
|
|
33861
|
+
{
|
|
33862
|
+
name: "supplierId",
|
|
33863
|
+
cliName: "supplier-id",
|
|
33864
|
+
optionKey: "supplierId",
|
|
33865
|
+
source: "body",
|
|
33866
|
+
type: "string",
|
|
33867
|
+
required: true,
|
|
33868
|
+
description: "supplier ID"
|
|
33869
|
+
},
|
|
33870
|
+
{
|
|
33871
|
+
name: "billingCompanyId",
|
|
33872
|
+
cliName: "billing-company-id",
|
|
33873
|
+
optionKey: "billingCompanyId",
|
|
33874
|
+
source: "body",
|
|
33875
|
+
type: "string",
|
|
33876
|
+
required: true,
|
|
33877
|
+
description: "billing company ID"
|
|
33878
|
+
},
|
|
33879
|
+
{
|
|
33880
|
+
name: "raw-body",
|
|
33881
|
+
cliName: "raw-body",
|
|
33882
|
+
optionKey: "rawBody",
|
|
33883
|
+
source: "body",
|
|
33884
|
+
type: "object",
|
|
33885
|
+
required: false,
|
|
33886
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
33887
|
+
}
|
|
33888
|
+
],
|
|
33889
|
+
hasRequestBody: true,
|
|
33890
|
+
responseFields: [
|
|
33891
|
+
{
|
|
33892
|
+
name: "item",
|
|
33893
|
+
type: "object"
|
|
33894
|
+
}
|
|
33895
|
+
]
|
|
33896
|
+
},
|
|
33897
|
+
{
|
|
33898
|
+
operationId: "PublicBillController_get",
|
|
33899
|
+
displayName: "Get bill",
|
|
33900
|
+
description: "Get bill",
|
|
33901
|
+
method: "GET",
|
|
33902
|
+
path: "/bills/{id}",
|
|
33903
|
+
commandPath: ["finance", "bills", "get"],
|
|
33904
|
+
options: [
|
|
33905
|
+
{
|
|
33906
|
+
name: "id",
|
|
33907
|
+
cliName: "id",
|
|
33908
|
+
optionKey: "id",
|
|
33909
|
+
source: "path",
|
|
33910
|
+
type: "string",
|
|
33911
|
+
required: true,
|
|
33912
|
+
description: "Entity ID"
|
|
33913
|
+
}
|
|
33914
|
+
],
|
|
33915
|
+
hasRequestBody: false,
|
|
33916
|
+
responseFields: [
|
|
33917
|
+
{
|
|
33918
|
+
name: "item",
|
|
33919
|
+
type: "object"
|
|
33920
|
+
}
|
|
33921
|
+
]
|
|
33922
|
+
},
|
|
33923
|
+
{
|
|
33924
|
+
operationId: "PublicBillController_update",
|
|
33925
|
+
displayName: "Update bill",
|
|
33926
|
+
description: "Update bill",
|
|
33927
|
+
method: "PATCH",
|
|
33928
|
+
path: "/bills/{id}",
|
|
33929
|
+
commandPath: ["finance", "bills", "update"],
|
|
33930
|
+
options: [
|
|
33931
|
+
{
|
|
33932
|
+
name: "id",
|
|
33933
|
+
cliName: "id",
|
|
33934
|
+
optionKey: "id",
|
|
33935
|
+
source: "path",
|
|
33936
|
+
type: "string",
|
|
33937
|
+
required: true,
|
|
33938
|
+
description: "Entity ID"
|
|
33939
|
+
},
|
|
33940
|
+
{
|
|
33941
|
+
name: "billDate",
|
|
33942
|
+
cliName: "bill-date",
|
|
33943
|
+
optionKey: "billDate",
|
|
33944
|
+
source: "body",
|
|
33945
|
+
type: "string",
|
|
33946
|
+
required: false,
|
|
33947
|
+
description: "bill date (ISO 8601 datetime)",
|
|
33948
|
+
format: "date-time"
|
|
33949
|
+
},
|
|
33950
|
+
{
|
|
33951
|
+
name: "dueDate",
|
|
33952
|
+
cliName: "due-date",
|
|
33953
|
+
optionKey: "dueDate",
|
|
33954
|
+
source: "body",
|
|
33955
|
+
type: "string",
|
|
33956
|
+
required: false,
|
|
33957
|
+
description: "Due date (ISO 8601 datetime)",
|
|
33958
|
+
format: "date-time"
|
|
33959
|
+
},
|
|
33960
|
+
{
|
|
33961
|
+
name: "customerReference",
|
|
33962
|
+
cliName: "customer-reference",
|
|
33963
|
+
optionKey: "customerReference",
|
|
33964
|
+
source: "body",
|
|
33965
|
+
type: "string",
|
|
33966
|
+
required: false,
|
|
33967
|
+
description: ""
|
|
33968
|
+
},
|
|
33969
|
+
{
|
|
33970
|
+
name: "notes",
|
|
33971
|
+
cliName: "notes",
|
|
33972
|
+
optionKey: "notes",
|
|
33973
|
+
source: "body",
|
|
33974
|
+
type: "string",
|
|
33975
|
+
required: false,
|
|
33976
|
+
description: "Additional notes or comments"
|
|
33977
|
+
},
|
|
33978
|
+
{
|
|
33979
|
+
name: "terms",
|
|
33980
|
+
cliName: "terms",
|
|
33981
|
+
optionKey: "terms",
|
|
33982
|
+
source: "body",
|
|
33983
|
+
type: "string",
|
|
33984
|
+
required: false,
|
|
33985
|
+
description: ""
|
|
33986
|
+
},
|
|
33987
|
+
{
|
|
33988
|
+
name: "taxInclusiveOption",
|
|
33989
|
+
cliName: "tax-inclusive-option",
|
|
33990
|
+
optionKey: "taxInclusiveOption",
|
|
33991
|
+
source: "body",
|
|
33992
|
+
type: "string",
|
|
33993
|
+
required: false,
|
|
33994
|
+
description: "",
|
|
33995
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
33996
|
+
},
|
|
33997
|
+
{
|
|
33998
|
+
name: "lines",
|
|
33999
|
+
cliName: "lines",
|
|
34000
|
+
optionKey: "lines",
|
|
34001
|
+
source: "body",
|
|
34002
|
+
type: "array",
|
|
34003
|
+
required: false,
|
|
34004
|
+
description: "Replaces editable lines; retained lines carry existing IDs."
|
|
34005
|
+
},
|
|
34006
|
+
{
|
|
34007
|
+
name: "raw-body",
|
|
34008
|
+
cliName: "raw-body",
|
|
34009
|
+
optionKey: "rawBody",
|
|
34010
|
+
source: "body",
|
|
34011
|
+
type: "object",
|
|
34012
|
+
required: false,
|
|
34013
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34014
|
+
}
|
|
34015
|
+
],
|
|
34016
|
+
hasRequestBody: true,
|
|
34017
|
+
responseFields: [
|
|
34018
|
+
{
|
|
34019
|
+
name: "item",
|
|
34020
|
+
type: "object"
|
|
34021
|
+
}
|
|
34022
|
+
]
|
|
34023
|
+
},
|
|
34024
|
+
{
|
|
34025
|
+
operationId: "PublicBillController_approve",
|
|
34026
|
+
displayName: "Approve bill",
|
|
34027
|
+
description: "Approve bill",
|
|
34028
|
+
method: "POST",
|
|
34029
|
+
path: "/bills/{id}/approve",
|
|
34030
|
+
commandPath: ["finance", "bills", "approve"],
|
|
34031
|
+
options: [
|
|
34032
|
+
{
|
|
34033
|
+
name: "id",
|
|
34034
|
+
cliName: "id",
|
|
34035
|
+
optionKey: "id",
|
|
34036
|
+
source: "path",
|
|
34037
|
+
type: "string",
|
|
34038
|
+
required: true,
|
|
34039
|
+
description: "Entity ID"
|
|
34040
|
+
},
|
|
34041
|
+
{
|
|
34042
|
+
name: "root",
|
|
34043
|
+
cliName: "root",
|
|
34044
|
+
optionKey: "root",
|
|
34045
|
+
source: "body",
|
|
34046
|
+
type: "object",
|
|
34047
|
+
required: false,
|
|
34048
|
+
description: ""
|
|
34049
|
+
},
|
|
34050
|
+
{
|
|
34051
|
+
name: "raw-body",
|
|
34052
|
+
cliName: "raw-body",
|
|
34053
|
+
optionKey: "rawBody",
|
|
34054
|
+
source: "body",
|
|
34055
|
+
type: "object",
|
|
34056
|
+
required: false,
|
|
34057
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34058
|
+
}
|
|
34059
|
+
],
|
|
34060
|
+
hasRequestBody: true,
|
|
34061
|
+
responseFields: [
|
|
34062
|
+
{
|
|
34063
|
+
name: "item",
|
|
34064
|
+
type: "object"
|
|
34065
|
+
}
|
|
34066
|
+
]
|
|
34067
|
+
},
|
|
34068
|
+
{
|
|
34069
|
+
operationId: "PublicBillController_void",
|
|
34070
|
+
displayName: "Void bill",
|
|
34071
|
+
description: "Void bill",
|
|
34072
|
+
method: "POST",
|
|
34073
|
+
path: "/bills/{id}/void",
|
|
34074
|
+
commandPath: ["finance", "bills", "void"],
|
|
34075
|
+
options: [
|
|
34076
|
+
{
|
|
34077
|
+
name: "id",
|
|
34078
|
+
cliName: "id",
|
|
34079
|
+
optionKey: "id",
|
|
34080
|
+
source: "path",
|
|
34081
|
+
type: "string",
|
|
34082
|
+
required: true,
|
|
34083
|
+
description: "Entity ID"
|
|
34084
|
+
},
|
|
34085
|
+
{
|
|
34086
|
+
name: "root",
|
|
34087
|
+
cliName: "root",
|
|
34088
|
+
optionKey: "root",
|
|
34089
|
+
source: "body",
|
|
34090
|
+
type: "object",
|
|
34091
|
+
required: false,
|
|
34092
|
+
description: ""
|
|
34093
|
+
},
|
|
34094
|
+
{
|
|
34095
|
+
name: "raw-body",
|
|
34096
|
+
cliName: "raw-body",
|
|
34097
|
+
optionKey: "rawBody",
|
|
34098
|
+
source: "body",
|
|
34099
|
+
type: "object",
|
|
34100
|
+
required: false,
|
|
34101
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34102
|
+
}
|
|
34103
|
+
],
|
|
34104
|
+
hasRequestBody: true,
|
|
34105
|
+
responseFields: [
|
|
34106
|
+
{
|
|
34107
|
+
name: "item",
|
|
34108
|
+
type: "object"
|
|
34109
|
+
}
|
|
34110
|
+
]
|
|
34111
|
+
},
|
|
34112
|
+
{
|
|
34113
|
+
operationId: "PublicPurchaseOrderController_list",
|
|
34114
|
+
displayName: "List purchase orders",
|
|
34115
|
+
description: "List purchase orders",
|
|
34116
|
+
method: "GET",
|
|
34117
|
+
path: "/purchase-orders",
|
|
34118
|
+
commandPath: ["finance", "purchase", "orders", "list"],
|
|
34119
|
+
options: [
|
|
34120
|
+
{
|
|
34121
|
+
name: "supplierId",
|
|
34122
|
+
cliName: "supplier-id",
|
|
34123
|
+
optionKey: "supplierId",
|
|
34124
|
+
source: "query",
|
|
34125
|
+
type: "string",
|
|
34126
|
+
required: false,
|
|
34127
|
+
description: "supplier ID"
|
|
34128
|
+
},
|
|
34129
|
+
{
|
|
34130
|
+
name: "status",
|
|
34131
|
+
cliName: "status",
|
|
34132
|
+
optionKey: "status",
|
|
34133
|
+
source: "query",
|
|
34134
|
+
type: "string",
|
|
34135
|
+
required: false,
|
|
34136
|
+
description: ""
|
|
34137
|
+
},
|
|
34138
|
+
{
|
|
34139
|
+
name: "cursor",
|
|
34140
|
+
cliName: "cursor",
|
|
34141
|
+
optionKey: "cursor",
|
|
34142
|
+
source: "query",
|
|
34143
|
+
type: "string",
|
|
34144
|
+
required: false,
|
|
34145
|
+
description: ""
|
|
34146
|
+
},
|
|
34147
|
+
{
|
|
34148
|
+
name: "limit",
|
|
34149
|
+
cliName: "limit",
|
|
34150
|
+
optionKey: "limit",
|
|
34151
|
+
source: "query",
|
|
34152
|
+
type: "integer",
|
|
34153
|
+
required: false,
|
|
34154
|
+
description: ""
|
|
34155
|
+
}
|
|
34156
|
+
],
|
|
34157
|
+
hasRequestBody: false,
|
|
34158
|
+
responseFields: [
|
|
34159
|
+
{
|
|
34160
|
+
name: "items",
|
|
34161
|
+
type: "array"
|
|
34162
|
+
},
|
|
34163
|
+
{
|
|
34164
|
+
name: "pagination",
|
|
34165
|
+
type: "object"
|
|
34166
|
+
}
|
|
34167
|
+
]
|
|
34168
|
+
},
|
|
34169
|
+
{
|
|
34170
|
+
operationId: "PublicPurchaseOrderController_create",
|
|
34171
|
+
displayName: "Create purchase order",
|
|
34172
|
+
description: "Create purchase order",
|
|
34173
|
+
method: "POST",
|
|
34174
|
+
path: "/purchase-orders",
|
|
34175
|
+
commandPath: ["finance", "purchase", "orders", "create"],
|
|
34176
|
+
options: [
|
|
34177
|
+
{
|
|
34178
|
+
name: "supplierId",
|
|
34179
|
+
cliName: "supplier-id",
|
|
34180
|
+
optionKey: "supplierId",
|
|
34181
|
+
source: "body",
|
|
34182
|
+
type: "string",
|
|
34183
|
+
required: true,
|
|
34184
|
+
description: "supplier ID"
|
|
34185
|
+
},
|
|
34186
|
+
{
|
|
34187
|
+
name: "billingCompanyId",
|
|
34188
|
+
cliName: "billing-company-id",
|
|
34189
|
+
optionKey: "billingCompanyId",
|
|
34190
|
+
source: "body",
|
|
34191
|
+
type: "string",
|
|
34192
|
+
required: true,
|
|
34193
|
+
description: "billing company ID"
|
|
34194
|
+
},
|
|
34195
|
+
{
|
|
34196
|
+
name: "poDate",
|
|
34197
|
+
cliName: "po-date",
|
|
34198
|
+
optionKey: "poDate",
|
|
34199
|
+
source: "body",
|
|
34200
|
+
type: "string",
|
|
34201
|
+
required: true,
|
|
34202
|
+
description: "po date (ISO 8601 datetime)",
|
|
34203
|
+
format: "date-time"
|
|
34204
|
+
},
|
|
34205
|
+
{
|
|
34206
|
+
name: "deliveryDate",
|
|
34207
|
+
cliName: "delivery-date",
|
|
34208
|
+
optionKey: "deliveryDate",
|
|
34209
|
+
source: "body",
|
|
34210
|
+
type: "string",
|
|
34211
|
+
required: false,
|
|
34212
|
+
description: "delivery date (ISO 8601 datetime)"
|
|
34213
|
+
},
|
|
34214
|
+
{
|
|
34215
|
+
name: "deliveryOptions",
|
|
34216
|
+
cliName: "delivery-options",
|
|
34217
|
+
optionKey: "deliveryOptions",
|
|
34218
|
+
source: "body",
|
|
34219
|
+
type: "string",
|
|
34220
|
+
required: true,
|
|
34221
|
+
description: "",
|
|
34222
|
+
enumValues: ["pickup", "company", "job", "other"]
|
|
34223
|
+
},
|
|
34224
|
+
{
|
|
34225
|
+
name: "deliveryAddress",
|
|
34226
|
+
cliName: "delivery-address",
|
|
34227
|
+
optionKey: "deliveryAddress",
|
|
34228
|
+
source: "body",
|
|
34229
|
+
type: "object",
|
|
34230
|
+
required: false,
|
|
34231
|
+
description: ""
|
|
34232
|
+
},
|
|
34233
|
+
{
|
|
34234
|
+
name: "deliveryContactName",
|
|
34235
|
+
cliName: "delivery-contact-name",
|
|
34236
|
+
optionKey: "deliveryContactName",
|
|
34237
|
+
source: "body",
|
|
34238
|
+
type: "string",
|
|
34239
|
+
required: false,
|
|
34240
|
+
description: ""
|
|
34241
|
+
},
|
|
34242
|
+
{
|
|
34243
|
+
name: "deliveryContactPhone",
|
|
34244
|
+
cliName: "delivery-contact-phone",
|
|
34245
|
+
optionKey: "deliveryContactPhone",
|
|
34246
|
+
source: "body",
|
|
34247
|
+
type: "string",
|
|
34248
|
+
required: false,
|
|
34249
|
+
description: ""
|
|
34250
|
+
},
|
|
34251
|
+
{
|
|
34252
|
+
name: "deliveryInstructions",
|
|
34253
|
+
cliName: "delivery-instructions",
|
|
34254
|
+
optionKey: "deliveryInstructions",
|
|
34255
|
+
source: "body",
|
|
34256
|
+
type: "string",
|
|
34257
|
+
required: false,
|
|
34258
|
+
description: ""
|
|
34259
|
+
},
|
|
34260
|
+
{
|
|
34261
|
+
name: "reference",
|
|
34262
|
+
cliName: "reference",
|
|
34263
|
+
optionKey: "reference",
|
|
34264
|
+
source: "body",
|
|
34265
|
+
type: "string",
|
|
34266
|
+
required: false,
|
|
34267
|
+
description: "External reference number"
|
|
34268
|
+
},
|
|
34269
|
+
{
|
|
34270
|
+
name: "comment",
|
|
34271
|
+
cliName: "comment",
|
|
34272
|
+
optionKey: "comment",
|
|
34273
|
+
source: "body",
|
|
34274
|
+
type: "string",
|
|
34275
|
+
required: false,
|
|
34276
|
+
description: ""
|
|
34277
|
+
},
|
|
34278
|
+
{
|
|
34279
|
+
name: "taxInclusiveOption",
|
|
34280
|
+
cliName: "tax-inclusive-option",
|
|
34281
|
+
optionKey: "taxInclusiveOption",
|
|
34282
|
+
source: "body",
|
|
34283
|
+
type: "string",
|
|
34284
|
+
required: true,
|
|
34285
|
+
description: "",
|
|
34286
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
34287
|
+
},
|
|
34288
|
+
{
|
|
34289
|
+
name: "lines",
|
|
34290
|
+
cliName: "lines",
|
|
34291
|
+
optionKey: "lines",
|
|
34292
|
+
source: "body",
|
|
34293
|
+
type: "array",
|
|
34294
|
+
required: true,
|
|
34295
|
+
description: ""
|
|
34296
|
+
},
|
|
34297
|
+
{
|
|
34298
|
+
name: "raw-body",
|
|
34299
|
+
cliName: "raw-body",
|
|
34300
|
+
optionKey: "rawBody",
|
|
34301
|
+
source: "body",
|
|
34302
|
+
type: "object",
|
|
34303
|
+
required: false,
|
|
34304
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34305
|
+
}
|
|
34306
|
+
],
|
|
34307
|
+
hasRequestBody: true,
|
|
34308
|
+
responseFields: [
|
|
34309
|
+
{
|
|
34310
|
+
name: "item",
|
|
34311
|
+
type: "object"
|
|
34312
|
+
}
|
|
34313
|
+
]
|
|
34314
|
+
},
|
|
34315
|
+
{
|
|
34316
|
+
operationId: "PublicPurchaseOrderController_get",
|
|
34317
|
+
displayName: "Get purchase order",
|
|
34318
|
+
description: "Get purchase order",
|
|
34319
|
+
method: "GET",
|
|
34320
|
+
path: "/purchase-orders/{id}",
|
|
34321
|
+
commandPath: ["finance", "purchase", "orders", "get"],
|
|
34322
|
+
options: [
|
|
34323
|
+
{
|
|
34324
|
+
name: "id",
|
|
34325
|
+
cliName: "id",
|
|
34326
|
+
optionKey: "id",
|
|
34327
|
+
source: "path",
|
|
34328
|
+
type: "string",
|
|
34329
|
+
required: true,
|
|
34330
|
+
description: "Entity ID"
|
|
34331
|
+
}
|
|
34332
|
+
],
|
|
34333
|
+
hasRequestBody: false,
|
|
34334
|
+
responseFields: [
|
|
34335
|
+
{
|
|
34336
|
+
name: "item",
|
|
34337
|
+
type: "object"
|
|
34338
|
+
}
|
|
34339
|
+
]
|
|
34340
|
+
},
|
|
34341
|
+
{
|
|
34342
|
+
operationId: "PublicPurchaseOrderController_update",
|
|
34343
|
+
displayName: "Update purchase order",
|
|
34344
|
+
description: "Update purchase order",
|
|
34345
|
+
method: "PATCH",
|
|
34346
|
+
path: "/purchase-orders/{id}",
|
|
34347
|
+
commandPath: ["finance", "purchase", "orders", "update"],
|
|
34348
|
+
options: [
|
|
34349
|
+
{
|
|
34350
|
+
name: "id",
|
|
34351
|
+
cliName: "id",
|
|
34352
|
+
optionKey: "id",
|
|
34353
|
+
source: "path",
|
|
34354
|
+
type: "string",
|
|
34355
|
+
required: true,
|
|
34356
|
+
description: "Entity ID"
|
|
34357
|
+
},
|
|
34358
|
+
{
|
|
34359
|
+
name: "supplierId",
|
|
34360
|
+
cliName: "supplier-id",
|
|
34361
|
+
optionKey: "supplierId",
|
|
34362
|
+
source: "body",
|
|
34363
|
+
type: "string",
|
|
34364
|
+
required: false,
|
|
34365
|
+
description: "supplier ID"
|
|
34366
|
+
},
|
|
34367
|
+
{
|
|
34368
|
+
name: "billingCompanyId",
|
|
34369
|
+
cliName: "billing-company-id",
|
|
34370
|
+
optionKey: "billingCompanyId",
|
|
34371
|
+
source: "body",
|
|
34372
|
+
type: "string",
|
|
34373
|
+
required: false,
|
|
34374
|
+
description: "billing company ID"
|
|
34375
|
+
},
|
|
34376
|
+
{
|
|
34377
|
+
name: "poDate",
|
|
34378
|
+
cliName: "po-date",
|
|
34379
|
+
optionKey: "poDate",
|
|
34380
|
+
source: "body",
|
|
34381
|
+
type: "string",
|
|
34382
|
+
required: false,
|
|
34383
|
+
description: "po date (ISO 8601 datetime)",
|
|
34384
|
+
format: "date-time"
|
|
34385
|
+
},
|
|
34386
|
+
{
|
|
34387
|
+
name: "deliveryDate",
|
|
34388
|
+
cliName: "delivery-date",
|
|
34389
|
+
optionKey: "deliveryDate",
|
|
34390
|
+
source: "body",
|
|
34391
|
+
type: "string",
|
|
34392
|
+
required: false,
|
|
34393
|
+
description: "delivery date (ISO 8601 datetime)"
|
|
34394
|
+
},
|
|
34395
|
+
{
|
|
34396
|
+
name: "deliveryOptions",
|
|
34397
|
+
cliName: "delivery-options",
|
|
34398
|
+
optionKey: "deliveryOptions",
|
|
34399
|
+
source: "body",
|
|
34400
|
+
type: "string",
|
|
34401
|
+
required: false,
|
|
34402
|
+
description: "",
|
|
34403
|
+
enumValues: ["pickup", "company", "job", "other"]
|
|
34404
|
+
},
|
|
34405
|
+
{
|
|
34406
|
+
name: "deliveryAddress",
|
|
34407
|
+
cliName: "delivery-address",
|
|
34408
|
+
optionKey: "deliveryAddress",
|
|
34409
|
+
source: "body",
|
|
34410
|
+
type: "object",
|
|
34411
|
+
required: false,
|
|
34412
|
+
description: ""
|
|
34413
|
+
},
|
|
34414
|
+
{
|
|
34415
|
+
name: "deliveryContactName",
|
|
34416
|
+
cliName: "delivery-contact-name",
|
|
34417
|
+
optionKey: "deliveryContactName",
|
|
34418
|
+
source: "body",
|
|
34419
|
+
type: "string",
|
|
34420
|
+
required: false,
|
|
34421
|
+
description: ""
|
|
34422
|
+
},
|
|
34423
|
+
{
|
|
34424
|
+
name: "deliveryContactPhone",
|
|
34425
|
+
cliName: "delivery-contact-phone",
|
|
34426
|
+
optionKey: "deliveryContactPhone",
|
|
34427
|
+
source: "body",
|
|
34428
|
+
type: "string",
|
|
34429
|
+
required: false,
|
|
34430
|
+
description: ""
|
|
34431
|
+
},
|
|
34432
|
+
{
|
|
34433
|
+
name: "deliveryInstructions",
|
|
34434
|
+
cliName: "delivery-instructions",
|
|
34435
|
+
optionKey: "deliveryInstructions",
|
|
34436
|
+
source: "body",
|
|
34437
|
+
type: "string",
|
|
34438
|
+
required: false,
|
|
34439
|
+
description: ""
|
|
34440
|
+
},
|
|
34441
|
+
{
|
|
34442
|
+
name: "reference",
|
|
34443
|
+
cliName: "reference",
|
|
34444
|
+
optionKey: "reference",
|
|
34445
|
+
source: "body",
|
|
34446
|
+
type: "string",
|
|
34447
|
+
required: false,
|
|
34448
|
+
description: "External reference number"
|
|
34449
|
+
},
|
|
34450
|
+
{
|
|
34451
|
+
name: "comment",
|
|
34452
|
+
cliName: "comment",
|
|
34453
|
+
optionKey: "comment",
|
|
34454
|
+
source: "body",
|
|
34455
|
+
type: "string",
|
|
34456
|
+
required: false,
|
|
34457
|
+
description: ""
|
|
34458
|
+
},
|
|
34459
|
+
{
|
|
34460
|
+
name: "taxInclusiveOption",
|
|
34461
|
+
cliName: "tax-inclusive-option",
|
|
34462
|
+
optionKey: "taxInclusiveOption",
|
|
34463
|
+
source: "body",
|
|
34464
|
+
type: "string",
|
|
34465
|
+
required: false,
|
|
34466
|
+
description: "",
|
|
34467
|
+
enumValues: ["Tax Exclusive", "Tax Inclusive", "No Tax"]
|
|
34468
|
+
},
|
|
34469
|
+
{
|
|
34470
|
+
name: "lines",
|
|
34471
|
+
cliName: "lines",
|
|
34472
|
+
optionKey: "lines",
|
|
34473
|
+
source: "body",
|
|
34474
|
+
type: "array",
|
|
34475
|
+
required: false,
|
|
34476
|
+
description: ""
|
|
34477
|
+
},
|
|
34478
|
+
{
|
|
34479
|
+
name: "raw-body",
|
|
34480
|
+
cliName: "raw-body",
|
|
34481
|
+
optionKey: "rawBody",
|
|
34482
|
+
source: "body",
|
|
34483
|
+
type: "object",
|
|
34484
|
+
required: false,
|
|
34485
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34486
|
+
}
|
|
34487
|
+
],
|
|
34488
|
+
hasRequestBody: true,
|
|
34489
|
+
responseFields: [
|
|
34490
|
+
{
|
|
34491
|
+
name: "item",
|
|
34492
|
+
type: "object"
|
|
34493
|
+
}
|
|
34494
|
+
]
|
|
34495
|
+
},
|
|
34496
|
+
{
|
|
34497
|
+
operationId: "PublicPurchaseOrderController_delete",
|
|
34498
|
+
displayName: "Delete draft purchase order",
|
|
34499
|
+
description: "Delete draft purchase order",
|
|
34500
|
+
method: "DELETE",
|
|
34501
|
+
path: "/purchase-orders/{id}",
|
|
34502
|
+
commandPath: ["finance", "purchase", "orders", "delete"],
|
|
34503
|
+
options: [
|
|
34504
|
+
{
|
|
34505
|
+
name: "id",
|
|
34506
|
+
cliName: "id",
|
|
34507
|
+
optionKey: "id",
|
|
34508
|
+
source: "path",
|
|
34509
|
+
type: "string",
|
|
34510
|
+
required: true,
|
|
34511
|
+
description: "Entity ID"
|
|
34512
|
+
}
|
|
34513
|
+
],
|
|
34514
|
+
hasRequestBody: false,
|
|
34515
|
+
responseFields: [
|
|
34516
|
+
{
|
|
34517
|
+
name: "id",
|
|
34518
|
+
type: "string",
|
|
34519
|
+
description: "Entity ID"
|
|
34520
|
+
},
|
|
34521
|
+
{
|
|
34522
|
+
name: "success",
|
|
34523
|
+
type: "boolean"
|
|
34524
|
+
}
|
|
34525
|
+
]
|
|
34526
|
+
},
|
|
34527
|
+
{
|
|
34528
|
+
operationId: "PublicPurchaseOrderController_submit",
|
|
34529
|
+
displayName: "Submit purchase order for approval",
|
|
34530
|
+
description: "Submit purchase order for approval",
|
|
34531
|
+
method: "POST",
|
|
34532
|
+
path: "/purchase-orders/{id}/submit",
|
|
34533
|
+
commandPath: ["finance", "purchase", "orders", "submit"],
|
|
34534
|
+
options: [
|
|
34535
|
+
{
|
|
34536
|
+
name: "id",
|
|
34537
|
+
cliName: "id",
|
|
34538
|
+
optionKey: "id",
|
|
34539
|
+
source: "path",
|
|
34540
|
+
type: "string",
|
|
34541
|
+
required: true,
|
|
34542
|
+
description: "Entity ID"
|
|
34543
|
+
},
|
|
34544
|
+
{
|
|
34545
|
+
name: "root",
|
|
34546
|
+
cliName: "root",
|
|
34547
|
+
optionKey: "root",
|
|
34548
|
+
source: "body",
|
|
34549
|
+
type: "object",
|
|
34550
|
+
required: false,
|
|
34551
|
+
description: ""
|
|
34552
|
+
},
|
|
34553
|
+
{
|
|
34554
|
+
name: "raw-body",
|
|
34555
|
+
cliName: "raw-body",
|
|
34556
|
+
optionKey: "rawBody",
|
|
34557
|
+
source: "body",
|
|
34558
|
+
type: "object",
|
|
34559
|
+
required: false,
|
|
34560
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34561
|
+
}
|
|
34562
|
+
],
|
|
34563
|
+
hasRequestBody: true,
|
|
34564
|
+
responseFields: [
|
|
34565
|
+
{
|
|
34566
|
+
name: "item",
|
|
34567
|
+
type: "object"
|
|
34568
|
+
}
|
|
34569
|
+
]
|
|
34570
|
+
},
|
|
34571
|
+
{
|
|
34572
|
+
operationId: "PublicPurchaseOrderController_approve",
|
|
34573
|
+
displayName: "Approve purchase order",
|
|
34574
|
+
description: "Approve purchase order",
|
|
34575
|
+
method: "POST",
|
|
34576
|
+
path: "/purchase-orders/{id}/approve",
|
|
34577
|
+
commandPath: ["finance", "purchase", "orders", "approve"],
|
|
34578
|
+
options: [
|
|
34579
|
+
{
|
|
34580
|
+
name: "id",
|
|
34581
|
+
cliName: "id",
|
|
34582
|
+
optionKey: "id",
|
|
34583
|
+
source: "path",
|
|
34584
|
+
type: "string",
|
|
34585
|
+
required: true,
|
|
34586
|
+
description: "Entity ID"
|
|
34587
|
+
},
|
|
34588
|
+
{
|
|
34589
|
+
name: "root",
|
|
34590
|
+
cliName: "root",
|
|
34591
|
+
optionKey: "root",
|
|
34592
|
+
source: "body",
|
|
34593
|
+
type: "object",
|
|
34594
|
+
required: false,
|
|
34595
|
+
description: ""
|
|
34596
|
+
},
|
|
34597
|
+
{
|
|
34598
|
+
name: "raw-body",
|
|
34599
|
+
cliName: "raw-body",
|
|
34600
|
+
optionKey: "rawBody",
|
|
34601
|
+
source: "body",
|
|
34602
|
+
type: "object",
|
|
34603
|
+
required: false,
|
|
34604
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34605
|
+
}
|
|
34606
|
+
],
|
|
34607
|
+
hasRequestBody: true,
|
|
34608
|
+
responseFields: [
|
|
34609
|
+
{
|
|
34610
|
+
name: "item",
|
|
34611
|
+
type: "object"
|
|
34612
|
+
}
|
|
34613
|
+
]
|
|
34614
|
+
},
|
|
34615
|
+
{
|
|
34616
|
+
operationId: "PublicPurchaseOrderController_requestChanges",
|
|
34617
|
+
displayName: "Request purchase order changes",
|
|
34618
|
+
description: "Request purchase order changes",
|
|
34619
|
+
method: "POST",
|
|
34620
|
+
path: "/purchase-orders/{id}/request-changes",
|
|
34621
|
+
commandPath: ["finance", "purchase", "orders", "request-changes"],
|
|
34622
|
+
options: [
|
|
34623
|
+
{
|
|
34624
|
+
name: "id",
|
|
34625
|
+
cliName: "id",
|
|
34626
|
+
optionKey: "id",
|
|
34627
|
+
source: "path",
|
|
34628
|
+
type: "string",
|
|
34629
|
+
required: true,
|
|
34630
|
+
description: "Entity ID"
|
|
34631
|
+
},
|
|
34632
|
+
{
|
|
34633
|
+
name: "changesRequiredNote",
|
|
34634
|
+
cliName: "changes-required-note",
|
|
34635
|
+
optionKey: "changesRequiredNote",
|
|
34636
|
+
source: "body",
|
|
34637
|
+
type: "string",
|
|
34638
|
+
required: true,
|
|
34639
|
+
description: ""
|
|
34640
|
+
},
|
|
34641
|
+
{
|
|
34642
|
+
name: "raw-body",
|
|
34643
|
+
cliName: "raw-body",
|
|
34644
|
+
optionKey: "rawBody",
|
|
34645
|
+
source: "body",
|
|
34646
|
+
type: "object",
|
|
34647
|
+
required: false,
|
|
34648
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34649
|
+
}
|
|
34650
|
+
],
|
|
34651
|
+
hasRequestBody: true,
|
|
34652
|
+
responseFields: [
|
|
34653
|
+
{
|
|
34654
|
+
name: "item",
|
|
34655
|
+
type: "object"
|
|
34656
|
+
}
|
|
34657
|
+
]
|
|
34658
|
+
},
|
|
34659
|
+
{
|
|
34660
|
+
operationId: "PublicPurchaseOrderController_markSent",
|
|
34661
|
+
displayName: "Mark purchase order sent",
|
|
34662
|
+
description: "Mark purchase order sent",
|
|
34663
|
+
method: "POST",
|
|
34664
|
+
path: "/purchase-orders/{id}/mark-sent",
|
|
34665
|
+
commandPath: ["finance", "purchase", "orders", "mark-sent"],
|
|
34666
|
+
options: [
|
|
34667
|
+
{
|
|
34668
|
+
name: "id",
|
|
34669
|
+
cliName: "id",
|
|
34670
|
+
optionKey: "id",
|
|
34671
|
+
source: "path",
|
|
34672
|
+
type: "string",
|
|
34673
|
+
required: true,
|
|
34674
|
+
description: "Entity ID"
|
|
34675
|
+
},
|
|
34676
|
+
{
|
|
34677
|
+
name: "root",
|
|
34678
|
+
cliName: "root",
|
|
34679
|
+
optionKey: "root",
|
|
34680
|
+
source: "body",
|
|
34681
|
+
type: "object",
|
|
34682
|
+
required: false,
|
|
34683
|
+
description: ""
|
|
34684
|
+
},
|
|
34685
|
+
{
|
|
34686
|
+
name: "raw-body",
|
|
34687
|
+
cliName: "raw-body",
|
|
34688
|
+
optionKey: "rawBody",
|
|
34689
|
+
source: "body",
|
|
34690
|
+
type: "object",
|
|
34691
|
+
required: false,
|
|
34692
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34693
|
+
}
|
|
34694
|
+
],
|
|
34695
|
+
hasRequestBody: true,
|
|
34696
|
+
responseFields: [
|
|
34697
|
+
{
|
|
34698
|
+
name: "item",
|
|
34699
|
+
type: "object"
|
|
34700
|
+
}
|
|
34701
|
+
]
|
|
34702
|
+
},
|
|
34703
|
+
{
|
|
34704
|
+
operationId: "PublicPurchaseOrderController_cancel",
|
|
34705
|
+
displayName: "Cancel purchase order",
|
|
34706
|
+
description: "Cancel purchase order",
|
|
34707
|
+
method: "POST",
|
|
34708
|
+
path: "/purchase-orders/{id}/cancel",
|
|
34709
|
+
commandPath: ["finance", "purchase", "orders", "cancel"],
|
|
34710
|
+
options: [
|
|
34711
|
+
{
|
|
34712
|
+
name: "id",
|
|
34713
|
+
cliName: "id",
|
|
34714
|
+
optionKey: "id",
|
|
34715
|
+
source: "path",
|
|
34716
|
+
type: "string",
|
|
34717
|
+
required: true,
|
|
34718
|
+
description: "Entity ID"
|
|
34719
|
+
},
|
|
34720
|
+
{
|
|
34721
|
+
name: "root",
|
|
34722
|
+
cliName: "root",
|
|
34723
|
+
optionKey: "root",
|
|
34724
|
+
source: "body",
|
|
34725
|
+
type: "object",
|
|
34726
|
+
required: false,
|
|
34727
|
+
description: ""
|
|
34728
|
+
},
|
|
34729
|
+
{
|
|
34730
|
+
name: "raw-body",
|
|
34731
|
+
cliName: "raw-body",
|
|
34732
|
+
optionKey: "rawBody",
|
|
34733
|
+
source: "body",
|
|
34734
|
+
type: "object",
|
|
34735
|
+
required: false,
|
|
34736
|
+
description: "Raw request body JSON (overrides individual fields)"
|
|
34737
|
+
}
|
|
34738
|
+
],
|
|
34739
|
+
hasRequestBody: true,
|
|
34740
|
+
responseFields: [
|
|
34741
|
+
{
|
|
34742
|
+
name: "item",
|
|
34743
|
+
type: "object"
|
|
34744
|
+
}
|
|
34745
|
+
]
|
|
34746
|
+
},
|
|
32972
34747
|
{
|
|
32973
34748
|
operationId: "McpV3StreamableController_handleGet",
|
|
32974
34749
|
displayName: "MCP SSE stream (not supported)",
|