@platzio/sdk 0.6.0-beta.1-1 → 0.6.0-beta.3

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.mjs CHANGED
@@ -173,6 +173,7 @@ var DbEventOperation = {
173
173
  Delete: "DELETE"
174
174
  };
175
175
  var DbTable = {
176
+ Bots: "bots",
176
177
  DeploymentKinds: "deployment_kinds",
177
178
  DeploymentResources: "deployment_resources",
178
179
  DeploymentResourceTypes: "deployment_resource_types",
@@ -422,6 +423,497 @@ var AuthenticationApi = class extends BaseAPI {
422
423
  return AuthenticationApiFp(this.configuration).startGoogleLogin(options).then((request) => request(this.axios, this.basePath));
423
424
  }
424
425
  };
426
+ var BotTokensApiAxiosParamCreator = function(configuration) {
427
+ return {
428
+ /**
429
+ *
430
+ * @param {string | null} [botId]
431
+ * @param {string | null} [createdByUserId]
432
+ * @param {number | null} [page]
433
+ * @param {number | null} [perPage]
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ */
437
+ allBotTokens: (_0, _1, _2, _3, ..._4) => __async(this, [_0, _1, _2, _3, ..._4], function* (botId, createdByUserId, page, perPage, options = {}) {
438
+ const localVarPath = `/api/v2/bot-tokens`;
439
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
440
+ let baseOptions;
441
+ if (configuration) {
442
+ baseOptions = configuration.baseOptions;
443
+ }
444
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "GET" }, baseOptions), options);
445
+ const localVarHeaderParameter = {};
446
+ const localVarQueryParameter = {};
447
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
448
+ if (botId !== void 0) {
449
+ localVarQueryParameter["bot_id"] = botId;
450
+ }
451
+ if (createdByUserId !== void 0) {
452
+ localVarQueryParameter["created_by_user_id"] = createdByUserId;
453
+ }
454
+ if (page !== void 0) {
455
+ localVarQueryParameter["page"] = page;
456
+ }
457
+ if (perPage !== void 0) {
458
+ localVarQueryParameter["per_page"] = perPage;
459
+ }
460
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
461
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
462
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
463
+ return {
464
+ url: toPathString(localVarUrlObj),
465
+ options: localVarRequestOptions
466
+ };
467
+ }),
468
+ /**
469
+ *
470
+ * @param {CreateBotToken} createBotToken
471
+ * @param {*} [options] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ createBotToken: (_0, ..._1) => __async(this, [_0, ..._1], function* (createBotToken, options = {}) {
475
+ assertParamExists("createBotToken", "createBotToken", createBotToken);
476
+ const localVarPath = `/api/v2/bot-tokens`;
477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
478
+ let baseOptions;
479
+ if (configuration) {
480
+ baseOptions = configuration.baseOptions;
481
+ }
482
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "POST" }, baseOptions), options);
483
+ const localVarHeaderParameter = {};
484
+ const localVarQueryParameter = {};
485
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
486
+ localVarHeaderParameter["Content-Type"] = "application/json";
487
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
488
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
489
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
490
+ localVarRequestOptions.data = serializeDataIfNeeded(createBotToken, localVarRequestOptions, configuration);
491
+ return {
492
+ url: toPathString(localVarUrlObj),
493
+ options: localVarRequestOptions
494
+ };
495
+ }),
496
+ /**
497
+ *
498
+ * @param {string} id
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ deleteBotToken: (_0, ..._1) => __async(this, [_0, ..._1], function* (id, options = {}) {
503
+ assertParamExists("deleteBotToken", "id", id);
504
+ const localVarPath = `/api/v2/bot-tokens/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
505
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
506
+ let baseOptions;
507
+ if (configuration) {
508
+ baseOptions = configuration.baseOptions;
509
+ }
510
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "DELETE" }, baseOptions), options);
511
+ const localVarHeaderParameter = {};
512
+ const localVarQueryParameter = {};
513
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
514
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
515
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
516
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
517
+ return {
518
+ url: toPathString(localVarUrlObj),
519
+ options: localVarRequestOptions
520
+ };
521
+ }),
522
+ /**
523
+ *
524
+ * @param {string} id
525
+ * @param {*} [options] Override http request option.
526
+ * @throws {RequiredError}
527
+ */
528
+ getBotToken: (_0, ..._1) => __async(this, [_0, ..._1], function* (id, options = {}) {
529
+ assertParamExists("getBotToken", "id", id);
530
+ const localVarPath = `/api/v2/bot-tokens/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
531
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
532
+ let baseOptions;
533
+ if (configuration) {
534
+ baseOptions = configuration.baseOptions;
535
+ }
536
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "GET" }, baseOptions), options);
537
+ const localVarHeaderParameter = {};
538
+ const localVarQueryParameter = {};
539
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
540
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
542
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
543
+ return {
544
+ url: toPathString(localVarUrlObj),
545
+ options: localVarRequestOptions
546
+ };
547
+ })
548
+ };
549
+ };
550
+ var BotTokensApiFp = function(configuration) {
551
+ const localVarAxiosParamCreator = BotTokensApiAxiosParamCreator(configuration);
552
+ return {
553
+ /**
554
+ *
555
+ * @param {string | null} [botId]
556
+ * @param {string | null} [createdByUserId]
557
+ * @param {number | null} [page]
558
+ * @param {number | null} [perPage]
559
+ * @param {*} [options] Override http request option.
560
+ * @throws {RequiredError}
561
+ */
562
+ allBotTokens(botId, createdByUserId, page, perPage, options) {
563
+ return __async(this, null, function* () {
564
+ var _a2, _b, _c;
565
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.allBotTokens(botId, createdByUserId, page, perPage, options);
566
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
567
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotTokensApi.allBotTokens"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
568
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
569
+ });
570
+ },
571
+ /**
572
+ *
573
+ * @param {CreateBotToken} createBotToken
574
+ * @param {*} [options] Override http request option.
575
+ * @throws {RequiredError}
576
+ */
577
+ createBotToken(createBotToken, options) {
578
+ return __async(this, null, function* () {
579
+ var _a2, _b, _c;
580
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createBotToken(createBotToken, options);
581
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
582
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotTokensApi.createBotToken"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
583
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
584
+ });
585
+ },
586
+ /**
587
+ *
588
+ * @param {string} id
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ deleteBotToken(id, options) {
593
+ return __async(this, null, function* () {
594
+ var _a2, _b, _c;
595
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteBotToken(id, options);
596
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
597
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotTokensApi.deleteBotToken"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
598
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
599
+ });
600
+ },
601
+ /**
602
+ *
603
+ * @param {string} id
604
+ * @param {*} [options] Override http request option.
605
+ * @throws {RequiredError}
606
+ */
607
+ getBotToken(id, options) {
608
+ return __async(this, null, function* () {
609
+ var _a2, _b, _c;
610
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBotToken(id, options);
611
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
612
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotTokensApi.getBotToken"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
613
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
614
+ });
615
+ }
616
+ };
617
+ };
618
+ var BotTokensApiFactory = function(configuration, basePath, axios) {
619
+ const localVarFp = BotTokensApiFp(configuration);
620
+ return {
621
+ /**
622
+ *
623
+ * @param {BotTokensApiAllBotTokensRequest} requestParameters Request parameters.
624
+ * @param {*} [options] Override http request option.
625
+ * @throws {RequiredError}
626
+ */
627
+ allBotTokens(requestParameters = {}, options) {
628
+ return localVarFp.allBotTokens(requestParameters.botId, requestParameters.createdByUserId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
629
+ },
630
+ /**
631
+ *
632
+ * @param {BotTokensApiCreateBotTokenRequest} requestParameters Request parameters.
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ createBotToken(requestParameters, options) {
637
+ return localVarFp.createBotToken(requestParameters.createBotToken, options).then((request) => request(axios, basePath));
638
+ },
639
+ /**
640
+ *
641
+ * @param {BotTokensApiDeleteBotTokenRequest} requestParameters Request parameters.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ */
645
+ deleteBotToken(requestParameters, options) {
646
+ return localVarFp.deleteBotToken(requestParameters.id, options).then((request) => request(axios, basePath));
647
+ },
648
+ /**
649
+ *
650
+ * @param {BotTokensApiGetBotTokenRequest} requestParameters Request parameters.
651
+ * @param {*} [options] Override http request option.
652
+ * @throws {RequiredError}
653
+ */
654
+ getBotToken(requestParameters, options) {
655
+ return localVarFp.getBotToken(requestParameters.id, options).then((request) => request(axios, basePath));
656
+ }
657
+ };
658
+ };
659
+ var BotTokensApi = class extends BaseAPI {
660
+ /**
661
+ *
662
+ * @param {BotTokensApiAllBotTokensRequest} requestParameters Request parameters.
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ * @memberof BotTokensApi
666
+ */
667
+ allBotTokens(requestParameters = {}, options) {
668
+ return BotTokensApiFp(this.configuration).allBotTokens(requestParameters.botId, requestParameters.createdByUserId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
669
+ }
670
+ /**
671
+ *
672
+ * @param {BotTokensApiCreateBotTokenRequest} requestParameters Request parameters.
673
+ * @param {*} [options] Override http request option.
674
+ * @throws {RequiredError}
675
+ * @memberof BotTokensApi
676
+ */
677
+ createBotToken(requestParameters, options) {
678
+ return BotTokensApiFp(this.configuration).createBotToken(requestParameters.createBotToken, options).then((request) => request(this.axios, this.basePath));
679
+ }
680
+ /**
681
+ *
682
+ * @param {BotTokensApiDeleteBotTokenRequest} requestParameters Request parameters.
683
+ * @param {*} [options] Override http request option.
684
+ * @throws {RequiredError}
685
+ * @memberof BotTokensApi
686
+ */
687
+ deleteBotToken(requestParameters, options) {
688
+ return BotTokensApiFp(this.configuration).deleteBotToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
689
+ }
690
+ /**
691
+ *
692
+ * @param {BotTokensApiGetBotTokenRequest} requestParameters Request parameters.
693
+ * @param {*} [options] Override http request option.
694
+ * @throws {RequiredError}
695
+ * @memberof BotTokensApi
696
+ */
697
+ getBotToken(requestParameters, options) {
698
+ return BotTokensApiFp(this.configuration).getBotToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
699
+ }
700
+ };
701
+ var BotsApiAxiosParamCreator = function(configuration) {
702
+ return {
703
+ /**
704
+ *
705
+ * @param {string | null} [displayName]
706
+ * @param {number | null} [page]
707
+ * @param {number | null} [perPage]
708
+ * @param {*} [options] Override http request option.
709
+ * @throws {RequiredError}
710
+ */
711
+ allBots: (_0, _1, _2, ..._3) => __async(this, [_0, _1, _2, ..._3], function* (displayName, page, perPage, options = {}) {
712
+ const localVarPath = `/api/v2/bots`;
713
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
714
+ let baseOptions;
715
+ if (configuration) {
716
+ baseOptions = configuration.baseOptions;
717
+ }
718
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "GET" }, baseOptions), options);
719
+ const localVarHeaderParameter = {};
720
+ const localVarQueryParameter = {};
721
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
722
+ yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
723
+ if (displayName !== void 0) {
724
+ localVarQueryParameter["display_name"] = displayName;
725
+ }
726
+ if (page !== void 0) {
727
+ localVarQueryParameter["page"] = page;
728
+ }
729
+ if (perPage !== void 0) {
730
+ localVarQueryParameter["per_page"] = perPage;
731
+ }
732
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
733
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
734
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
735
+ return {
736
+ url: toPathString(localVarUrlObj),
737
+ options: localVarRequestOptions
738
+ };
739
+ }),
740
+ /**
741
+ *
742
+ * @param {string} id
743
+ * @param {*} [options] Override http request option.
744
+ * @throws {RequiredError}
745
+ */
746
+ getBot: (_0, ..._1) => __async(this, [_0, ..._1], function* (id, options = {}) {
747
+ assertParamExists("getBot", "id", id);
748
+ const localVarPath = `/api/v2/bots/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
749
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
750
+ let baseOptions;
751
+ if (configuration) {
752
+ baseOptions = configuration.baseOptions;
753
+ }
754
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "GET" }, baseOptions), options);
755
+ const localVarHeaderParameter = {};
756
+ const localVarQueryParameter = {};
757
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
758
+ yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
759
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
760
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
761
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
762
+ return {
763
+ url: toPathString(localVarUrlObj),
764
+ options: localVarRequestOptions
765
+ };
766
+ }),
767
+ /**
768
+ *
769
+ * @param {string} id
770
+ * @param {UpdateBot} updateBot
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ updateBot: (_0, _1, ..._2) => __async(this, [_0, _1, ..._2], function* (id, updateBot, options = {}) {
775
+ assertParamExists("updateBot", "id", id);
776
+ assertParamExists("updateBot", "updateBot", updateBot);
777
+ const localVarPath = `/api/v2/bots/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(id)));
778
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
779
+ let baseOptions;
780
+ if (configuration) {
781
+ baseOptions = configuration.baseOptions;
782
+ }
783
+ const localVarRequestOptions = __spreadValues(__spreadValues({ method: "PUT" }, baseOptions), options);
784
+ const localVarHeaderParameter = {};
785
+ const localVarQueryParameter = {};
786
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
787
+ yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
788
+ localVarHeaderParameter["Content-Type"] = "application/json";
789
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
790
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
791
+ localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
792
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBot, localVarRequestOptions, configuration);
793
+ return {
794
+ url: toPathString(localVarUrlObj),
795
+ options: localVarRequestOptions
796
+ };
797
+ })
798
+ };
799
+ };
800
+ var BotsApiFp = function(configuration) {
801
+ const localVarAxiosParamCreator = BotsApiAxiosParamCreator(configuration);
802
+ return {
803
+ /**
804
+ *
805
+ * @param {string | null} [displayName]
806
+ * @param {number | null} [page]
807
+ * @param {number | null} [perPage]
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ allBots(displayName, page, perPage, options) {
812
+ return __async(this, null, function* () {
813
+ var _a2, _b, _c;
814
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.allBots(displayName, page, perPage, options);
815
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
816
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotsApi.allBots"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
817
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
818
+ });
819
+ },
820
+ /**
821
+ *
822
+ * @param {string} id
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ getBot(id, options) {
827
+ return __async(this, null, function* () {
828
+ var _a2, _b, _c;
829
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBot(id, options);
830
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
831
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotsApi.getBot"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
832
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
833
+ });
834
+ },
835
+ /**
836
+ *
837
+ * @param {string} id
838
+ * @param {UpdateBot} updateBot
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ */
842
+ updateBot(id, updateBot, options) {
843
+ return __async(this, null, function* () {
844
+ var _a2, _b, _c;
845
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBot(id, updateBot, options);
846
+ const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
847
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotsApi.updateBot"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
849
+ });
850
+ }
851
+ };
852
+ };
853
+ var BotsApiFactory = function(configuration, basePath, axios) {
854
+ const localVarFp = BotsApiFp(configuration);
855
+ return {
856
+ /**
857
+ *
858
+ * @param {BotsApiAllBotsRequest} requestParameters Request parameters.
859
+ * @param {*} [options] Override http request option.
860
+ * @throws {RequiredError}
861
+ */
862
+ allBots(requestParameters = {}, options) {
863
+ return localVarFp.allBots(requestParameters.displayName, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
864
+ },
865
+ /**
866
+ *
867
+ * @param {BotsApiGetBotRequest} requestParameters Request parameters.
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ getBot(requestParameters, options) {
872
+ return localVarFp.getBot(requestParameters.id, options).then((request) => request(axios, basePath));
873
+ },
874
+ /**
875
+ *
876
+ * @param {BotsApiUpdateBotRequest} requestParameters Request parameters.
877
+ * @param {*} [options] Override http request option.
878
+ * @throws {RequiredError}
879
+ */
880
+ updateBot(requestParameters, options) {
881
+ return localVarFp.updateBot(requestParameters.id, requestParameters.updateBot, options).then((request) => request(axios, basePath));
882
+ }
883
+ };
884
+ };
885
+ var BotsApi = class extends BaseAPI {
886
+ /**
887
+ *
888
+ * @param {BotsApiAllBotsRequest} requestParameters Request parameters.
889
+ * @param {*} [options] Override http request option.
890
+ * @throws {RequiredError}
891
+ * @memberof BotsApi
892
+ */
893
+ allBots(requestParameters = {}, options) {
894
+ return BotsApiFp(this.configuration).allBots(requestParameters.displayName, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
895
+ }
896
+ /**
897
+ *
898
+ * @param {BotsApiGetBotRequest} requestParameters Request parameters.
899
+ * @param {*} [options] Override http request option.
900
+ * @throws {RequiredError}
901
+ * @memberof BotsApi
902
+ */
903
+ getBot(requestParameters, options) {
904
+ return BotsApiFp(this.configuration).getBot(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
905
+ }
906
+ /**
907
+ *
908
+ * @param {BotsApiUpdateBotRequest} requestParameters Request parameters.
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ * @memberof BotsApi
912
+ */
913
+ updateBot(requestParameters, options) {
914
+ return BotsApiFp(this.configuration).updateBot(requestParameters.id, requestParameters.updateBot, options).then((request) => request(this.axios, this.basePath));
915
+ }
916
+ };
425
917
  var DeploymentKindsApiAxiosParamCreator = function(configuration) {
426
918
  return {
427
919
  /**
@@ -4656,6 +5148,14 @@ export {
4656
5148
  AuthenticationApiAxiosParamCreator,
4657
5149
  AuthenticationApiFactory,
4658
5150
  AuthenticationApiFp,
5151
+ BotTokensApi,
5152
+ BotTokensApiAxiosParamCreator,
5153
+ BotTokensApiFactory,
5154
+ BotTokensApiFp,
5155
+ BotsApi,
5156
+ BotsApiAxiosParamCreator,
5157
+ BotsApiFactory,
5158
+ BotsApiFp,
4659
5159
  ChartExtActionEndpoint,
4660
5160
  ChartExtActionMethod,
4661
5161
  ChartExtActionUserDeploymentRole,