browserstack-node-sdk 1.55.7 → 1.56.1
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/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -62,6 +62,8 @@ goog.exportSymbol('proto.browserstack.sdk.v1.StopBinSessionRequest', null, globa
|
|
|
62
62
|
goog.exportSymbol('proto.browserstack.sdk.v1.StopBinSessionResponse', null, global);
|
|
63
63
|
goog.exportSymbol('proto.browserstack.sdk.v1.TestFrameworkEventRequest', null, global);
|
|
64
64
|
goog.exportSymbol('proto.browserstack.sdk.v1.TestFrameworkEventResponse', null, global);
|
|
65
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.TestOrchestrationRequest', null, global);
|
|
66
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.TestOrchestrationResponse', null, global);
|
|
65
67
|
goog.exportSymbol('proto.browserstack.sdk.v1.TestSessionEventRequest', null, global);
|
|
66
68
|
goog.exportSymbol('proto.browserstack.sdk.v1.TestSessionEventRequest.AutomationSession', null, global);
|
|
67
69
|
goog.exportSymbol('proto.browserstack.sdk.v1.TestSessionEventResponse', null, global);
|
|
@@ -821,6 +823,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
821
823
|
*/
|
|
822
824
|
proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.displayName = 'proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse';
|
|
823
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
* Generated by JsPbCodeGenerator.
|
|
828
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
829
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
830
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
831
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
832
|
+
* valid.
|
|
833
|
+
* @extends {jspb.Message}
|
|
834
|
+
* @constructor
|
|
835
|
+
*/
|
|
836
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest = function(opt_data) {
|
|
837
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_, null);
|
|
838
|
+
};
|
|
839
|
+
goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationRequest, jspb.Message);
|
|
840
|
+
if (goog.DEBUG && !COMPILED) {
|
|
841
|
+
/**
|
|
842
|
+
* @public
|
|
843
|
+
* @override
|
|
844
|
+
*/
|
|
845
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationRequest';
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Generated by JsPbCodeGenerator.
|
|
849
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
850
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
851
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
852
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
853
|
+
* valid.
|
|
854
|
+
* @extends {jspb.Message}
|
|
855
|
+
* @constructor
|
|
856
|
+
*/
|
|
857
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse = function(opt_data) {
|
|
858
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_, null);
|
|
859
|
+
};
|
|
860
|
+
goog.inherits(proto.browserstack.sdk.v1.TestOrchestrationResponse, jspb.Message);
|
|
861
|
+
if (goog.DEBUG && !COMPILED) {
|
|
862
|
+
/**
|
|
863
|
+
* @public
|
|
864
|
+
* @override
|
|
865
|
+
*/
|
|
866
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.displayName = 'proto.browserstack.sdk.v1.TestOrchestrationResponse';
|
|
867
|
+
}
|
|
824
868
|
|
|
825
869
|
|
|
826
870
|
|
|
@@ -10685,4 +10729,472 @@ proto.browserstack.sdk.v1.GetAggregatedClientTroubleshootingErrorsResponse.proto
|
|
|
10685
10729
|
};
|
|
10686
10730
|
|
|
10687
10731
|
|
|
10732
|
+
|
|
10733
|
+
/**
|
|
10734
|
+
* List of repeated fields within this message type.
|
|
10735
|
+
* @private {!Array<number>}
|
|
10736
|
+
* @const
|
|
10737
|
+
*/
|
|
10738
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.repeatedFields_ = [2];
|
|
10739
|
+
|
|
10740
|
+
|
|
10741
|
+
|
|
10742
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10743
|
+
/**
|
|
10744
|
+
* Creates an object representation of this proto.
|
|
10745
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10746
|
+
* Optional fields that are not set will be set to undefined.
|
|
10747
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10748
|
+
* For the list of reserved names please see:
|
|
10749
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10750
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10751
|
+
* JSPB instance for transitional soy proto support:
|
|
10752
|
+
* http://goto/soy-param-migration
|
|
10753
|
+
* @return {!Object}
|
|
10754
|
+
*/
|
|
10755
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10756
|
+
return proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject(opt_includeInstance, this);
|
|
10757
|
+
};
|
|
10758
|
+
|
|
10759
|
+
|
|
10760
|
+
/**
|
|
10761
|
+
* Static version of the {@see toObject} method.
|
|
10762
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10763
|
+
* the JSPB instance for transitional soy proto support:
|
|
10764
|
+
* http://goto/soy-param-migration
|
|
10765
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The msg instance to transform.
|
|
10766
|
+
* @return {!Object}
|
|
10767
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10768
|
+
*/
|
|
10769
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.toObject = function(includeInstance, msg) {
|
|
10770
|
+
var f, obj = {
|
|
10771
|
+
binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10772
|
+
testFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
10773
|
+
orchestrationStrategy: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10774
|
+
orchestrationMetadata: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10775
|
+
};
|
|
10776
|
+
|
|
10777
|
+
if (includeInstance) {
|
|
10778
|
+
obj.$jspbMessageInstance = msg;
|
|
10779
|
+
}
|
|
10780
|
+
return obj;
|
|
10781
|
+
};
|
|
10782
|
+
}
|
|
10783
|
+
|
|
10784
|
+
|
|
10785
|
+
/**
|
|
10786
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10787
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10788
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
|
|
10789
|
+
*/
|
|
10790
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinary = function(bytes) {
|
|
10791
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10792
|
+
var msg = new proto.browserstack.sdk.v1.TestOrchestrationRequest;
|
|
10793
|
+
return proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader(msg, reader);
|
|
10794
|
+
};
|
|
10795
|
+
|
|
10796
|
+
|
|
10797
|
+
/**
|
|
10798
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10799
|
+
* given reader into the given message object.
|
|
10800
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} msg The message object to deserialize into.
|
|
10801
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10802
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest}
|
|
10803
|
+
*/
|
|
10804
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10805
|
+
while (reader.nextField()) {
|
|
10806
|
+
if (reader.isEndGroup()) {
|
|
10807
|
+
break;
|
|
10808
|
+
}
|
|
10809
|
+
var field = reader.getFieldNumber();
|
|
10810
|
+
switch (field) {
|
|
10811
|
+
case 1:
|
|
10812
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10813
|
+
msg.setBinSessionId(value);
|
|
10814
|
+
break;
|
|
10815
|
+
case 2:
|
|
10816
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10817
|
+
msg.addTestFiles(value);
|
|
10818
|
+
break;
|
|
10819
|
+
case 3:
|
|
10820
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10821
|
+
msg.setOrchestrationStrategy(value);
|
|
10822
|
+
break;
|
|
10823
|
+
case 4:
|
|
10824
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10825
|
+
msg.setOrchestrationMetadata(value);
|
|
10826
|
+
break;
|
|
10827
|
+
default:
|
|
10828
|
+
reader.skipField();
|
|
10829
|
+
break;
|
|
10830
|
+
}
|
|
10831
|
+
}
|
|
10832
|
+
return msg;
|
|
10833
|
+
};
|
|
10834
|
+
|
|
10835
|
+
|
|
10836
|
+
/**
|
|
10837
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10838
|
+
* @return {!Uint8Array}
|
|
10839
|
+
*/
|
|
10840
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.serializeBinary = function() {
|
|
10841
|
+
var writer = new jspb.BinaryWriter();
|
|
10842
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter(this, writer);
|
|
10843
|
+
return writer.getResultBuffer();
|
|
10844
|
+
};
|
|
10845
|
+
|
|
10846
|
+
|
|
10847
|
+
/**
|
|
10848
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10849
|
+
* format), writing to the given BinaryWriter.
|
|
10850
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationRequest} message
|
|
10851
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10852
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10853
|
+
*/
|
|
10854
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10855
|
+
var f = undefined;
|
|
10856
|
+
f = message.getBinSessionId();
|
|
10857
|
+
if (f.length > 0) {
|
|
10858
|
+
writer.writeString(
|
|
10859
|
+
1,
|
|
10860
|
+
f
|
|
10861
|
+
);
|
|
10862
|
+
}
|
|
10863
|
+
f = message.getTestFilesList();
|
|
10864
|
+
if (f.length > 0) {
|
|
10865
|
+
writer.writeRepeatedString(
|
|
10866
|
+
2,
|
|
10867
|
+
f
|
|
10868
|
+
);
|
|
10869
|
+
}
|
|
10870
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
10871
|
+
if (f != null) {
|
|
10872
|
+
writer.writeString(
|
|
10873
|
+
3,
|
|
10874
|
+
f
|
|
10875
|
+
);
|
|
10876
|
+
}
|
|
10877
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
10878
|
+
if (f != null) {
|
|
10879
|
+
writer.writeString(
|
|
10880
|
+
4,
|
|
10881
|
+
f
|
|
10882
|
+
);
|
|
10883
|
+
}
|
|
10884
|
+
};
|
|
10885
|
+
|
|
10886
|
+
|
|
10887
|
+
/**
|
|
10888
|
+
* optional string bin_session_id = 1;
|
|
10889
|
+
* @return {string}
|
|
10890
|
+
*/
|
|
10891
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getBinSessionId = function() {
|
|
10892
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10893
|
+
};
|
|
10894
|
+
|
|
10895
|
+
|
|
10896
|
+
/**
|
|
10897
|
+
* @param {string} value
|
|
10898
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10899
|
+
*/
|
|
10900
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setBinSessionId = function(value) {
|
|
10901
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10902
|
+
};
|
|
10903
|
+
|
|
10904
|
+
|
|
10905
|
+
/**
|
|
10906
|
+
* repeated string test_files = 2;
|
|
10907
|
+
* @return {!Array<string>}
|
|
10908
|
+
*/
|
|
10909
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getTestFilesList = function() {
|
|
10910
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
10911
|
+
};
|
|
10912
|
+
|
|
10913
|
+
|
|
10914
|
+
/**
|
|
10915
|
+
* @param {!Array<string>} value
|
|
10916
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10917
|
+
*/
|
|
10918
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setTestFilesList = function(value) {
|
|
10919
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
10920
|
+
};
|
|
10921
|
+
|
|
10922
|
+
|
|
10923
|
+
/**
|
|
10924
|
+
* @param {string} value
|
|
10925
|
+
* @param {number=} opt_index
|
|
10926
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10927
|
+
*/
|
|
10928
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.addTestFiles = function(value, opt_index) {
|
|
10929
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
10930
|
+
};
|
|
10931
|
+
|
|
10932
|
+
|
|
10933
|
+
/**
|
|
10934
|
+
* Clears the list making it empty but non-null.
|
|
10935
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10936
|
+
*/
|
|
10937
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearTestFilesList = function() {
|
|
10938
|
+
return this.setTestFilesList([]);
|
|
10939
|
+
};
|
|
10940
|
+
|
|
10941
|
+
|
|
10942
|
+
/**
|
|
10943
|
+
* optional string orchestration_strategy = 3;
|
|
10944
|
+
* @return {string}
|
|
10945
|
+
*/
|
|
10946
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationStrategy = function() {
|
|
10947
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10948
|
+
};
|
|
10949
|
+
|
|
10950
|
+
|
|
10951
|
+
/**
|
|
10952
|
+
* @param {string} value
|
|
10953
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10954
|
+
*/
|
|
10955
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationStrategy = function(value) {
|
|
10956
|
+
return jspb.Message.setField(this, 3, value);
|
|
10957
|
+
};
|
|
10958
|
+
|
|
10959
|
+
|
|
10960
|
+
/**
|
|
10961
|
+
* Clears the field making it undefined.
|
|
10962
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10963
|
+
*/
|
|
10964
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationStrategy = function() {
|
|
10965
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
10966
|
+
};
|
|
10967
|
+
|
|
10968
|
+
|
|
10969
|
+
/**
|
|
10970
|
+
* Returns whether this field is set.
|
|
10971
|
+
* @return {boolean}
|
|
10972
|
+
*/
|
|
10973
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationStrategy = function() {
|
|
10974
|
+
return jspb.Message.getField(this, 3) != null;
|
|
10975
|
+
};
|
|
10976
|
+
|
|
10977
|
+
|
|
10978
|
+
/**
|
|
10979
|
+
* optional string orchestration_metadata = 4;
|
|
10980
|
+
* @return {string}
|
|
10981
|
+
*/
|
|
10982
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.getOrchestrationMetadata = function() {
|
|
10983
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10984
|
+
};
|
|
10985
|
+
|
|
10986
|
+
|
|
10987
|
+
/**
|
|
10988
|
+
* @param {string} value
|
|
10989
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10990
|
+
*/
|
|
10991
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.setOrchestrationMetadata = function(value) {
|
|
10992
|
+
return jspb.Message.setField(this, 4, value);
|
|
10993
|
+
};
|
|
10994
|
+
|
|
10995
|
+
|
|
10996
|
+
/**
|
|
10997
|
+
* Clears the field making it undefined.
|
|
10998
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationRequest} returns this
|
|
10999
|
+
*/
|
|
11000
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.clearOrchestrationMetadata = function() {
|
|
11001
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
11002
|
+
};
|
|
11003
|
+
|
|
11004
|
+
|
|
11005
|
+
/**
|
|
11006
|
+
* Returns whether this field is set.
|
|
11007
|
+
* @return {boolean}
|
|
11008
|
+
*/
|
|
11009
|
+
proto.browserstack.sdk.v1.TestOrchestrationRequest.prototype.hasOrchestrationMetadata = function() {
|
|
11010
|
+
return jspb.Message.getField(this, 4) != null;
|
|
11011
|
+
};
|
|
11012
|
+
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
/**
|
|
11016
|
+
* List of repeated fields within this message type.
|
|
11017
|
+
* @private {!Array<number>}
|
|
11018
|
+
* @const
|
|
11019
|
+
*/
|
|
11020
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.repeatedFields_ = [2];
|
|
11021
|
+
|
|
11022
|
+
|
|
11023
|
+
|
|
11024
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11025
|
+
/**
|
|
11026
|
+
* Creates an object representation of this proto.
|
|
11027
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11028
|
+
* Optional fields that are not set will be set to undefined.
|
|
11029
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11030
|
+
* For the list of reserved names please see:
|
|
11031
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11032
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11033
|
+
* JSPB instance for transitional soy proto support:
|
|
11034
|
+
* http://goto/soy-param-migration
|
|
11035
|
+
* @return {!Object}
|
|
11036
|
+
*/
|
|
11037
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11038
|
+
return proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject(opt_includeInstance, this);
|
|
11039
|
+
};
|
|
11040
|
+
|
|
11041
|
+
|
|
11042
|
+
/**
|
|
11043
|
+
* Static version of the {@see toObject} method.
|
|
11044
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11045
|
+
* the JSPB instance for transitional soy proto support:
|
|
11046
|
+
* http://goto/soy-param-migration
|
|
11047
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The msg instance to transform.
|
|
11048
|
+
* @return {!Object}
|
|
11049
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11050
|
+
*/
|
|
11051
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.toObject = function(includeInstance, msg) {
|
|
11052
|
+
var f, obj = {
|
|
11053
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
11054
|
+
orderedTestFilesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
11055
|
+
};
|
|
11056
|
+
|
|
11057
|
+
if (includeInstance) {
|
|
11058
|
+
obj.$jspbMessageInstance = msg;
|
|
11059
|
+
}
|
|
11060
|
+
return obj;
|
|
11061
|
+
};
|
|
11062
|
+
}
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11067
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11068
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
|
|
11069
|
+
*/
|
|
11070
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinary = function(bytes) {
|
|
11071
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11072
|
+
var msg = new proto.browserstack.sdk.v1.TestOrchestrationResponse;
|
|
11073
|
+
return proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader(msg, reader);
|
|
11074
|
+
};
|
|
11075
|
+
|
|
11076
|
+
|
|
11077
|
+
/**
|
|
11078
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11079
|
+
* given reader into the given message object.
|
|
11080
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} msg The message object to deserialize into.
|
|
11081
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11082
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse}
|
|
11083
|
+
*/
|
|
11084
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11085
|
+
while (reader.nextField()) {
|
|
11086
|
+
if (reader.isEndGroup()) {
|
|
11087
|
+
break;
|
|
11088
|
+
}
|
|
11089
|
+
var field = reader.getFieldNumber();
|
|
11090
|
+
switch (field) {
|
|
11091
|
+
case 1:
|
|
11092
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11093
|
+
msg.setSuccess(value);
|
|
11094
|
+
break;
|
|
11095
|
+
case 2:
|
|
11096
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11097
|
+
msg.addOrderedTestFiles(value);
|
|
11098
|
+
break;
|
|
11099
|
+
default:
|
|
11100
|
+
reader.skipField();
|
|
11101
|
+
break;
|
|
11102
|
+
}
|
|
11103
|
+
}
|
|
11104
|
+
return msg;
|
|
11105
|
+
};
|
|
11106
|
+
|
|
11107
|
+
|
|
11108
|
+
/**
|
|
11109
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11110
|
+
* @return {!Uint8Array}
|
|
11111
|
+
*/
|
|
11112
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.serializeBinary = function() {
|
|
11113
|
+
var writer = new jspb.BinaryWriter();
|
|
11114
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter(this, writer);
|
|
11115
|
+
return writer.getResultBuffer();
|
|
11116
|
+
};
|
|
11117
|
+
|
|
11118
|
+
|
|
11119
|
+
/**
|
|
11120
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11121
|
+
* format), writing to the given BinaryWriter.
|
|
11122
|
+
* @param {!proto.browserstack.sdk.v1.TestOrchestrationResponse} message
|
|
11123
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11124
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11125
|
+
*/
|
|
11126
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11127
|
+
var f = undefined;
|
|
11128
|
+
f = message.getSuccess();
|
|
11129
|
+
if (f) {
|
|
11130
|
+
writer.writeBool(
|
|
11131
|
+
1,
|
|
11132
|
+
f
|
|
11133
|
+
);
|
|
11134
|
+
}
|
|
11135
|
+
f = message.getOrderedTestFilesList();
|
|
11136
|
+
if (f.length > 0) {
|
|
11137
|
+
writer.writeRepeatedString(
|
|
11138
|
+
2,
|
|
11139
|
+
f
|
|
11140
|
+
);
|
|
11141
|
+
}
|
|
11142
|
+
};
|
|
11143
|
+
|
|
11144
|
+
|
|
11145
|
+
/**
|
|
11146
|
+
* optional bool success = 1;
|
|
11147
|
+
* @return {boolean}
|
|
11148
|
+
*/
|
|
11149
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getSuccess = function() {
|
|
11150
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
11151
|
+
};
|
|
11152
|
+
|
|
11153
|
+
|
|
11154
|
+
/**
|
|
11155
|
+
* @param {boolean} value
|
|
11156
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
|
|
11157
|
+
*/
|
|
11158
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setSuccess = function(value) {
|
|
11159
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
11160
|
+
};
|
|
11161
|
+
|
|
11162
|
+
|
|
11163
|
+
/**
|
|
11164
|
+
* repeated string ordered_test_files = 2;
|
|
11165
|
+
* @return {!Array<string>}
|
|
11166
|
+
*/
|
|
11167
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.getOrderedTestFilesList = function() {
|
|
11168
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
11169
|
+
};
|
|
11170
|
+
|
|
11171
|
+
|
|
11172
|
+
/**
|
|
11173
|
+
* @param {!Array<string>} value
|
|
11174
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
|
|
11175
|
+
*/
|
|
11176
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.setOrderedTestFilesList = function(value) {
|
|
11177
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
11178
|
+
};
|
|
11179
|
+
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* @param {string} value
|
|
11183
|
+
* @param {number=} opt_index
|
|
11184
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
|
|
11185
|
+
*/
|
|
11186
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.addOrderedTestFiles = function(value, opt_index) {
|
|
11187
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
11188
|
+
};
|
|
11189
|
+
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* Clears the list making it empty but non-null.
|
|
11193
|
+
* @return {!proto.browserstack.sdk.v1.TestOrchestrationResponse} returns this
|
|
11194
|
+
*/
|
|
11195
|
+
proto.browserstack.sdk.v1.TestOrchestrationResponse.prototype.clearOrderedTestFilesList = function() {
|
|
11196
|
+
return this.setOrderedTestFilesList([]);
|
|
11197
|
+
};
|
|
11198
|
+
|
|
11199
|
+
|
|
10688
11200
|
goog.object.extend(exports, proto.browserstack.sdk.v1);
|
|
@@ -32,6 +32,7 @@ interface ISDKService extends grpc.ServiceDefinition<grpc.UntypedServiceImplemen
|
|
|
32
32
|
fetchDriverExecuteParamsEvent: grpc.MethodDefinition<sdk_messages_pb.FetchDriverExecuteParamsEventRequest, sdk_messages_pb.FetchDriverExecuteParamsEventResponse>;
|
|
33
33
|
reportClientTroubleshootingError: grpc.MethodDefinition<sdk_messages_pb.ReportClientTroubleshootingErrorRequest, sdk_messages_pb.ReportClientTroubleshootingErrorResponse>;
|
|
34
34
|
getAggregatedClientTroubleshootingErrors: grpc.MethodDefinition<sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsRequest, sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsResponse>;
|
|
35
|
+
testOrchestration: grpc.MethodDefinition<sdk_messages_pb.TestOrchestrationRequest, sdk_messages_pb.TestOrchestrationResponse>;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
export const SDKService: ISDKService;
|
|
@@ -58,6 +59,7 @@ export interface ISDKServer extends grpc.UntypedServiceImplementation {
|
|
|
58
59
|
fetchDriverExecuteParamsEvent: grpc.handleUnaryCall<sdk_messages_pb.FetchDriverExecuteParamsEventRequest, sdk_messages_pb.FetchDriverExecuteParamsEventResponse>;
|
|
59
60
|
reportClientTroubleshootingError: grpc.handleUnaryCall<sdk_messages_pb.ReportClientTroubleshootingErrorRequest, sdk_messages_pb.ReportClientTroubleshootingErrorResponse>;
|
|
60
61
|
getAggregatedClientTroubleshootingErrors: grpc.handleUnaryCall<sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsRequest, sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsResponse>;
|
|
62
|
+
testOrchestration: grpc.handleUnaryCall<sdk_messages_pb.TestOrchestrationRequest, sdk_messages_pb.TestOrchestrationResponse>;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
export class SDKClient extends grpc.Client {
|
|
@@ -125,4 +127,7 @@ export class SDKClient extends grpc.Client {
|
|
|
125
127
|
getAggregatedClientTroubleshootingErrors(argument: sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsRequest, callback: grpc.requestCallback<sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsResponse>): grpc.ClientUnaryCall;
|
|
126
128
|
getAggregatedClientTroubleshootingErrors(argument: sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsResponse>): grpc.ClientUnaryCall;
|
|
127
129
|
getAggregatedClientTroubleshootingErrors(argument: sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_pb.GetAggregatedClientTroubleshootingErrorsResponse>): grpc.ClientUnaryCall;
|
|
130
|
+
testOrchestration(argument: sdk_messages_pb.TestOrchestrationRequest, callback: grpc.requestCallback<sdk_messages_pb.TestOrchestrationResponse>): grpc.ClientUnaryCall;
|
|
131
|
+
testOrchestration(argument: sdk_messages_pb.TestOrchestrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_pb.TestOrchestrationResponse>): grpc.ClientUnaryCall;
|
|
132
|
+
testOrchestration(argument: sdk_messages_pb.TestOrchestrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_pb.TestOrchestrationResponse>): grpc.ClientUnaryCall;
|
|
128
133
|
}
|
package/generated/sdk_grpc_pb.js
CHANGED
|
@@ -447,6 +447,28 @@ function deserialize_browserstack_sdk_v1_TestFrameworkEventResponse(buffer_arg)
|
|
|
447
447
|
return sdk$messages_pb.TestFrameworkEventResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
+
function serialize_browserstack_sdk_v1_TestOrchestrationRequest(arg) {
|
|
451
|
+
if (!(arg instanceof sdk$messages_pb.TestOrchestrationRequest)) {
|
|
452
|
+
throw new Error('Expected argument of type browserstack.sdk.v1.TestOrchestrationRequest');
|
|
453
|
+
}
|
|
454
|
+
return Buffer.from(arg.serializeBinary());
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
function deserialize_browserstack_sdk_v1_TestOrchestrationRequest(buffer_arg) {
|
|
458
|
+
return sdk$messages_pb.TestOrchestrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
function serialize_browserstack_sdk_v1_TestOrchestrationResponse(arg) {
|
|
462
|
+
if (!(arg instanceof sdk$messages_pb.TestOrchestrationResponse)) {
|
|
463
|
+
throw new Error('Expected argument of type browserstack.sdk.v1.TestOrchestrationResponse');
|
|
464
|
+
}
|
|
465
|
+
return Buffer.from(arg.serializeBinary());
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
function deserialize_browserstack_sdk_v1_TestOrchestrationResponse(buffer_arg) {
|
|
469
|
+
return sdk$messages_pb.TestOrchestrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
470
|
+
}
|
|
471
|
+
|
|
450
472
|
function serialize_browserstack_sdk_v1_TestSessionEventRequest(arg) {
|
|
451
473
|
if (!(arg instanceof sdk$messages_pb.TestSessionEventRequest)) {
|
|
452
474
|
throw new Error('Expected argument of type browserstack.sdk.v1.TestSessionEventRequest');
|
|
@@ -703,6 +725,17 @@ automationFrameworkStop: {
|
|
|
703
725
|
responseSerialize: serialize_browserstack_sdk_v1_GetAggregatedClientTroubleshootingErrorsResponse,
|
|
704
726
|
responseDeserialize: deserialize_browserstack_sdk_v1_GetAggregatedClientTroubleshootingErrorsResponse,
|
|
705
727
|
},
|
|
728
|
+
testOrchestration: {
|
|
729
|
+
path: '/browserstack.sdk.v1.SDK/TestOrchestration',
|
|
730
|
+
requestStream: false,
|
|
731
|
+
responseStream: false,
|
|
732
|
+
requestType: sdk$messages_pb.TestOrchestrationRequest,
|
|
733
|
+
responseType: sdk$messages_pb.TestOrchestrationResponse,
|
|
734
|
+
requestSerialize: serialize_browserstack_sdk_v1_TestOrchestrationRequest,
|
|
735
|
+
requestDeserialize: deserialize_browserstack_sdk_v1_TestOrchestrationRequest,
|
|
736
|
+
responseSerialize: serialize_browserstack_sdk_v1_TestOrchestrationResponse,
|
|
737
|
+
responseDeserialize: deserialize_browserstack_sdk_v1_TestOrchestrationResponse,
|
|
738
|
+
},
|
|
706
739
|
};
|
|
707
740
|
|
|
708
741
|
exports.SDKClient = grpc.makeGenericClientConstructor(SDKService, 'SDK');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browserstack-node-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node SDK for browserstack selenium-webdriver tests",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"git-last-commit": "^1.0.1",
|
|
40
40
|
"git-repo-info": "^2.1.1",
|
|
41
41
|
"gitconfiglocal": "^2.1.0",
|
|
42
|
+
"simple-git": "^3.28.0",
|
|
42
43
|
"global-agent": "^3.0.0",
|
|
43
44
|
"google-protobuf": "^3.20.1",
|
|
44
45
|
"googleapis": "^126.0.1",
|