@eide/foir-proto-ts 0.29.1 → 0.31.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.
|
@@ -355,9 +355,9 @@ export declare type Project = Message<"identity.v1.Project"> & {
|
|
|
355
355
|
supportEmail?: string | undefined;
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
* @generated from field: optional string
|
|
358
|
+
* @generated from field: optional string app_base_url = 66;
|
|
359
359
|
*/
|
|
360
|
-
|
|
360
|
+
appBaseUrl?: string | undefined;
|
|
361
361
|
|
|
362
362
|
/**
|
|
363
363
|
* Transactional email flags. Unset = use platform default.
|
|
@@ -365,6 +365,16 @@ export declare type Project = Message<"identity.v1.Project"> & {
|
|
|
365
365
|
* @generated from field: optional bool customer_welcome_email_enabled = 70;
|
|
366
366
|
*/
|
|
367
367
|
customerWelcomeEmailEnabled?: boolean | undefined;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Customer authentication.
|
|
371
|
+
* When false, the public CustomerRegister mutation is rejected; customers
|
|
372
|
+
* can only be created via secret-key admin paths (CreateCustomer RPC with
|
|
373
|
+
* customers:write scope). Default true preserves existing-project behavior.
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: optional bool customer_signup_enabled = 80;
|
|
376
|
+
*/
|
|
377
|
+
customerSignupEnabled?: boolean | undefined;
|
|
368
378
|
};
|
|
369
379
|
|
|
370
380
|
/**
|
|
@@ -450,6 +460,85 @@ export declare type Invitation = Message<"identity.v1.Invitation"> & {
|
|
|
450
460
|
*/
|
|
451
461
|
export declare const InvitationSchema: GenMessage<Invitation>;
|
|
452
462
|
|
|
463
|
+
/**
|
|
464
|
+
* CustomerInvitation enrolls a new customer into a single project. The
|
|
465
|
+
* invitation is created via a secret-key admin path (CreateCustomerInvitation
|
|
466
|
+
* gated by the customers:write scope at the GraphQL gateway) and accepted
|
|
467
|
+
* pre-auth by the recipient via the public AcceptCustomerInvitation RPC.
|
|
468
|
+
*
|
|
469
|
+
* @generated from message identity.v1.CustomerInvitation
|
|
470
|
+
*/
|
|
471
|
+
export declare type CustomerInvitation = Message<"identity.v1.CustomerInvitation"> & {
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string id = 1;
|
|
474
|
+
*/
|
|
475
|
+
id: string;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: string email = 2;
|
|
479
|
+
*/
|
|
480
|
+
email: string;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @generated from field: string tenant_id = 3;
|
|
484
|
+
*/
|
|
485
|
+
tenantId: string;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @generated from field: string project_id = 4;
|
|
489
|
+
*/
|
|
490
|
+
projectId: string;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Caller-supplied attribution (e.g. an inviter's customer id, employee
|
|
494
|
+
* email). The platform stores but does not interpret it.
|
|
495
|
+
*
|
|
496
|
+
* @generated from field: optional string invited_by = 5;
|
|
497
|
+
*/
|
|
498
|
+
invitedBy?: string | undefined;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from field: optional string message = 6;
|
|
502
|
+
*/
|
|
503
|
+
message?: string | undefined;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: identity.v1.CustomerInvitationStatus status = 20;
|
|
507
|
+
*/
|
|
508
|
+
status: CustomerInvitationStatus;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 30;
|
|
512
|
+
*/
|
|
513
|
+
expiresAt?: Timestamp | undefined;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: optional google.protobuf.Timestamp accepted_at = 31;
|
|
517
|
+
*/
|
|
518
|
+
acceptedAt?: Timestamp | undefined;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: optional string accepted_customer_id = 32;
|
|
522
|
+
*/
|
|
523
|
+
acceptedCustomerId?: string | undefined;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: google.protobuf.Timestamp created_at = 50;
|
|
527
|
+
*/
|
|
528
|
+
createdAt?: Timestamp | undefined;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 51;
|
|
532
|
+
*/
|
|
533
|
+
updatedAt?: Timestamp | undefined;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Describes the message identity.v1.CustomerInvitation.
|
|
538
|
+
* Use `create(CustomerInvitationSchema)` to create a new message.
|
|
539
|
+
*/
|
|
540
|
+
export declare const CustomerInvitationSchema: GenMessage<CustomerInvitation>;
|
|
541
|
+
|
|
453
542
|
/**
|
|
454
543
|
* @generated from message identity.v1.ApiKey
|
|
455
544
|
*/
|
|
@@ -1767,6 +1856,363 @@ export declare type SuspendCustomerResponse = Message<"identity.v1.SuspendCustom
|
|
|
1767
1856
|
*/
|
|
1768
1857
|
export declare const SuspendCustomerResponseSchema: GenMessage<SuspendCustomerResponse>;
|
|
1769
1858
|
|
|
1859
|
+
/**
|
|
1860
|
+
* @generated from message identity.v1.SetCustomerPasswordRequest
|
|
1861
|
+
*/
|
|
1862
|
+
export declare type SetCustomerPasswordRequest = Message<"identity.v1.SetCustomerPasswordRequest"> & {
|
|
1863
|
+
/**
|
|
1864
|
+
* @generated from field: string id = 1;
|
|
1865
|
+
*/
|
|
1866
|
+
id: string;
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from field: string new_password = 2;
|
|
1870
|
+
*/
|
|
1871
|
+
newPassword: string;
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* Describes the message identity.v1.SetCustomerPasswordRequest.
|
|
1876
|
+
* Use `create(SetCustomerPasswordRequestSchema)` to create a new message.
|
|
1877
|
+
*/
|
|
1878
|
+
export declare const SetCustomerPasswordRequestSchema: GenMessage<SetCustomerPasswordRequest>;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* @generated from message identity.v1.SetCustomerPasswordResponse
|
|
1882
|
+
*/
|
|
1883
|
+
export declare type SetCustomerPasswordResponse = Message<"identity.v1.SetCustomerPasswordResponse"> & {
|
|
1884
|
+
/**
|
|
1885
|
+
* @generated from field: bool success = 1;
|
|
1886
|
+
*/
|
|
1887
|
+
success: boolean;
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Describes the message identity.v1.SetCustomerPasswordResponse.
|
|
1892
|
+
* Use `create(SetCustomerPasswordResponseSchema)` to create a new message.
|
|
1893
|
+
*/
|
|
1894
|
+
export declare const SetCustomerPasswordResponseSchema: GenMessage<SetCustomerPasswordResponse>;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* @generated from message identity.v1.CreateCustomerInvitationRequest
|
|
1898
|
+
*/
|
|
1899
|
+
export declare type CreateCustomerInvitationRequest = Message<"identity.v1.CreateCustomerInvitationRequest"> & {
|
|
1900
|
+
/**
|
|
1901
|
+
* @generated from field: string email = 1;
|
|
1902
|
+
*/
|
|
1903
|
+
email: string;
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* @generated from field: optional string invited_by = 2;
|
|
1907
|
+
*/
|
|
1908
|
+
invitedBy?: string | undefined;
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* @generated from field: optional string message = 3;
|
|
1912
|
+
*/
|
|
1913
|
+
message?: string | undefined;
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* Whether the platform should email the invitation using the project's
|
|
1917
|
+
* brand-aware customer-invitation template. Default true. Set false when
|
|
1918
|
+
* the application wants to handle delivery itself using accept_url.
|
|
1919
|
+
*
|
|
1920
|
+
* @generated from field: optional bool send_email = 4;
|
|
1921
|
+
*/
|
|
1922
|
+
sendEmail?: boolean | undefined;
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Describes the message identity.v1.CreateCustomerInvitationRequest.
|
|
1927
|
+
* Use `create(CreateCustomerInvitationRequestSchema)` to create a new message.
|
|
1928
|
+
*/
|
|
1929
|
+
export declare const CreateCustomerInvitationRequestSchema: GenMessage<CreateCustomerInvitationRequest>;
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* @generated from message identity.v1.CreateCustomerInvitationResponse
|
|
1933
|
+
*/
|
|
1934
|
+
export declare type CreateCustomerInvitationResponse = Message<"identity.v1.CreateCustomerInvitationResponse"> & {
|
|
1935
|
+
/**
|
|
1936
|
+
* @generated from field: identity.v1.CustomerInvitation invitation = 1;
|
|
1937
|
+
*/
|
|
1938
|
+
invitation?: CustomerInvitation | undefined;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* Full URL for the invitee to accept, built from the project's
|
|
1942
|
+
* app_base_url plus the raw token. Only returned at create
|
|
1943
|
+
* time; the platform stores only the hash, so applications that need
|
|
1944
|
+
* the URL for manual sharing must capture it now.
|
|
1945
|
+
*
|
|
1946
|
+
* @generated from field: string accept_url = 2;
|
|
1947
|
+
*/
|
|
1948
|
+
acceptUrl: string;
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Raw invitation token (paired with accept_url). Same one-time caveat.
|
|
1952
|
+
*
|
|
1953
|
+
* @generated from field: string token = 3;
|
|
1954
|
+
*/
|
|
1955
|
+
token: string;
|
|
1956
|
+
};
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Describes the message identity.v1.CreateCustomerInvitationResponse.
|
|
1960
|
+
* Use `create(CreateCustomerInvitationResponseSchema)` to create a new message.
|
|
1961
|
+
*/
|
|
1962
|
+
export declare const CreateCustomerInvitationResponseSchema: GenMessage<CreateCustomerInvitationResponse>;
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* @generated from message identity.v1.ListCustomerInvitationsRequest
|
|
1966
|
+
*/
|
|
1967
|
+
export declare type ListCustomerInvitationsRequest = Message<"identity.v1.ListCustomerInvitationsRequest"> & {
|
|
1968
|
+
/**
|
|
1969
|
+
* @generated from field: optional identity.v1.CustomerInvitationStatus status = 1;
|
|
1970
|
+
*/
|
|
1971
|
+
status?: CustomerInvitationStatus | undefined;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* @generated from field: optional string search = 2;
|
|
1975
|
+
*/
|
|
1976
|
+
search?: string | undefined;
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* @generated from field: int32 limit = 10;
|
|
1980
|
+
*/
|
|
1981
|
+
limit: number;
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* @generated from field: int32 offset = 11;
|
|
1985
|
+
*/
|
|
1986
|
+
offset: number;
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* Describes the message identity.v1.ListCustomerInvitationsRequest.
|
|
1991
|
+
* Use `create(ListCustomerInvitationsRequestSchema)` to create a new message.
|
|
1992
|
+
*/
|
|
1993
|
+
export declare const ListCustomerInvitationsRequestSchema: GenMessage<ListCustomerInvitationsRequest>;
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* @generated from message identity.v1.ListCustomerInvitationsResponse
|
|
1997
|
+
*/
|
|
1998
|
+
export declare type ListCustomerInvitationsResponse = Message<"identity.v1.ListCustomerInvitationsResponse"> & {
|
|
1999
|
+
/**
|
|
2000
|
+
* @generated from field: repeated identity.v1.CustomerInvitation items = 1;
|
|
2001
|
+
*/
|
|
2002
|
+
items: CustomerInvitation[];
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* @generated from field: int32 total = 2;
|
|
2006
|
+
*/
|
|
2007
|
+
total: number;
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Describes the message identity.v1.ListCustomerInvitationsResponse.
|
|
2012
|
+
* Use `create(ListCustomerInvitationsResponseSchema)` to create a new message.
|
|
2013
|
+
*/
|
|
2014
|
+
export declare const ListCustomerInvitationsResponseSchema: GenMessage<ListCustomerInvitationsResponse>;
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* @generated from message identity.v1.GetCustomerInvitationRequest
|
|
2018
|
+
*/
|
|
2019
|
+
export declare type GetCustomerInvitationRequest = Message<"identity.v1.GetCustomerInvitationRequest"> & {
|
|
2020
|
+
/**
|
|
2021
|
+
* @generated from field: string id = 1;
|
|
2022
|
+
*/
|
|
2023
|
+
id: string;
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Describes the message identity.v1.GetCustomerInvitationRequest.
|
|
2028
|
+
* Use `create(GetCustomerInvitationRequestSchema)` to create a new message.
|
|
2029
|
+
*/
|
|
2030
|
+
export declare const GetCustomerInvitationRequestSchema: GenMessage<GetCustomerInvitationRequest>;
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* @generated from message identity.v1.GetCustomerInvitationResponse
|
|
2034
|
+
*/
|
|
2035
|
+
export declare type GetCustomerInvitationResponse = Message<"identity.v1.GetCustomerInvitationResponse"> & {
|
|
2036
|
+
/**
|
|
2037
|
+
* @generated from field: identity.v1.CustomerInvitation invitation = 1;
|
|
2038
|
+
*/
|
|
2039
|
+
invitation?: CustomerInvitation | undefined;
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Describes the message identity.v1.GetCustomerInvitationResponse.
|
|
2044
|
+
* Use `create(GetCustomerInvitationResponseSchema)` to create a new message.
|
|
2045
|
+
*/
|
|
2046
|
+
export declare const GetCustomerInvitationResponseSchema: GenMessage<GetCustomerInvitationResponse>;
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* @generated from message identity.v1.RevokeCustomerInvitationRequest
|
|
2050
|
+
*/
|
|
2051
|
+
export declare type RevokeCustomerInvitationRequest = Message<"identity.v1.RevokeCustomerInvitationRequest"> & {
|
|
2052
|
+
/**
|
|
2053
|
+
* @generated from field: string id = 1;
|
|
2054
|
+
*/
|
|
2055
|
+
id: string;
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* Describes the message identity.v1.RevokeCustomerInvitationRequest.
|
|
2060
|
+
* Use `create(RevokeCustomerInvitationRequestSchema)` to create a new message.
|
|
2061
|
+
*/
|
|
2062
|
+
export declare const RevokeCustomerInvitationRequestSchema: GenMessage<RevokeCustomerInvitationRequest>;
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* @generated from message identity.v1.RevokeCustomerInvitationResponse
|
|
2066
|
+
*/
|
|
2067
|
+
export declare type RevokeCustomerInvitationResponse = Message<"identity.v1.RevokeCustomerInvitationResponse"> & {
|
|
2068
|
+
/**
|
|
2069
|
+
* @generated from field: bool success = 1;
|
|
2070
|
+
*/
|
|
2071
|
+
success: boolean;
|
|
2072
|
+
};
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Describes the message identity.v1.RevokeCustomerInvitationResponse.
|
|
2076
|
+
* Use `create(RevokeCustomerInvitationResponseSchema)` to create a new message.
|
|
2077
|
+
*/
|
|
2078
|
+
export declare const RevokeCustomerInvitationResponseSchema: GenMessage<RevokeCustomerInvitationResponse>;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* @generated from message identity.v1.ResendCustomerInvitationRequest
|
|
2082
|
+
*/
|
|
2083
|
+
export declare type ResendCustomerInvitationRequest = Message<"identity.v1.ResendCustomerInvitationRequest"> & {
|
|
2084
|
+
/**
|
|
2085
|
+
* @generated from field: string id = 1;
|
|
2086
|
+
*/
|
|
2087
|
+
id: string;
|
|
2088
|
+
|
|
2089
|
+
/**
|
|
2090
|
+
* @generated from field: optional bool send_email = 2;
|
|
2091
|
+
*/
|
|
2092
|
+
sendEmail?: boolean | undefined;
|
|
2093
|
+
};
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* Describes the message identity.v1.ResendCustomerInvitationRequest.
|
|
2097
|
+
* Use `create(ResendCustomerInvitationRequestSchema)` to create a new message.
|
|
2098
|
+
*/
|
|
2099
|
+
export declare const ResendCustomerInvitationRequestSchema: GenMessage<ResendCustomerInvitationRequest>;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* @generated from message identity.v1.ResendCustomerInvitationResponse
|
|
2103
|
+
*/
|
|
2104
|
+
export declare type ResendCustomerInvitationResponse = Message<"identity.v1.ResendCustomerInvitationResponse"> & {
|
|
2105
|
+
/**
|
|
2106
|
+
* @generated from field: identity.v1.CustomerInvitation invitation = 1;
|
|
2107
|
+
*/
|
|
2108
|
+
invitation?: CustomerInvitation | undefined;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: string accept_url = 2;
|
|
2112
|
+
*/
|
|
2113
|
+
acceptUrl: string;
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* @generated from field: string token = 3;
|
|
2117
|
+
*/
|
|
2118
|
+
token: string;
|
|
2119
|
+
};
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* Describes the message identity.v1.ResendCustomerInvitationResponse.
|
|
2123
|
+
* Use `create(ResendCustomerInvitationResponseSchema)` to create a new message.
|
|
2124
|
+
*/
|
|
2125
|
+
export declare const ResendCustomerInvitationResponseSchema: GenMessage<ResendCustomerInvitationResponse>;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* @generated from message identity.v1.ValidateCustomerInvitationRequest
|
|
2129
|
+
*/
|
|
2130
|
+
export declare type ValidateCustomerInvitationRequest = Message<"identity.v1.ValidateCustomerInvitationRequest"> & {
|
|
2131
|
+
/**
|
|
2132
|
+
* @generated from field: string token = 1;
|
|
2133
|
+
*/
|
|
2134
|
+
token: string;
|
|
2135
|
+
};
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* Describes the message identity.v1.ValidateCustomerInvitationRequest.
|
|
2139
|
+
* Use `create(ValidateCustomerInvitationRequestSchema)` to create a new message.
|
|
2140
|
+
*/
|
|
2141
|
+
export declare const ValidateCustomerInvitationRequestSchema: GenMessage<ValidateCustomerInvitationRequest>;
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* @generated from message identity.v1.ValidateCustomerInvitationResponse
|
|
2145
|
+
*/
|
|
2146
|
+
export declare type ValidateCustomerInvitationResponse = Message<"identity.v1.ValidateCustomerInvitationResponse"> & {
|
|
2147
|
+
/**
|
|
2148
|
+
* @generated from field: identity.v1.CustomerInvitation invitation = 1;
|
|
2149
|
+
*/
|
|
2150
|
+
invitation?: CustomerInvitation | undefined;
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* The project's enabled customer auth providers. Drives the acceptance UI.
|
|
2154
|
+
* For projects with no providers configured, this is empty and the
|
|
2155
|
+
* acceptance UI defaults to a password form (matching the platform's
|
|
2156
|
+
* "password-by-default" behaviour).
|
|
2157
|
+
*
|
|
2158
|
+
* @generated from field: repeated identity.v1.AuthProvider providers = 2;
|
|
2159
|
+
*/
|
|
2160
|
+
providers: AuthProvider[];
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* Describes the message identity.v1.ValidateCustomerInvitationResponse.
|
|
2165
|
+
* Use `create(ValidateCustomerInvitationResponseSchema)` to create a new message.
|
|
2166
|
+
*/
|
|
2167
|
+
export declare const ValidateCustomerInvitationResponseSchema: GenMessage<ValidateCustomerInvitationResponse>;
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @generated from message identity.v1.AcceptCustomerInvitationRequest
|
|
2171
|
+
*/
|
|
2172
|
+
export declare type AcceptCustomerInvitationRequest = Message<"identity.v1.AcceptCustomerInvitationRequest"> & {
|
|
2173
|
+
/**
|
|
2174
|
+
* @generated from field: string token = 1;
|
|
2175
|
+
*/
|
|
2176
|
+
token: string;
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* @generated from field: optional string password = 2;
|
|
2180
|
+
*/
|
|
2181
|
+
password?: string | undefined;
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* Describes the message identity.v1.AcceptCustomerInvitationRequest.
|
|
2186
|
+
* Use `create(AcceptCustomerInvitationRequestSchema)` to create a new message.
|
|
2187
|
+
*/
|
|
2188
|
+
export declare const AcceptCustomerInvitationRequestSchema: GenMessage<AcceptCustomerInvitationRequest>;
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* @generated from message identity.v1.AcceptCustomerInvitationResponse
|
|
2192
|
+
*/
|
|
2193
|
+
export declare type AcceptCustomerInvitationResponse = Message<"identity.v1.AcceptCustomerInvitationResponse"> & {
|
|
2194
|
+
/**
|
|
2195
|
+
* @generated from field: identity.v1.Customer customer = 1;
|
|
2196
|
+
*/
|
|
2197
|
+
customer?: Customer | undefined;
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* @generated from field: string access_token = 2;
|
|
2201
|
+
*/
|
|
2202
|
+
accessToken: string;
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* @generated from field: string refresh_token = 3;
|
|
2206
|
+
*/
|
|
2207
|
+
refreshToken: string;
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* Describes the message identity.v1.AcceptCustomerInvitationResponse.
|
|
2212
|
+
* Use `create(AcceptCustomerInvitationResponseSchema)` to create a new message.
|
|
2213
|
+
*/
|
|
2214
|
+
export declare const AcceptCustomerInvitationResponseSchema: GenMessage<AcceptCustomerInvitationResponse>;
|
|
2215
|
+
|
|
1770
2216
|
/**
|
|
1771
2217
|
* @generated from message identity.v1.CreateTenantRequest
|
|
1772
2218
|
*/
|
|
@@ -2024,9 +2470,9 @@ export declare type CreateProjectRequest = Message<"identity.v1.CreateProjectReq
|
|
|
2024
2470
|
supportEmail?: string | undefined;
|
|
2025
2471
|
|
|
2026
2472
|
/**
|
|
2027
|
-
* @generated from field: optional string
|
|
2473
|
+
* @generated from field: optional string app_base_url = 16;
|
|
2028
2474
|
*/
|
|
2029
|
-
|
|
2475
|
+
appBaseUrl?: string | undefined;
|
|
2030
2476
|
|
|
2031
2477
|
/**
|
|
2032
2478
|
* Transactional email toggles. Unset = platform default (enabled).
|
|
@@ -2034,6 +2480,13 @@ export declare type CreateProjectRequest = Message<"identity.v1.CreateProjectReq
|
|
|
2034
2480
|
* @generated from field: optional bool customer_welcome_email_enabled = 20;
|
|
2035
2481
|
*/
|
|
2036
2482
|
customerWelcomeEmailEnabled?: boolean | undefined;
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Customer authentication. Unset = enabled (default).
|
|
2486
|
+
*
|
|
2487
|
+
* @generated from field: optional bool customer_signup_enabled = 30;
|
|
2488
|
+
*/
|
|
2489
|
+
customerSignupEnabled?: boolean | undefined;
|
|
2037
2490
|
};
|
|
2038
2491
|
|
|
2039
2492
|
/**
|
|
@@ -2147,9 +2600,9 @@ export declare type UpdateProjectRequest = Message<"identity.v1.UpdateProjectReq
|
|
|
2147
2600
|
supportEmail?: string | undefined;
|
|
2148
2601
|
|
|
2149
2602
|
/**
|
|
2150
|
-
* @generated from field: optional string
|
|
2603
|
+
* @generated from field: optional string app_base_url = 16;
|
|
2151
2604
|
*/
|
|
2152
|
-
|
|
2605
|
+
appBaseUrl?: string | undefined;
|
|
2153
2606
|
|
|
2154
2607
|
/**
|
|
2155
2608
|
* Transactional email toggles.
|
|
@@ -2157,6 +2610,13 @@ export declare type UpdateProjectRequest = Message<"identity.v1.UpdateProjectReq
|
|
|
2157
2610
|
* @generated from field: optional bool customer_welcome_email_enabled = 20;
|
|
2158
2611
|
*/
|
|
2159
2612
|
customerWelcomeEmailEnabled?: boolean | undefined;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Customer authentication.
|
|
2616
|
+
*
|
|
2617
|
+
* @generated from field: optional bool customer_signup_enabled = 30;
|
|
2618
|
+
*/
|
|
2619
|
+
customerSignupEnabled?: boolean | undefined;
|
|
2160
2620
|
};
|
|
2161
2621
|
|
|
2162
2622
|
/**
|
|
@@ -4620,6 +5080,44 @@ export enum InvitationStatus {
|
|
|
4620
5080
|
*/
|
|
4621
5081
|
export declare const InvitationStatusSchema: GenEnum<InvitationStatus>;
|
|
4622
5082
|
|
|
5083
|
+
/**
|
|
5084
|
+
* CustomerInvitationStatus mirrors InvitationStatus but is kept separate so
|
|
5085
|
+
* the customer-facing surface can evolve independently of the admin one.
|
|
5086
|
+
*
|
|
5087
|
+
* @generated from enum identity.v1.CustomerInvitationStatus
|
|
5088
|
+
*/
|
|
5089
|
+
export enum CustomerInvitationStatus {
|
|
5090
|
+
/**
|
|
5091
|
+
* @generated from enum value: CUSTOMER_INVITATION_STATUS_UNSPECIFIED = 0;
|
|
5092
|
+
*/
|
|
5093
|
+
UNSPECIFIED = 0,
|
|
5094
|
+
|
|
5095
|
+
/**
|
|
5096
|
+
* @generated from enum value: CUSTOMER_INVITATION_STATUS_PENDING = 1;
|
|
5097
|
+
*/
|
|
5098
|
+
PENDING = 1,
|
|
5099
|
+
|
|
5100
|
+
/**
|
|
5101
|
+
* @generated from enum value: CUSTOMER_INVITATION_STATUS_ACCEPTED = 2;
|
|
5102
|
+
*/
|
|
5103
|
+
ACCEPTED = 2,
|
|
5104
|
+
|
|
5105
|
+
/**
|
|
5106
|
+
* @generated from enum value: CUSTOMER_INVITATION_STATUS_EXPIRED = 3;
|
|
5107
|
+
*/
|
|
5108
|
+
EXPIRED = 3,
|
|
5109
|
+
|
|
5110
|
+
/**
|
|
5111
|
+
* @generated from enum value: CUSTOMER_INVITATION_STATUS_REVOKED = 4;
|
|
5112
|
+
*/
|
|
5113
|
+
REVOKED = 4,
|
|
5114
|
+
}
|
|
5115
|
+
|
|
5116
|
+
/**
|
|
5117
|
+
* Describes the enum identity.v1.CustomerInvitationStatus.
|
|
5118
|
+
*/
|
|
5119
|
+
export declare const CustomerInvitationStatusSchema: GenEnum<CustomerInvitationStatus>;
|
|
5120
|
+
|
|
4623
5121
|
/**
|
|
4624
5122
|
* @generated from enum identity.v1.ApiKeyType
|
|
4625
5123
|
*/
|
|
@@ -4897,6 +5395,72 @@ export declare const IdentityService: GenService<{
|
|
|
4897
5395
|
input: typeof SuspendCustomerRequestSchema;
|
|
4898
5396
|
output: typeof SuspendCustomerResponseSchema;
|
|
4899
5397
|
},
|
|
5398
|
+
/**
|
|
5399
|
+
* @generated from rpc identity.v1.IdentityService.SetCustomerPassword
|
|
5400
|
+
*/
|
|
5401
|
+
setCustomerPassword: {
|
|
5402
|
+
methodKind: "unary";
|
|
5403
|
+
input: typeof SetCustomerPasswordRequestSchema;
|
|
5404
|
+
output: typeof SetCustomerPasswordResponseSchema;
|
|
5405
|
+
},
|
|
5406
|
+
/**
|
|
5407
|
+
* Customer Invitations.
|
|
5408
|
+
*
|
|
5409
|
+
* @generated from rpc identity.v1.IdentityService.CreateCustomerInvitation
|
|
5410
|
+
*/
|
|
5411
|
+
createCustomerInvitation: {
|
|
5412
|
+
methodKind: "unary";
|
|
5413
|
+
input: typeof CreateCustomerInvitationRequestSchema;
|
|
5414
|
+
output: typeof CreateCustomerInvitationResponseSchema;
|
|
5415
|
+
},
|
|
5416
|
+
/**
|
|
5417
|
+
* @generated from rpc identity.v1.IdentityService.ListCustomerInvitations
|
|
5418
|
+
*/
|
|
5419
|
+
listCustomerInvitations: {
|
|
5420
|
+
methodKind: "unary";
|
|
5421
|
+
input: typeof ListCustomerInvitationsRequestSchema;
|
|
5422
|
+
output: typeof ListCustomerInvitationsResponseSchema;
|
|
5423
|
+
},
|
|
5424
|
+
/**
|
|
5425
|
+
* @generated from rpc identity.v1.IdentityService.GetCustomerInvitation
|
|
5426
|
+
*/
|
|
5427
|
+
getCustomerInvitation: {
|
|
5428
|
+
methodKind: "unary";
|
|
5429
|
+
input: typeof GetCustomerInvitationRequestSchema;
|
|
5430
|
+
output: typeof GetCustomerInvitationResponseSchema;
|
|
5431
|
+
},
|
|
5432
|
+
/**
|
|
5433
|
+
* @generated from rpc identity.v1.IdentityService.RevokeCustomerInvitation
|
|
5434
|
+
*/
|
|
5435
|
+
revokeCustomerInvitation: {
|
|
5436
|
+
methodKind: "unary";
|
|
5437
|
+
input: typeof RevokeCustomerInvitationRequestSchema;
|
|
5438
|
+
output: typeof RevokeCustomerInvitationResponseSchema;
|
|
5439
|
+
},
|
|
5440
|
+
/**
|
|
5441
|
+
* @generated from rpc identity.v1.IdentityService.ResendCustomerInvitation
|
|
5442
|
+
*/
|
|
5443
|
+
resendCustomerInvitation: {
|
|
5444
|
+
methodKind: "unary";
|
|
5445
|
+
input: typeof ResendCustomerInvitationRequestSchema;
|
|
5446
|
+
output: typeof ResendCustomerInvitationResponseSchema;
|
|
5447
|
+
},
|
|
5448
|
+
/**
|
|
5449
|
+
* @generated from rpc identity.v1.IdentityService.ValidateCustomerInvitation
|
|
5450
|
+
*/
|
|
5451
|
+
validateCustomerInvitation: {
|
|
5452
|
+
methodKind: "unary";
|
|
5453
|
+
input: typeof ValidateCustomerInvitationRequestSchema;
|
|
5454
|
+
output: typeof ValidateCustomerInvitationResponseSchema;
|
|
5455
|
+
},
|
|
5456
|
+
/**
|
|
5457
|
+
* @generated from rpc identity.v1.IdentityService.AcceptCustomerInvitation
|
|
5458
|
+
*/
|
|
5459
|
+
acceptCustomerInvitation: {
|
|
5460
|
+
methodKind: "unary";
|
|
5461
|
+
input: typeof AcceptCustomerInvitationRequestSchema;
|
|
5462
|
+
output: typeof AcceptCustomerInvitationResponseSchema;
|
|
5463
|
+
},
|
|
4900
5464
|
/**
|
|
4901
5465
|
* Tenants.
|
|
4902
5466
|
*
|