@apideck/unify 0.27.0 → 0.28.0

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 (132) hide show
  1. package/README.md +5 -5
  2. package/docs/sdks/companies/README.md +4 -4
  3. package/examples/README.md +26 -0
  4. package/examples/accountingTaxRatesList.example.ts +41 -0
  5. package/examples/package-lock.json +613 -0
  6. package/examples/package.json +18 -0
  7. package/funcs/crmCompaniesCreate.js +1 -1
  8. package/funcs/crmCompaniesCreate.js.map +1 -1
  9. package/funcs/crmCompaniesUpdate.js +1 -1
  10. package/funcs/crmCompaniesUpdate.js.map +1 -1
  11. package/jsr.json +1 -1
  12. package/lib/config.d.ts +4 -4
  13. package/lib/config.js +4 -4
  14. package/models/components/bankaccount.d.ts +5 -0
  15. package/models/components/bankaccount.d.ts.map +1 -1
  16. package/models/components/bankaccount.js +2 -0
  17. package/models/components/bankaccount.js.map +1 -1
  18. package/models/components/bankaccount1.d.ts +123 -0
  19. package/models/components/bankaccount1.d.ts.map +1 -0
  20. package/models/components/bankaccount1.js +128 -0
  21. package/models/components/bankaccount1.js.map +1 -0
  22. package/models/components/{company.d.ts → company1.d.ts} +32 -32
  23. package/models/components/company1.d.ts.map +1 -0
  24. package/models/components/{company.js → company1.js} +37 -37
  25. package/models/components/company1.js.map +1 -0
  26. package/models/components/companyinfo.d.ts +5 -0
  27. package/models/components/companyinfo.d.ts.map +1 -1
  28. package/models/components/companyinfo.js +4 -0
  29. package/models/components/companyinfo.js.map +1 -1
  30. package/models/components/getcompaniesresponse.d.ts +3 -3
  31. package/models/components/getcompaniesresponse.d.ts.map +1 -1
  32. package/models/components/getcompaniesresponse.js +3 -3
  33. package/models/components/getcompaniesresponse.js.map +1 -1
  34. package/models/components/getcompanyresponse.d.ts +3 -3
  35. package/models/components/getcompanyresponse.d.ts.map +1 -1
  36. package/models/components/getcompanyresponse.js +3 -3
  37. package/models/components/getcompanyresponse.js.map +1 -1
  38. package/models/components/index.d.ts +2 -1
  39. package/models/components/index.d.ts.map +1 -1
  40. package/models/components/index.js +2 -1
  41. package/models/components/index.js.map +1 -1
  42. package/models/components/supplier.d.ts +10 -0
  43. package/models/components/supplier.d.ts.map +1 -1
  44. package/models/components/supplier.js +4 -0
  45. package/models/components/supplier.js.map +1 -1
  46. package/models/errors/apierror.d.ts.map +1 -1
  47. package/models/errors/apierror.js +8 -2
  48. package/models/errors/apierror.js.map +1 -1
  49. package/models/errors/badrequestresponse.js +1 -1
  50. package/models/errors/badrequestresponse.js.map +1 -1
  51. package/models/errors/notfoundresponse.js +1 -1
  52. package/models/errors/notfoundresponse.js.map +1 -1
  53. package/models/errors/paymentrequiredresponse.js +1 -1
  54. package/models/errors/paymentrequiredresponse.js.map +1 -1
  55. package/models/errors/unauthorizedresponse.js +1 -1
  56. package/models/errors/unauthorizedresponse.js.map +1 -1
  57. package/models/errors/unprocessableresponse.js +1 -1
  58. package/models/errors/unprocessableresponse.js.map +1 -1
  59. package/models/operations/crmcompaniesadd.d.ts +2 -2
  60. package/models/operations/crmcompaniesadd.d.ts.map +1 -1
  61. package/models/operations/crmcompaniesadd.js +4 -4
  62. package/models/operations/crmcompaniesadd.js.map +1 -1
  63. package/models/operations/crmcompaniesupdate.d.ts +2 -2
  64. package/models/operations/crmcompaniesupdate.d.ts.map +1 -1
  65. package/models/operations/crmcompaniesupdate.js +4 -4
  66. package/models/operations/crmcompaniesupdate.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/__tests__/activities.test.ts +360 -9
  69. package/src/__tests__/apideckcompanies.test.ts +373 -9
  70. package/src/__tests__/apideckdepartments.test.ts +181 -9
  71. package/src/__tests__/applicants.test.ts +473 -9
  72. package/src/__tests__/applications.test.ts +189 -9
  73. package/src/__tests__/billpayments.test.ts +367 -9
  74. package/src/__tests__/bills.test.ts +500 -9
  75. package/src/__tests__/collectionticketcomments.test.ts +183 -7
  76. package/src/__tests__/collectiontickets.test.ts +191 -7
  77. package/src/__tests__/companies.test.ts +538 -9
  78. package/src/__tests__/connections.test.ts +409 -5
  79. package/src/__tests__/connectionsettings.test.ts +410 -5
  80. package/src/__tests__/contacts.test.ts +466 -9
  81. package/src/__tests__/creditnotes.test.ts +758 -87
  82. package/src/__tests__/customers.test.ts +513 -9
  83. package/src/__tests__/customobjects.test.ts +150 -9
  84. package/src/__tests__/customobjectschemas.test.ts +321 -9
  85. package/src/__tests__/departments.test.ts +173 -9
  86. package/src/__tests__/drivegroups.test.ts +181 -9
  87. package/src/__tests__/drives.test.ts +179 -9
  88. package/src/__tests__/employees.test.ts +829 -94
  89. package/src/__tests__/expenses.test.ts +332 -9
  90. package/src/__tests__/files.test.ts +106 -5
  91. package/src/__tests__/folders.test.ts +296 -13
  92. package/src/__tests__/invoiceitems.test.ts +272 -9
  93. package/src/__tests__/invoices.test.ts +673 -67
  94. package/src/__tests__/journalentries.test.ts +490 -8
  95. package/src/__tests__/leads.test.ts +446 -9
  96. package/src/__tests__/ledgeraccounts.test.ts +237 -8
  97. package/src/__tests__/locations.test.ts +298 -9
  98. package/src/__tests__/messages.test.ts +195 -9
  99. package/src/__tests__/notes.test.ts +191 -9
  100. package/src/__tests__/opportunities.test.ts +218 -9
  101. package/src/__tests__/payments.test.ts +312 -9
  102. package/src/__tests__/pipelines.test.ts +194 -9
  103. package/src/__tests__/purchaseorders.test.ts +773 -104
  104. package/src/__tests__/sharedlinks.test.ts +183 -9
  105. package/src/__tests__/subsidiaries.test.ts +183 -9
  106. package/src/__tests__/suppliers.test.ts +505 -9
  107. package/src/__tests__/taxrates.test.ts +232 -9
  108. package/src/__tests__/timeoffrequests.test.ts +210 -9
  109. package/src/__tests__/trackingcategories.test.ts +187 -7
  110. package/src/__tests__/uploadsessions.test.ts +78 -5
  111. package/src/__tests__/users.test.ts +356 -9
  112. package/src/funcs/crmCompaniesCreate.ts +1 -1
  113. package/src/funcs/crmCompaniesUpdate.ts +1 -1
  114. package/src/lib/config.ts +4 -4
  115. package/src/models/components/bankaccount.ts +7 -0
  116. package/src/models/components/bankaccount1.ts +207 -0
  117. package/src/models/components/{company.ts → company1.ts} +131 -128
  118. package/src/models/components/companyinfo.ts +9 -0
  119. package/src/models/components/getcompaniesresponse.ts +9 -9
  120. package/src/models/components/getcompanyresponse.ts +9 -9
  121. package/src/models/components/index.ts +2 -1
  122. package/src/models/components/supplier.ts +14 -0
  123. package/src/models/errors/apierror.ts +8 -2
  124. package/src/models/errors/badrequestresponse.ts +1 -1
  125. package/src/models/errors/notfoundresponse.ts +1 -1
  126. package/src/models/errors/paymentrequiredresponse.ts +1 -1
  127. package/src/models/errors/unauthorizedresponse.ts +1 -1
  128. package/src/models/errors/unprocessableresponse.ts +1 -1
  129. package/src/models/operations/crmcompaniesadd.ts +6 -6
  130. package/src/models/operations/crmcompaniesupdate.ts +6 -6
  131. package/models/components/company.d.ts.map +0 -1
  132. package/models/components/company.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { assert, expect, it, test } from "vitest";
5
+ import { expect, test } from "vitest";
6
6
  import { Apideck } from "../index.js";
7
7
  import { createTestHTTPClient } from "./testclient.js";
8
8
 
@@ -176,10 +176,83 @@ test("Collectionticketcomments Issue Tracking Collection Ticket Comments All", a
176
176
  });
177
177
  });
178
178
 
179
- it.skip("Collectionticketcomments Issue Tracking Collection Ticket Comments Add", async () => {
180
- assert.fail(
181
- "incomplete test found please make sure to address the following errors: [`workflow step issueTracking.collectionTicketCommentsAdd.test referencing operation issueTracking.collectionTicketCommentsAdd with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsAdd.test referencing operation issueTracking.collectionTicketCommentsAdd with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsAdd.test referencing operation issueTracking.collectionTicketCommentsAdd with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsAdd.test referencing operation issueTracking.collectionTicketCommentsAdd with expression in requestBody with type not currently supported`]",
179
+ test("Collectionticketcomments Issue Tracking Collection Ticket Comments Add", async () => {
180
+ const testHttpClient = createTestHTTPClient(
181
+ "issueTracking.collectionTicketCommentsAdd",
182
182
  );
183
+
184
+ const apideck = new Apideck({
185
+ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
186
+ httpClient: testHttpClient,
187
+ apiKey: process.env["APIDECK_API_KEY"] ?? "value",
188
+ });
189
+
190
+ const result = await apideck.issueTracking.collectionTicketComments.create({
191
+ consumerId: "test-consumer",
192
+ appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
193
+ serviceId: "salesforce",
194
+ collectionId: "apideck-io",
195
+ ticketId: "<id>",
196
+ collectionTicketComment: {
197
+ body: "What internet provider do you use?",
198
+ passThrough: [
199
+ {
200
+ serviceId: "<id>",
201
+ extendPaths: [
202
+ {
203
+ path: "$.nested.property",
204
+ value: {
205
+ "TaxClassificationRef": {
206
+ "value": "EUC-99990201-V1-00020000",
207
+ },
208
+ },
209
+ },
210
+ {
211
+ path: "$.nested.property",
212
+ value: {
213
+ "TaxClassificationRef": {
214
+ "value": "EUC-99990201-V1-00020000",
215
+ },
216
+ },
217
+ },
218
+ ],
219
+ },
220
+ {
221
+ serviceId: "<id>",
222
+ extendPaths: [
223
+ {
224
+ path: "$.nested.property",
225
+ value: {
226
+ "TaxClassificationRef": {
227
+ "value": "EUC-99990201-V1-00020000",
228
+ },
229
+ },
230
+ },
231
+ {
232
+ path: "$.nested.property",
233
+ value: {
234
+ "TaxClassificationRef": {
235
+ "value": "EUC-99990201-V1-00020000",
236
+ },
237
+ },
238
+ },
239
+ ],
240
+ },
241
+ ],
242
+ },
243
+ });
244
+ expect(result.httpMeta.response.status).toBe(201);
245
+ expect(result.createCommentResponse).toBeDefined();
246
+ expect(result.createCommentResponse).toEqual({
247
+ statusCode: 200,
248
+ status: "OK",
249
+ service: "jira",
250
+ resource: "Tickets",
251
+ operation: "add",
252
+ data: {
253
+ id: "12345",
254
+ },
255
+ });
183
256
  });
184
257
 
185
258
  test("Collectionticketcomments Issue Tracking Collection Ticket Comments One", async () => {
@@ -285,10 +358,113 @@ test("Collectionticketcomments Issue Tracking Collection Ticket Comments One", a
285
358
  });
286
359
  });
287
360
 
288
- it.skip("Collectionticketcomments Issue Tracking Collection Ticket Comments Update", async () => {
289
- assert.fail(
290
- "incomplete test found please make sure to address the following errors: [`workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketCommentsUpdate.test referencing operation issueTracking.collectionTicketCommentsUpdate with expression in requestBody with type not currently supported`]",
361
+ test("Collectionticketcomments Issue Tracking Collection Ticket Comments Update", async () => {
362
+ const testHttpClient = createTestHTTPClient(
363
+ "issueTracking.collectionTicketCommentsUpdate",
291
364
  );
365
+
366
+ const apideck = new Apideck({
367
+ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
368
+ httpClient: testHttpClient,
369
+ apiKey: process.env["APIDECK_API_KEY"] ?? "value",
370
+ });
371
+
372
+ const result = await apideck.issueTracking.collectionTicketComments.update({
373
+ id: "<id>",
374
+ consumerId: "test-consumer",
375
+ appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
376
+ serviceId: "salesforce",
377
+ collectionId: "apideck-io",
378
+ ticketId: "<id>",
379
+ collectionTicketComment: {
380
+ body: "What internet provider do you use?",
381
+ passThrough: [
382
+ {
383
+ serviceId: "<id>",
384
+ extendPaths: [
385
+ {
386
+ path: "$.nested.property",
387
+ value: {
388
+ "TaxClassificationRef": {
389
+ "value": "EUC-99990201-V1-00020000",
390
+ },
391
+ },
392
+ },
393
+ {
394
+ path: "$.nested.property",
395
+ value: {
396
+ "TaxClassificationRef": {
397
+ "value": "EUC-99990201-V1-00020000",
398
+ },
399
+ },
400
+ },
401
+ ],
402
+ },
403
+ {
404
+ serviceId: "<id>",
405
+ extendPaths: [
406
+ {
407
+ path: "$.nested.property",
408
+ value: {
409
+ "TaxClassificationRef": {
410
+ "value": "EUC-99990201-V1-00020000",
411
+ },
412
+ },
413
+ },
414
+ {
415
+ path: "$.nested.property",
416
+ value: {
417
+ "TaxClassificationRef": {
418
+ "value": "EUC-99990201-V1-00020000",
419
+ },
420
+ },
421
+ },
422
+ ],
423
+ },
424
+ {
425
+ serviceId: "<id>",
426
+ extendPaths: [
427
+ {
428
+ path: "$.nested.property",
429
+ value: {
430
+ "TaxClassificationRef": {
431
+ "value": "EUC-99990201-V1-00020000",
432
+ },
433
+ },
434
+ },
435
+ {
436
+ path: "$.nested.property",
437
+ value: {
438
+ "TaxClassificationRef": {
439
+ "value": "EUC-99990201-V1-00020000",
440
+ },
441
+ },
442
+ },
443
+ {
444
+ path: "$.nested.property",
445
+ value: {
446
+ "TaxClassificationRef": {
447
+ "value": "EUC-99990201-V1-00020000",
448
+ },
449
+ },
450
+ },
451
+ ],
452
+ },
453
+ ],
454
+ },
455
+ });
456
+ expect(result.httpMeta.response.status).toBe(200);
457
+ expect(result.updateCommentResponse).toBeDefined();
458
+ expect(result.updateCommentResponse).toEqual({
459
+ statusCode: 200,
460
+ status: "OK",
461
+ service: "github",
462
+ resource: "Tickets",
463
+ operation: "update",
464
+ data: {
465
+ id: "12345",
466
+ },
467
+ });
292
468
  });
293
469
 
294
470
  test("Collectionticketcomments Issue Tracking Collection Ticket Comments Delete", async () => {
@@ -2,7 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { assert, expect, it, test } from "vitest";
5
+ import { expect, test } from "vitest";
6
6
  import { Apideck } from "../index.js";
7
7
  import { createTestHTTPClient } from "./testclient.js";
8
8
 
@@ -277,10 +277,88 @@ test("Collectiontickets Issue Tracking Collection Tickets All", async () => {
277
277
  });
278
278
  });
279
279
 
280
- it.skip("Collectiontickets Issue Tracking Collection Tickets Add", async () => {
281
- assert.fail(
282
- "incomplete test found please make sure to address the following errors: [`workflow step issueTracking.collectionTicketsAdd.test referencing operation issueTracking.collectionTicketsAdd with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketsAdd.test referencing operation issueTracking.collectionTicketsAdd with expression in requestBody with type not currently supported`]",
280
+ test("Collectiontickets Issue Tracking Collection Tickets Add", async () => {
281
+ const testHttpClient = createTestHTTPClient(
282
+ "issueTracking.collectionTicketsAdd",
283
283
  );
284
+
285
+ const apideck = new Apideck({
286
+ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
287
+ httpClient: testHttpClient,
288
+ apiKey: process.env["APIDECK_API_KEY"] ?? "value",
289
+ });
290
+
291
+ const result = await apideck.issueTracking.collectionTickets.create({
292
+ consumerId: "test-consumer",
293
+ appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
294
+ serviceId: "salesforce",
295
+ collectionId: "apideck-io",
296
+ ticket: {
297
+ parentId: "12345",
298
+ type: "Technical",
299
+ subject: "Technical Support Request",
300
+ description: "I am facing issues with my internet connection",
301
+ status: "open",
302
+ priority: "high",
303
+ assignees: [
304
+ {
305
+ id: "12345",
306
+ },
307
+ {
308
+ id: "12345",
309
+ },
310
+ ],
311
+ dueDate: new Date("2020-09-30T07:43:32.000Z"),
312
+ tags: [
313
+ {
314
+ id: "12345",
315
+ },
316
+ {
317
+ id: "12345",
318
+ },
319
+ ],
320
+ passThrough: [
321
+ {
322
+ serviceId: "<id>",
323
+ extendPaths: [
324
+ {
325
+ path: "$.nested.property",
326
+ value: {
327
+ "TaxClassificationRef": {
328
+ "value": "EUC-99990201-V1-00020000",
329
+ },
330
+ },
331
+ },
332
+ ],
333
+ },
334
+ {
335
+ serviceId: "<id>",
336
+ extendPaths: [
337
+ {
338
+ path: "$.nested.property",
339
+ value: {
340
+ "TaxClassificationRef": {
341
+ "value": "EUC-99990201-V1-00020000",
342
+ },
343
+ },
344
+ },
345
+ ],
346
+ },
347
+ ],
348
+ },
349
+ });
350
+ expect(result.httpMeta.response.status).toBe(201);
351
+ expect(result.createTicketResponse).toBeDefined();
352
+ expect(result.createTicketResponse).toEqual({
353
+ statusCode: 200,
354
+ status: "OK",
355
+ service: "jira",
356
+ resource: "Tickets",
357
+ operation: "add",
358
+ data: {
359
+ id: "12345",
360
+ },
361
+ });
284
362
  });
285
363
 
286
364
  test("Collectiontickets Issue Tracking Collection Tickets One", async () => {
@@ -404,10 +482,116 @@ test("Collectiontickets Issue Tracking Collection Tickets One", async () => {
404
482
  });
405
483
  });
406
484
 
407
- it.skip("Collectiontickets Issue Tracking Collection Tickets Update", async () => {
408
- assert.fail(
409
- "incomplete test found please make sure to address the following errors: [`workflow step issueTracking.collectionTicketsUpdate.test referencing operation issueTracking.collectionTicketsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketsUpdate.test referencing operation issueTracking.collectionTicketsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketsUpdate.test referencing operation issueTracking.collectionTicketsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketsUpdate.test referencing operation issueTracking.collectionTicketsUpdate with expression in requestBody with type not currently supported`, `workflow step issueTracking.collectionTicketsUpdate.test referencing operation issueTracking.collectionTicketsUpdate with expression in requestBody with type not currently supported`]",
485
+ test("Collectiontickets Issue Tracking Collection Tickets Update", async () => {
486
+ const testHttpClient = createTestHTTPClient(
487
+ "issueTracking.collectionTicketsUpdate",
410
488
  );
489
+
490
+ const apideck = new Apideck({
491
+ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
492
+ httpClient: testHttpClient,
493
+ apiKey: process.env["APIDECK_API_KEY"] ?? "value",
494
+ });
495
+
496
+ const result = await apideck.issueTracking.collectionTickets.update({
497
+ ticketId: "<id>",
498
+ consumerId: "test-consumer",
499
+ appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
500
+ serviceId: "salesforce",
501
+ collectionId: "apideck-io",
502
+ ticket: {
503
+ parentId: "12345",
504
+ type: "Technical",
505
+ subject: "Technical Support Request",
506
+ description: "I am facing issues with my internet connection",
507
+ status: "open",
508
+ priority: "high",
509
+ assignees: [
510
+ {
511
+ id: "12345",
512
+ },
513
+ {
514
+ id: "12345",
515
+ },
516
+ {
517
+ id: "12345",
518
+ },
519
+ ],
520
+ dueDate: new Date("2020-09-30T07:43:32.000Z"),
521
+ tags: [
522
+ {
523
+ id: "12345",
524
+ },
525
+ {
526
+ id: "12345",
527
+ },
528
+ ],
529
+ passThrough: [
530
+ {
531
+ serviceId: "<id>",
532
+ extendPaths: [
533
+ {
534
+ path: "$.nested.property",
535
+ value: {
536
+ "TaxClassificationRef": {
537
+ "value": "EUC-99990201-V1-00020000",
538
+ },
539
+ },
540
+ },
541
+ {
542
+ path: "$.nested.property",
543
+ value: {
544
+ "TaxClassificationRef": {
545
+ "value": "EUC-99990201-V1-00020000",
546
+ },
547
+ },
548
+ },
549
+ {
550
+ path: "$.nested.property",
551
+ value: {
552
+ "TaxClassificationRef": {
553
+ "value": "EUC-99990201-V1-00020000",
554
+ },
555
+ },
556
+ },
557
+ ],
558
+ },
559
+ {
560
+ serviceId: "<id>",
561
+ extendPaths: [
562
+ {
563
+ path: "$.nested.property",
564
+ value: {
565
+ "TaxClassificationRef": {
566
+ "value": "EUC-99990201-V1-00020000",
567
+ },
568
+ },
569
+ },
570
+ {
571
+ path: "$.nested.property",
572
+ value: {
573
+ "TaxClassificationRef": {
574
+ "value": "EUC-99990201-V1-00020000",
575
+ },
576
+ },
577
+ },
578
+ ],
579
+ },
580
+ ],
581
+ },
582
+ });
583
+ expect(result.httpMeta.response.status).toBe(200);
584
+ expect(result.updateTicketResponse).toBeDefined();
585
+ expect(result.updateTicketResponse).toEqual({
586
+ statusCode: 200,
587
+ status: "OK",
588
+ service: "github",
589
+ resource: "Tickets",
590
+ operation: "update",
591
+ data: {
592
+ id: "12345",
593
+ },
594
+ });
411
595
  });
412
596
 
413
597
  test("Collectiontickets Issue Tracking Collection Tickets Delete", async () => {