@viamrobotics/sdk 0.69.0 → 0.70.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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +26 -1
- package/dist/gen/app/v1/app_connect.d.ts +10 -1
- package/dist/gen/app/v1/app_pb.d.ts +88 -0
- package/dist/gen/app/v1/billing_pb.d.ts +17 -0
- package/dist/main.es.js +1124 -993
- package/dist/main.umd.js +7 -7
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.542";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { JsonValue } from '@bufbuild/protobuf';
|
|
|
2
2
|
import { Struct } from '@bufbuild/protobuf';
|
|
3
3
|
import { type Transport } from '@connectrpc/connect';
|
|
4
4
|
import { PackageType } from '../gen/app/packages/v1/packages_pb';
|
|
5
|
-
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentImportList, FragmentVisibility, GetAppContentResponse, GetAppBrandingResponse, GetRobotPartLogsResponse, GetRobotPartResponse, GetRobotPartByNameAndLocationResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility, LocationSummary } from '../gen/app/v1/app_pb';
|
|
5
|
+
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, CreateOAuthAppUserResponse, Fragment, FragmentImportList, FragmentVisibility, GetAppContentResponse, GetAppBrandingResponse, GetRobotPartLogsResponse, GetRobotPartResponse, GetRobotPartByNameAndLocationResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility, LocationSummary } from '../gen/app/v1/app_pb';
|
|
6
6
|
import type { LogEntry } from '../gen/common/v1/common_pb';
|
|
7
7
|
/**
|
|
8
8
|
* Creates an Authorization object from auth details.
|
|
@@ -1614,4 +1614,29 @@ export declare class AppClient {
|
|
|
1614
1614
|
* @returns The list of location summaries
|
|
1615
1615
|
*/
|
|
1616
1616
|
listMachineSummaries(organizationId: string, fragmentIds?: string[], locationIds?: string[], limit?: number): Promise<LocationSummary[]>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Creates a new OAuth app user.
|
|
1619
|
+
*
|
|
1620
|
+
* @example
|
|
1621
|
+
*
|
|
1622
|
+
* ```ts
|
|
1623
|
+
* const result = await appClient.createOAuthAppUser(
|
|
1624
|
+
* '<YOUR-ORGANIZATION-ID>',
|
|
1625
|
+
* '<YOUR-APPLICATION-ID>',
|
|
1626
|
+
* 'user@example.com',
|
|
1627
|
+
* 'First',
|
|
1628
|
+
* 'Last',
|
|
1629
|
+
* 'password'
|
|
1630
|
+
* );
|
|
1631
|
+
* ```
|
|
1632
|
+
*
|
|
1633
|
+
* @param orgId The ID of the organization
|
|
1634
|
+
* @param applicationId The ID of the OAuth application
|
|
1635
|
+
* @param email The email address for the new user
|
|
1636
|
+
* @param firstName The first name of the new user
|
|
1637
|
+
* @param lastName The last name of the new user
|
|
1638
|
+
* @param password The password for the new user
|
|
1639
|
+
* @returns The auth token, registration ID, user ID, and refresh token
|
|
1640
|
+
*/
|
|
1641
|
+
createOAuthAppUser(orgId: string, applicationId: string, email: string, firstName: string, lastName: string, password: string): Promise<CreateOAuthAppUserResponse>;
|
|
1617
1642
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFirebaseConfigRequest, SetFirebaseConfigResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
6
|
+
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOAuthAppUserRequest, CreateOAuthAppUserResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFirebaseConfigRequest, SetFirebaseConfigResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -358,6 +358,15 @@ export declare const AppService: {
|
|
|
358
358
|
readonly O: typeof ListOAuthAppsResponse,
|
|
359
359
|
readonly kind: MethodKind.Unary,
|
|
360
360
|
},
|
|
361
|
+
/**
|
|
362
|
+
* @generated from rpc viam.app.v1.AppService.CreateOAuthAppUser
|
|
363
|
+
*/
|
|
364
|
+
readonly createOAuthAppUser: {
|
|
365
|
+
readonly name: "CreateOAuthAppUser",
|
|
366
|
+
readonly I: typeof CreateOAuthAppUserRequest,
|
|
367
|
+
readonly O: typeof CreateOAuthAppUserResponse,
|
|
368
|
+
readonly kind: MethodKind.Unary,
|
|
369
|
+
},
|
|
361
370
|
/**
|
|
362
371
|
* Create a location
|
|
363
372
|
*
|
|
@@ -8946,6 +8946,94 @@ export declare class ListOAuthAppsResponse extends Message<ListOAuthAppsResponse
|
|
|
8946
8946
|
static equals(a: ListOAuthAppsResponse | PlainMessage<ListOAuthAppsResponse> | undefined, b: ListOAuthAppsResponse | PlainMessage<ListOAuthAppsResponse> | undefined): boolean;
|
|
8947
8947
|
}
|
|
8948
8948
|
|
|
8949
|
+
/**
|
|
8950
|
+
* @generated from message viam.app.v1.CreateOAuthAppUserRequest
|
|
8951
|
+
*/
|
|
8952
|
+
export declare class CreateOAuthAppUserRequest extends Message<CreateOAuthAppUserRequest> {
|
|
8953
|
+
/**
|
|
8954
|
+
* @generated from field: string org_id = 1;
|
|
8955
|
+
*/
|
|
8956
|
+
orgId: string;
|
|
8957
|
+
|
|
8958
|
+
/**
|
|
8959
|
+
* @generated from field: string application_id = 2;
|
|
8960
|
+
*/
|
|
8961
|
+
applicationId: string;
|
|
8962
|
+
|
|
8963
|
+
/**
|
|
8964
|
+
* @generated from field: string email = 3;
|
|
8965
|
+
*/
|
|
8966
|
+
email: string;
|
|
8967
|
+
|
|
8968
|
+
/**
|
|
8969
|
+
* @generated from field: string first_name = 4;
|
|
8970
|
+
*/
|
|
8971
|
+
firstName: string;
|
|
8972
|
+
|
|
8973
|
+
/**
|
|
8974
|
+
* @generated from field: string last_name = 5;
|
|
8975
|
+
*/
|
|
8976
|
+
lastName: string;
|
|
8977
|
+
|
|
8978
|
+
/**
|
|
8979
|
+
* @generated from field: string password = 6;
|
|
8980
|
+
*/
|
|
8981
|
+
password: string;
|
|
8982
|
+
|
|
8983
|
+
constructor(data?: PartialMessage<CreateOAuthAppUserRequest>);
|
|
8984
|
+
|
|
8985
|
+
static readonly runtime: typeof proto3;
|
|
8986
|
+
static readonly typeName = "viam.app.v1.CreateOAuthAppUserRequest";
|
|
8987
|
+
static readonly fields: FieldList;
|
|
8988
|
+
|
|
8989
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOAuthAppUserRequest;
|
|
8990
|
+
|
|
8991
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOAuthAppUserRequest;
|
|
8992
|
+
|
|
8993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOAuthAppUserRequest;
|
|
8994
|
+
|
|
8995
|
+
static equals(a: CreateOAuthAppUserRequest | PlainMessage<CreateOAuthAppUserRequest> | undefined, b: CreateOAuthAppUserRequest | PlainMessage<CreateOAuthAppUserRequest> | undefined): boolean;
|
|
8996
|
+
}
|
|
8997
|
+
|
|
8998
|
+
/**
|
|
8999
|
+
* @generated from message viam.app.v1.CreateOAuthAppUserResponse
|
|
9000
|
+
*/
|
|
9001
|
+
export declare class CreateOAuthAppUserResponse extends Message<CreateOAuthAppUserResponse> {
|
|
9002
|
+
/**
|
|
9003
|
+
* @generated from field: string auth_token = 1;
|
|
9004
|
+
*/
|
|
9005
|
+
authToken: string;
|
|
9006
|
+
|
|
9007
|
+
/**
|
|
9008
|
+
* @generated from field: string registration_id = 2;
|
|
9009
|
+
*/
|
|
9010
|
+
registrationId: string;
|
|
9011
|
+
|
|
9012
|
+
/**
|
|
9013
|
+
* @generated from field: string user_id = 3;
|
|
9014
|
+
*/
|
|
9015
|
+
userId: string;
|
|
9016
|
+
|
|
9017
|
+
/**
|
|
9018
|
+
* @generated from field: string refresh_token = 4;
|
|
9019
|
+
*/
|
|
9020
|
+
refreshToken: string;
|
|
9021
|
+
|
|
9022
|
+
constructor(data?: PartialMessage<CreateOAuthAppUserResponse>);
|
|
9023
|
+
|
|
9024
|
+
static readonly runtime: typeof proto3;
|
|
9025
|
+
static readonly typeName = "viam.app.v1.CreateOAuthAppUserResponse";
|
|
9026
|
+
static readonly fields: FieldList;
|
|
9027
|
+
|
|
9028
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOAuthAppUserResponse;
|
|
9029
|
+
|
|
9030
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOAuthAppUserResponse;
|
|
9031
|
+
|
|
9032
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOAuthAppUserResponse;
|
|
9033
|
+
|
|
9034
|
+
static equals(a: CreateOAuthAppUserResponse | PlainMessage<CreateOAuthAppUserResponse> | undefined, b: CreateOAuthAppUserResponse | PlainMessage<CreateOAuthAppUserResponse> | undefined): boolean;
|
|
9035
|
+
}
|
|
9036
|
+
|
|
8949
9037
|
/**
|
|
8950
9038
|
* @generated from message viam.app.v1.OAuthConfig
|
|
8951
9039
|
*/
|
|
@@ -224,6 +224,23 @@ export declare class InvoiceSummary extends Message<InvoiceSummary> {
|
|
|
224
224
|
*/
|
|
225
225
|
paidDate?: Timestamp;
|
|
226
226
|
|
|
227
|
+
/**
|
|
228
|
+
* Category of the most recent payment failure. One of: card_declined,
|
|
229
|
+
* insufficient_funds, expired_card, incorrect_cvc, incorrect_card_number,
|
|
230
|
+
* authentication_required, processing_error, other. Empty when no failure
|
|
231
|
+
* is recorded. Clients must tolerate unknown values.
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: string last_payment_failure_reason = 7;
|
|
234
|
+
*/
|
|
235
|
+
lastPaymentFailureReason: string;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Time of the most recent payment failure. Empty when no failure recorded.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: google.protobuf.Timestamp last_payment_failure_at = 8;
|
|
241
|
+
*/
|
|
242
|
+
lastPaymentFailureAt?: Timestamp;
|
|
243
|
+
|
|
227
244
|
constructor(data?: PartialMessage<InvoiceSummary>);
|
|
228
245
|
|
|
229
246
|
static readonly runtime: typeof proto3;
|