|
429 | 429 | "tags": [ |
430 | 430 | "Code" |
431 | 431 | ], |
432 | | - "summary": "Create Code", |
433 | | - "operationId": "create_code", |
| 432 | + "summary": "Create Code Record", |
| 433 | + "operationId": "create_code_record", |
434 | 434 | "parameters": [ |
435 | 435 | { |
436 | 436 | "name": "domain", |
|
447 | 447 | "content": { |
448 | 448 | "application/json": { |
449 | 449 | "schema": { |
450 | | - "$ref": "#/components/schemas/CreateCodeRequest" |
| 450 | + "$ref": "#/components/schemas/CreateCodeRecordRequest" |
451 | 451 | } |
452 | 452 | } |
453 | 453 | } |
|
460 | 460 | "schema": { |
461 | 461 | "type": "array", |
462 | 462 | "items": { |
463 | | - "$ref": "#/components/schemas/CreateCodeResponse" |
| 463 | + "$ref": "#/components/schemas/CreateCodeRecordResponse" |
464 | 464 | }, |
465 | | - "title": "Response Create Code Code Domain Create Post" |
| 465 | + "title": "Response Create Code Record Code Domain Create Post" |
466 | 466 | } |
467 | 467 | } |
468 | 468 | } |
|
493 | 493 | "tags": [ |
494 | 494 | "Code" |
495 | 495 | ], |
496 | | - "summary": "Batch Create Code", |
497 | | - "operationId": "batch_create_code", |
| 496 | + "summary": "Batch Create Code Records", |
| 497 | + "operationId": "batch_create_code_records", |
498 | 498 | "parameters": [ |
499 | 499 | { |
500 | 500 | "name": "domain", |
|
513 | 513 | "schema": { |
514 | 514 | "type": "array", |
515 | 515 | "items": { |
516 | | - "$ref": "#/components/schemas/CreateCodeRequest" |
| 516 | + "$ref": "#/components/schemas/CreateCodeRecordRequest" |
517 | 517 | }, |
518 | 518 | "title": "Body" |
519 | 519 | } |
|
528 | 528 | "schema": { |
529 | 529 | "type": "array", |
530 | 530 | "items": { |
531 | | - "$ref": "#/components/schemas/CreateCodeResponse" |
| 531 | + "$ref": "#/components/schemas/CreateCodeRecordResponse" |
532 | 532 | }, |
533 | | - "title": "Response Batch Create Code Code Domain Batch Create Post" |
| 533 | + "title": "Response Batch Create Code Records Code Domain Batch Create Post" |
534 | 534 | } |
535 | 535 | } |
536 | 536 | } |
|
561 | 561 | "tags": [ |
562 | 562 | "Code" |
563 | 563 | ], |
564 | | - "summary": "Get Code By Id", |
565 | | - "operationId": "get_code_by_id", |
| 564 | + "summary": "Get Code Record By Id", |
| 565 | + "operationId": "get_code_record_by_id", |
566 | 566 | "parameters": [ |
567 | 567 | { |
568 | 568 | "name": "domain", |
|
589 | 589 | "content": { |
590 | 590 | "application/json": { |
591 | 591 | "schema": { |
592 | | - "$ref": "#/components/schemas/GetCodeResponse" |
| 592 | + "$ref": "#/components/schemas/GetCodeRecordResponse" |
593 | 593 | } |
594 | 594 | } |
595 | 595 | } |
|
620 | 620 | "tags": [ |
621 | 621 | "Code" |
622 | 622 | ], |
623 | | - "summary": "Get Code", |
624 | | - "operationId": "get_code", |
| 623 | + "summary": "Get Code Records", |
| 624 | + "operationId": "get_code_records", |
625 | 625 | "parameters": [ |
626 | 626 | { |
627 | 627 | "name": "domain", |
|
675 | 675 | "content": { |
676 | 676 | "application/json": { |
677 | 677 | "schema": { |
678 | | - "$ref": "#/components/schemas/GetCodeEntriesResponse" |
| 678 | + "$ref": "#/components/schemas/GetCodeRecordsResponse" |
679 | 679 | } |
680 | 680 | } |
681 | 681 | } |
|
706 | 706 | "tags": [ |
707 | 707 | "Code" |
708 | 708 | ], |
709 | | - "summary": "Delete Code By Id", |
710 | | - "operationId": "delete_code_by_id", |
| 709 | + "summary": "Delete Code Record By Id", |
| 710 | + "operationId": "delete_code_record_by_id", |
711 | 711 | "parameters": [ |
712 | 712 | { |
713 | 713 | "name": "domain", |
|
724 | 724 | "content": { |
725 | 725 | "application/json": { |
726 | 726 | "schema": { |
727 | | - "$ref": "#/components/schemas/DeleteCodeRequest" |
| 727 | + "$ref": "#/components/schemas/DeleteCodeRecordRequest" |
728 | 728 | } |
729 | 729 | } |
730 | 730 | } |
|
735 | 735 | "content": { |
736 | 736 | "application/json": { |
737 | 737 | "schema": { |
738 | | - "$ref": "#/components/schemas/DeleteCodeResponse" |
| 738 | + "$ref": "#/components/schemas/DeleteCodeRecordResponse" |
739 | 739 | } |
740 | 740 | } |
741 | 741 | } |
|
766 | 766 | "tags": [ |
767 | 767 | "Code" |
768 | 768 | ], |
769 | | - "summary": "Delete All Code", |
770 | | - "operationId": "delete_all_code", |
| 769 | + "summary": "Delete All Code Records", |
| 770 | + "operationId": "delete_all_code_records", |
771 | 771 | "parameters": [ |
772 | 772 | { |
773 | 773 | "name": "domain", |
|
785 | 785 | "content": { |
786 | 786 | "application/json": { |
787 | 787 | "schema": { |
788 | | - "$ref": "#/components/schemas/DeleteCodeResponse" |
| 788 | + "$ref": "#/components/schemas/DeleteCodeRecordResponse" |
789 | 789 | } |
790 | 790 | } |
791 | 791 | } |
|
4436 | 4436 | ], |
4437 | 4437 | "title": "ConversationTurnFeedback" |
4438 | 4438 | }, |
4439 | | - "CreateCodeRequest": { |
| 4439 | + "CreateCodeRecordRequest": { |
4440 | 4440 | "properties": { |
4441 | 4441 | "document": { |
4442 | 4442 | "type": "string", |
|
4535 | 4535 | "required": [ |
4536 | 4536 | "document" |
4537 | 4537 | ], |
4538 | | - "title": "CreateCodeRequest" |
| 4538 | + "title": "CreateCodeRecordRequest" |
4539 | 4539 | }, |
4540 | | - "CreateCodeResponse": { |
| 4540 | + "CreateCodeRecordResponse": { |
4541 | 4541 | "properties": { |
4542 | 4542 | "code_id": { |
4543 | 4543 | "type": "string", |
|
4549 | 4549 | "required": [ |
4550 | 4550 | "code_id" |
4551 | 4551 | ], |
4552 | | - "title": "CreateCodeResponse" |
| 4552 | + "title": "CreateCodeRecordResponse" |
4553 | 4553 | }, |
4554 | 4554 | "CreateDocumentRequest": { |
4555 | 4555 | "properties": { |
|
4841 | 4841 | ], |
4842 | 4842 | "title": "DeleteAllWebsitesResponse" |
4843 | 4843 | }, |
4844 | | - "DeleteCodeRequest": { |
| 4844 | + "DeleteCodeRecordRequest": { |
4845 | 4845 | "properties": { |
4846 | 4846 | "code_id": { |
4847 | 4847 | "type": "string", |
|
4853 | 4853 | "required": [ |
4854 | 4854 | "code_id" |
4855 | 4855 | ], |
4856 | | - "title": "DeleteCodeRequest" |
| 4856 | + "title": "DeleteCodeRecordRequest" |
4857 | 4857 | }, |
4858 | | - "DeleteCodeResponse": { |
| 4858 | + "DeleteCodeRecordResponse": { |
4859 | 4859 | "properties": { |
4860 | 4860 | "success": { |
4861 | 4861 | "type": "boolean", |
|
4867 | 4867 | "required": [ |
4868 | 4868 | "success" |
4869 | 4869 | ], |
4870 | | - "title": "DeleteCodeResponse" |
| 4870 | + "title": "DeleteCodeRecordResponse" |
4871 | 4871 | }, |
4872 | 4872 | "DeleteDocumentRequest": { |
4873 | 4873 | "properties": { |
|
5267 | 5267 | ], |
5268 | 5268 | "title": "Feedback" |
5269 | 5269 | }, |
5270 | | - "GetCodeEntriesResponse": { |
| 5270 | + "GetCodeRecordResponse": { |
| 5271 | + "properties": { |
| 5272 | + "document": { |
| 5273 | + "$ref": "#/components/schemas/Code", |
| 5274 | + "description": "The requested code" |
| 5275 | + } |
| 5276 | + }, |
| 5277 | + "type": "object", |
| 5278 | + "required": [ |
| 5279 | + "document" |
| 5280 | + ], |
| 5281 | + "title": "GetCodeRecordResponse" |
| 5282 | + }, |
| 5283 | + "GetCodeRecordsResponse": { |
5271 | 5284 | "properties": { |
5272 | 5285 | "documents": { |
5273 | 5286 | "items": { |
|
5287 | 5300 | "documents", |
5288 | 5301 | "pagination" |
5289 | 5302 | ], |
5290 | | - "title": "GetCodeEntriesResponse" |
5291 | | - }, |
5292 | | - "GetCodeResponse": { |
5293 | | - "properties": { |
5294 | | - "document": { |
5295 | | - "$ref": "#/components/schemas/Code", |
5296 | | - "description": "The requested code" |
5297 | | - } |
5298 | | - }, |
5299 | | - "type": "object", |
5300 | | - "required": [ |
5301 | | - "document" |
5302 | | - ], |
5303 | | - "title": "GetCodeResponse" |
| 5303 | + "title": "GetCodeRecordsResponse" |
5304 | 5304 | }, |
5305 | 5305 | "GetConversationResolutionResponse": { |
5306 | 5306 | "properties": { |
|
0 commit comments