@constructive-io/sdk 0.30.2 → 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.
Files changed (167) hide show
  1. package/admin/orm/index.d.ts +67 -67
  2. package/admin/orm/index.js +44 -44
  3. package/admin/orm/input-types.d.ts +3168 -3168
  4. package/admin/orm/input-types.js +1 -1
  5. package/admin/orm/models/index.d.ts +22 -22
  6. package/admin/orm/models/index.js +45 -45
  7. package/admin/orm/mutation/index.d.ts +12 -12
  8. package/admin/orm/mutation/index.js +12 -12
  9. package/admin/orm/query/index.d.ts +47 -47
  10. package/admin/orm/query/index.js +68 -68
  11. package/agent/orm/index.d.ts +8 -8
  12. package/agent/orm/index.js +8 -8
  13. package/agent/orm/input-types.d.ts +1788 -1788
  14. package/agent/orm/input-types.js +9 -9
  15. package/agent/orm/models/index.d.ts +4 -4
  16. package/agent/orm/models/index.js +9 -9
  17. package/api/orm/index.d.ts +77 -77
  18. package/api/orm/index.js +64 -64
  19. package/api/orm/input-types.d.ts +8781 -8781
  20. package/api/orm/input-types.js +48 -48
  21. package/api/orm/models/index.d.ts +32 -32
  22. package/api/orm/models/index.js +65 -65
  23. package/api/orm/mutation/index.d.ts +29 -29
  24. package/api/orm/mutation/index.js +30 -30
  25. package/api/orm/query/index.d.ts +1 -1
  26. package/api/orm/query/index.js +4 -4
  27. package/auth/orm/index.d.ts +103 -103
  28. package/auth/orm/index.js +14 -14
  29. package/auth/orm/input-types.d.ts +2102 -2109
  30. package/auth/orm/input-types.js +5 -5
  31. package/auth/orm/models/index.d.ts +7 -7
  32. package/auth/orm/models/index.js +15 -15
  33. package/auth/orm/mutation/index.d.ts +138 -138
  34. package/auth/orm/mutation/index.js +168 -168
  35. package/auth/orm/query/index.d.ts +10 -10
  36. package/auth/orm/query/index.js +14 -14
  37. package/compute/orm/index.d.ts +110 -110
  38. package/compute/orm/index.js +64 -64
  39. package/compute/orm/input-types.d.ts +7256 -7037
  40. package/compute/orm/input-types.js +15 -13
  41. package/compute/orm/models/index.d.ts +32 -32
  42. package/compute/orm/models/index.js +65 -65
  43. package/compute/orm/mutation/index.d.ts +77 -77
  44. package/compute/orm/mutation/index.js +96 -96
  45. package/config/orm/index.d.ts +30 -30
  46. package/config/orm/index.js +2 -2
  47. package/config/orm/input-types.d.ts +416 -416
  48. package/config/orm/models/index.d.ts +1 -1
  49. package/config/orm/models/index.js +3 -3
  50. package/config/orm/mutation/index.d.ts +47 -47
  51. package/config/orm/mutation/index.js +60 -60
  52. package/esm/admin/orm/index.d.ts +67 -67
  53. package/esm/admin/orm/index.js +44 -44
  54. package/esm/admin/orm/input-types.d.ts +3168 -3168
  55. package/esm/admin/orm/input-types.js +1 -1
  56. package/esm/admin/orm/models/index.d.ts +22 -22
  57. package/esm/admin/orm/models/index.js +22 -22
  58. package/esm/admin/orm/mutation/index.d.ts +12 -12
  59. package/esm/admin/orm/mutation/index.js +12 -12
  60. package/esm/admin/orm/query/index.d.ts +47 -47
  61. package/esm/admin/orm/query/index.js +68 -68
  62. package/esm/agent/orm/index.d.ts +8 -8
  63. package/esm/agent/orm/index.js +8 -8
  64. package/esm/agent/orm/input-types.d.ts +1788 -1788
  65. package/esm/agent/orm/input-types.js +9 -9
  66. package/esm/agent/orm/models/index.d.ts +4 -4
  67. package/esm/agent/orm/models/index.js +4 -4
  68. package/esm/api/orm/index.d.ts +77 -77
  69. package/esm/api/orm/index.js +64 -64
  70. package/esm/api/orm/input-types.d.ts +8781 -8781
  71. package/esm/api/orm/input-types.js +48 -48
  72. package/esm/api/orm/models/index.d.ts +32 -32
  73. package/esm/api/orm/models/index.js +32 -32
  74. package/esm/api/orm/mutation/index.d.ts +29 -29
  75. package/esm/api/orm/mutation/index.js +30 -30
  76. package/esm/api/orm/query/index.d.ts +1 -1
  77. package/esm/api/orm/query/index.js +4 -4
  78. package/esm/auth/orm/index.d.ts +103 -103
  79. package/esm/auth/orm/index.js +14 -14
  80. package/esm/auth/orm/input-types.d.ts +2102 -2109
  81. package/esm/auth/orm/input-types.js +5 -5
  82. package/esm/auth/orm/models/index.d.ts +7 -7
  83. package/esm/auth/orm/models/index.js +7 -7
  84. package/esm/auth/orm/mutation/index.d.ts +138 -138
  85. package/esm/auth/orm/mutation/index.js +168 -168
  86. package/esm/auth/orm/query/index.d.ts +10 -10
  87. package/esm/auth/orm/query/index.js +14 -14
  88. package/esm/compute/orm/index.d.ts +110 -110
  89. package/esm/compute/orm/index.js +64 -64
  90. package/esm/compute/orm/input-types.d.ts +7256 -7037
  91. package/esm/compute/orm/input-types.js +15 -13
  92. package/esm/compute/orm/models/index.d.ts +32 -32
  93. package/esm/compute/orm/models/index.js +32 -32
  94. package/esm/compute/orm/mutation/index.d.ts +77 -77
  95. package/esm/compute/orm/mutation/index.js +96 -96
  96. package/esm/config/orm/index.d.ts +30 -30
  97. package/esm/config/orm/index.js +2 -2
  98. package/esm/config/orm/input-types.d.ts +416 -416
  99. package/esm/config/orm/models/index.d.ts +1 -1
  100. package/esm/config/orm/models/index.js +1 -1
  101. package/esm/config/orm/mutation/index.d.ts +47 -47
  102. package/esm/config/orm/mutation/index.js +60 -60
  103. package/esm/infra/orm/index.d.ts +15 -15
  104. package/esm/infra/orm/index.js +10 -10
  105. package/esm/infra/orm/input-types.d.ts +971 -971
  106. package/esm/infra/orm/models/index.d.ts +5 -5
  107. package/esm/infra/orm/models/index.js +5 -5
  108. package/esm/infra/orm/mutation/index.d.ts +9 -9
  109. package/esm/infra/orm/mutation/index.js +12 -12
  110. package/esm/modules/orm/index.d.ts +126 -126
  111. package/esm/modules/orm/index.js +106 -106
  112. package/esm/modules/orm/input-types.d.ts +11482 -11468
  113. package/esm/modules/orm/input-types.js +1 -1
  114. package/esm/modules/orm/models/index.d.ts +53 -53
  115. package/esm/modules/orm/models/index.js +53 -53
  116. package/esm/modules/orm/mutation/index.d.ts +51 -51
  117. package/esm/modules/orm/mutation/index.js +42 -42
  118. package/esm/modules/orm/query/index.d.ts +3 -3
  119. package/esm/modules/orm/query/index.js +8 -8
  120. package/esm/objects/orm/index.d.ts +9 -9
  121. package/esm/objects/orm/index.js +4 -4
  122. package/esm/objects/orm/input-types.d.ts +384 -384
  123. package/esm/objects/orm/models/index.d.ts +2 -2
  124. package/esm/objects/orm/models/index.js +2 -2
  125. package/esm/objects/orm/mutation/index.d.ts +9 -9
  126. package/esm/objects/orm/mutation/index.js +12 -12
  127. package/esm/usage/orm/index.d.ts +29 -29
  128. package/esm/usage/orm/index.js +24 -24
  129. package/esm/usage/orm/input-types.d.ts +2049 -2049
  130. package/esm/usage/orm/input-types.js +5 -5
  131. package/esm/usage/orm/models/index.d.ts +12 -12
  132. package/esm/usage/orm/models/index.js +12 -12
  133. package/esm/usage/orm/mutation/index.d.ts +16 -16
  134. package/esm/usage/orm/mutation/index.js +12 -12
  135. package/infra/orm/index.d.ts +15 -15
  136. package/infra/orm/index.js +10 -10
  137. package/infra/orm/input-types.d.ts +971 -971
  138. package/infra/orm/models/index.d.ts +5 -5
  139. package/infra/orm/models/index.js +11 -11
  140. package/infra/orm/mutation/index.d.ts +9 -9
  141. package/infra/orm/mutation/index.js +12 -12
  142. package/modules/orm/index.d.ts +126 -126
  143. package/modules/orm/index.js +106 -106
  144. package/modules/orm/input-types.d.ts +11482 -11468
  145. package/modules/orm/input-types.js +1 -1
  146. package/modules/orm/models/index.d.ts +53 -53
  147. package/modules/orm/models/index.js +108 -108
  148. package/modules/orm/mutation/index.d.ts +51 -51
  149. package/modules/orm/mutation/index.js +42 -42
  150. package/modules/orm/query/index.d.ts +3 -3
  151. package/modules/orm/query/index.js +8 -8
  152. package/objects/orm/index.d.ts +9 -9
  153. package/objects/orm/index.js +4 -4
  154. package/objects/orm/input-types.d.ts +384 -384
  155. package/objects/orm/models/index.d.ts +2 -2
  156. package/objects/orm/models/index.js +5 -5
  157. package/objects/orm/mutation/index.d.ts +9 -9
  158. package/objects/orm/mutation/index.js +12 -12
  159. package/package.json +4 -4
  160. package/usage/orm/index.d.ts +29 -29
  161. package/usage/orm/index.js +24 -24
  162. package/usage/orm/input-types.d.ts +2049 -2049
  163. package/usage/orm/input-types.js +5 -5
  164. package/usage/orm/models/index.d.ts +12 -12
  165. package/usage/orm/models/index.js +25 -25
  166. package/usage/orm/mutation/index.d.ts +16 -16
  167. package/usage/orm/mutation/index.js +12 -12
@@ -1,17 +1,17 @@
1
1
  import type { OrmClientConfig } from './client';
2
+ import { AuditLogAuthModel } from './models/auditLogAuth';
3
+ import { CryptoAddressModel } from './models/cryptoAddress';
4
+ import { EmailModel } from './models/email';
5
+ import { IdentityProviderModel } from './models/identityProvider';
6
+ import { OrgApiKeyListModel } from './models/orgApiKeyList';
7
+ import { PhoneNumberModel } from './models/phoneNumber';
2
8
  import { PrincipalModel } from './models/principal';
3
9
  import { PrincipalEntityModel } from './models/principalEntity';
4
10
  import { PrincipalScopeOverrideModel } from './models/principalScopeOverride';
5
- import { EmailModel } from './models/email';
6
- import { PhoneNumberModel } from './models/phoneNumber';
7
- import { CryptoAddressModel } from './models/cryptoAddress';
8
- import { WebauthnCredentialModel } from './models/webauthnCredential';
9
- import { AuditLogAuthModel } from './models/auditLogAuth';
10
- import { IdentityProviderModel } from './models/identityProvider';
11
11
  import { RoleTypeModel } from './models/roleType';
12
12
  import { UserConnectedAccountModel } from './models/userConnectedAccount';
13
- import { OrgApiKeyListModel } from './models/orgApiKeyList';
14
13
  import { UserModel } from './models/user';
14
+ import { WebauthnCredentialModel } from './models/webauthnCredential';
15
15
  export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
16
16
  export { GraphQLRequestError, FetchAdapter } from './client';
17
17
  export { QueryBuilder } from './query-builder';
@@ -43,20 +43,30 @@ export { createMutationOperations } from './mutation';
43
43
  * ```
44
44
  */
45
45
  export declare function createClient(config: OrmClientConfig): {
46
+ auditLogAuth: AuditLogAuthModel;
47
+ cryptoAddress: CryptoAddressModel;
48
+ email: EmailModel;
49
+ identityProvider: IdentityProviderModel;
50
+ orgApiKeyList: OrgApiKeyListModel;
51
+ phoneNumber: PhoneNumberModel;
46
52
  principal: PrincipalModel;
47
53
  principalEntity: PrincipalEntityModel;
48
54
  principalScopeOverride: PrincipalScopeOverrideModel;
49
- email: EmailModel;
50
- phoneNumber: PhoneNumberModel;
51
- cryptoAddress: CryptoAddressModel;
52
- webauthnCredential: WebauthnCredentialModel;
53
- auditLogAuth: AuditLogAuthModel;
54
- identityProvider: IdentityProviderModel;
55
55
  roleType: RoleTypeModel;
56
56
  userConnectedAccount: UserConnectedAccountModel;
57
- orgApiKeyList: OrgApiKeyListModel;
58
57
  user: UserModel;
58
+ webauthnCredential: WebauthnCredentialModel;
59
59
  query: {
60
+ currentIpAddress: (options?: {
61
+ select?: Record<string, unknown>;
62
+ }) => import("./query-builder").QueryBuilder<{
63
+ currentIpAddress: string | null;
64
+ }>;
65
+ currentUser: <S extends import("./input-types").UserSelect>(options: {
66
+ select: S;
67
+ } & import("./select-types").StrictSelect<S, import("./input-types").UserSelect>) => import("./query-builder").QueryBuilder<{
68
+ currentUser: import("./select-types").InferSelectResult<import("./input-types").User, S> | null;
69
+ }>;
60
70
  currentUserAgent: (options?: {
61
71
  select?: Record<string, unknown>;
62
72
  }) => import("./query-builder").QueryBuilder<{
@@ -67,37 +77,37 @@ export declare function createClient(config: OrmClientConfig): {
67
77
  }) => import("./query-builder").QueryBuilder<{
68
78
  currentUserId: string | null;
69
79
  }>;
70
- currentIpAddress: (options?: {
71
- select?: Record<string, unknown>;
72
- }) => import("./query-builder").QueryBuilder<{
73
- currentIpAddress: string | null;
74
- }>;
75
80
  requireStepUp: (args: import("./query").RequireStepUpVariables, options?: {
76
81
  select?: Record<string, unknown>;
77
82
  }) => import("./query-builder").QueryBuilder<{
78
83
  requireStepUp: boolean | null;
79
84
  }>;
80
- currentUser: <S extends import("./input-types").UserSelect>(options: {
81
- select: S;
82
- } & import("./select-types").StrictSelect<S, import("./input-types").UserSelect>) => import("./query-builder").QueryBuilder<{
83
- currentUser: import("./select-types").InferSelectResult<import("./input-types").User, S> | null;
84
- }>;
85
85
  };
86
86
  mutation: {
87
- signOut: <S extends import("./input-types").SignOutPayloadSelect>(args: import("./mutation").SignOutVariables, options: {
87
+ checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
88
88
  select: S;
89
- } & import("./select-types").StrictSelect<S, import("./input-types").SignOutPayloadSelect>) => import("./query-builder").QueryBuilder<{
90
- signOut: import("./select-types").InferSelectResult<import("./input-types").SignOutPayload, S> | null;
89
+ } & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
90
+ checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
91
91
  }>;
92
- sendAccountDeletionEmail: <S extends import("./input-types").SendAccountDeletionEmailPayloadSelect>(args: import("./mutation").SendAccountDeletionEmailVariables, options: {
92
+ confirmDeleteAccount: <S extends import("./input-types").ConfirmDeleteAccountPayloadSelect>(args: import("./mutation").ConfirmDeleteAccountVariables, options: {
93
93
  select: S;
94
- } & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
95
- sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
94
+ } & import("./select-types").StrictSelect<S, import("./input-types").ConfirmDeleteAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
95
+ confirmDeleteAccount: import("./select-types").InferSelectResult<import("./input-types").ConfirmDeleteAccountPayload, S> | null;
96
96
  }>;
97
- checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
97
+ createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
98
98
  select: S;
99
- } & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
100
- checkPassword: import("./select-types").InferSelectResult<import("./input-types").CheckPasswordPayload, S> | null;
99
+ } & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
100
+ createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
101
+ }>;
102
+ createOrgApiKey: <S extends import("./input-types").CreateOrgApiKeyPayloadSelect>(args: import("./mutation").CreateOrgApiKeyVariables, options: {
103
+ select: S;
104
+ } & import("./select-types").StrictSelect<S, import("./input-types").CreateOrgApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
105
+ createOrgApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateOrgApiKeyPayload, S> | null;
106
+ }>;
107
+ createOrgPrincipal: <S extends import("./input-types").CreateOrgPrincipalPayloadSelect>(args: import("./mutation").CreateOrgPrincipalVariables, options: {
108
+ select: S;
109
+ } & import("./select-types").StrictSelect<S, import("./input-types").CreateOrgPrincipalPayloadSelect>) => import("./query-builder").QueryBuilder<{
110
+ createOrgPrincipal: import("./select-types").InferSelectResult<import("./input-types").CreateOrgPrincipalPayload, S> | null;
101
111
  }>;
102
112
  deleteOrgPrincipal: <S extends import("./input-types").DeleteOrgPrincipalPayloadSelect>(args: import("./mutation").DeleteOrgPrincipalVariables, options: {
103
113
  select: S;
@@ -114,60 +124,75 @@ export declare function createClient(config: OrmClientConfig): {
114
124
  } & import("./select-types").StrictSelect<S, import("./input-types").DisconnectAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
115
125
  disconnectAccount: import("./select-types").InferSelectResult<import("./input-types").DisconnectAccountPayload, S> | null;
116
126
  }>;
117
- revokeApiKey: <S extends import("./input-types").RevokeApiKeyPayloadSelect>(args: import("./mutation").RevokeApiKeyVariables, options: {
127
+ extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
118
128
  select: S;
119
- } & import("./select-types").StrictSelect<S, import("./input-types").RevokeApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
120
- revokeApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeApiKeyPayload, S> | null;
129
+ } & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
130
+ extendTokenExpires: import("./select-types").InferSelectResult<import("./input-types").ExtendTokenExpiresPayload, S> | null;
121
131
  }>;
122
- revokeSession: <S extends import("./input-types").RevokeSessionPayloadSelect>(args: import("./mutation").RevokeSessionVariables, options: {
132
+ forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
123
133
  select: S;
124
- } & import("./select-types").StrictSelect<S, import("./input-types").RevokeSessionPayloadSelect>) => import("./query-builder").QueryBuilder<{
125
- revokeSession: import("./select-types").InferSelectResult<import("./input-types").RevokeSessionPayload, S> | null;
134
+ } & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
135
+ forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
126
136
  }>;
127
- verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
137
+ linkIdentity: <S extends import("./input-types").LinkIdentityPayloadSelect>(args: import("./mutation").LinkIdentityVariables, options: {
128
138
  select: S;
129
- } & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
130
- verifyPassword: import("./select-types").InferSelectResult<import("./input-types").VerifyPasswordPayload, S> | null;
139
+ } & import("./select-types").StrictSelect<S, import("./input-types").LinkIdentityPayloadSelect>) => import("./query-builder").QueryBuilder<{
140
+ linkIdentity: import("./select-types").InferSelectResult<import("./input-types").LinkIdentityPayload, S> | null;
131
141
  }>;
132
- verifyTotp: <S extends import("./input-types").VerifyTotpPayloadSelect>(args: import("./mutation").VerifyTotpVariables, options: {
142
+ provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
133
143
  select: S;
134
- } & import("./select-types").StrictSelect<S, import("./input-types").VerifyTotpPayloadSelect>) => import("./query-builder").QueryBuilder<{
135
- verifyTotp: import("./select-types").InferSelectResult<import("./input-types").VerifyTotpPayload, S> | null;
144
+ } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
145
+ provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
136
146
  }>;
137
- confirmDeleteAccount: <S extends import("./input-types").ConfirmDeleteAccountPayloadSelect>(args: import("./mutation").ConfirmDeleteAccountVariables, options: {
147
+ provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
138
148
  select: S;
139
- } & import("./select-types").StrictSelect<S, import("./input-types").ConfirmDeleteAccountPayloadSelect>) => import("./query-builder").QueryBuilder<{
140
- confirmDeleteAccount: import("./select-types").InferSelectResult<import("./input-types").ConfirmDeleteAccountPayload, S> | null;
149
+ } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
150
+ provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
151
+ }>;
152
+ requestCrossOriginToken: <S extends import("./input-types").RequestCrossOriginTokenPayloadSelect>(args: import("./mutation").RequestCrossOriginTokenVariables, options: {
153
+ select: S;
154
+ } & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
155
+ requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
156
+ }>;
157
+ resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
158
+ select: S;
159
+ } & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
160
+ resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
161
+ }>;
162
+ revokeApiKey: <S extends import("./input-types").RevokeApiKeyPayloadSelect>(args: import("./mutation").RevokeApiKeyVariables, options: {
163
+ select: S;
164
+ } & import("./select-types").StrictSelect<S, import("./input-types").RevokeApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
165
+ revokeApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeApiKeyPayload, S> | null;
141
166
  }>;
142
167
  revokeOrgApiKey: <S extends import("./input-types").RevokeOrgApiKeyPayloadSelect>(args: import("./mutation").RevokeOrgApiKeyVariables, options: {
143
168
  select: S;
144
169
  } & import("./select-types").StrictSelect<S, import("./input-types").RevokeOrgApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
145
170
  revokeOrgApiKey: import("./select-types").InferSelectResult<import("./input-types").RevokeOrgApiKeyPayload, S> | null;
146
171
  }>;
147
- setPassword: <S extends import("./input-types").SetPasswordPayloadSelect>(args: import("./mutation").SetPasswordVariables, options: {
172
+ revokeSession: <S extends import("./input-types").RevokeSessionPayloadSelect>(args: import("./mutation").RevokeSessionVariables, options: {
148
173
  select: S;
149
- } & import("./select-types").StrictSelect<S, import("./input-types").SetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
150
- setPassword: import("./select-types").InferSelectResult<import("./input-types").SetPasswordPayload, S> | null;
174
+ } & import("./select-types").StrictSelect<S, import("./input-types").RevokeSessionPayloadSelect>) => import("./query-builder").QueryBuilder<{
175
+ revokeSession: import("./select-types").InferSelectResult<import("./input-types").RevokeSessionPayload, S> | null;
151
176
  }>;
152
- verifyEmail: <S extends import("./input-types").VerifyEmailPayloadSelect>(args: import("./mutation").VerifyEmailVariables, options: {
177
+ sendAccountDeletionEmail: <S extends import("./input-types").SendAccountDeletionEmailPayloadSelect>(args: import("./mutation").SendAccountDeletionEmailVariables, options: {
153
178
  select: S;
154
- } & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
155
- verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
179
+ } & import("./select-types").StrictSelect<S, import("./input-types").SendAccountDeletionEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
180
+ sendAccountDeletionEmail: import("./select-types").InferSelectResult<import("./input-types").SendAccountDeletionEmailPayload, S> | null;
156
181
  }>;
157
- provisionNewUser: <S extends import("./input-types").ProvisionNewUserPayloadSelect>(args: import("./mutation").ProvisionNewUserVariables, options: {
182
+ sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
158
183
  select: S;
159
- } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionNewUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
160
- provisionNewUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionNewUserPayload, S> | null;
184
+ } & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
185
+ sendVerificationEmail: import("./select-types").InferSelectResult<import("./input-types").SendVerificationEmailPayload, S> | null;
161
186
  }>;
162
- resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
187
+ setPassword: <S extends import("./input-types").SetPasswordPayloadSelect>(args: import("./mutation").SetPasswordVariables, options: {
163
188
  select: S;
164
- } & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
165
- resetPassword: import("./select-types").InferSelectResult<import("./input-types").ResetPasswordPayload, S> | null;
189
+ } & import("./select-types").StrictSelect<S, import("./input-types").SetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
190
+ setPassword: import("./select-types").InferSelectResult<import("./input-types").SetPasswordPayload, S> | null;
166
191
  }>;
167
- createOrgPrincipal: <S extends import("./input-types").CreateOrgPrincipalPayloadSelect>(args: import("./mutation").CreateOrgPrincipalVariables, options: {
192
+ signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
168
193
  select: S;
169
- } & import("./select-types").StrictSelect<S, import("./input-types").CreateOrgPrincipalPayloadSelect>) => import("./query-builder").QueryBuilder<{
170
- createOrgPrincipal: import("./select-types").InferSelectResult<import("./input-types").CreateOrgPrincipalPayload, S> | null;
194
+ } & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
195
+ signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
171
196
  }>;
172
197
  signInCrossOrigin: <S extends import("./input-types").SignInCrossOriginPayloadSelect>(args: import("./mutation").SignInCrossOriginVariables, options: {
173
198
  select: S;
@@ -179,60 +204,35 @@ export declare function createClient(config: OrmClientConfig): {
179
204
  } & import("./select-types").StrictSelect<S, import("./input-types").SignInSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
180
205
  signInSmsOtp: import("./select-types").InferSelectResult<import("./input-types").SignInSmsOtpPayload, S> | null;
181
206
  }>;
182
- signUpSms: <S extends import("./input-types").SignUpSmsPayloadSelect>(args: import("./mutation").SignUpSmsVariables, options: {
207
+ signOut: <S extends import("./input-types").SignOutPayloadSelect>(args: import("./mutation").SignOutVariables, options: {
183
208
  select: S;
184
- } & import("./select-types").StrictSelect<S, import("./input-types").SignUpSmsPayloadSelect>) => import("./query-builder").QueryBuilder<{
185
- signUpSms: import("./select-types").InferSelectResult<import("./input-types").SignUpSmsPayload, S> | null;
209
+ } & import("./select-types").StrictSelect<S, import("./input-types").SignOutPayloadSelect>) => import("./query-builder").QueryBuilder<{
210
+ signOut: import("./select-types").InferSelectResult<import("./input-types").SignOutPayload, S> | null;
186
211
  }>;
187
212
  signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
188
213
  select: S;
189
214
  } & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
190
215
  signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
191
216
  }>;
192
- signIn: <S extends import("./input-types").SignInPayloadSelect>(args: import("./mutation").SignInVariables, options: {
193
- select: S;
194
- } & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
195
- signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
196
- }>;
197
- linkIdentity: <S extends import("./input-types").LinkIdentityPayloadSelect>(args: import("./mutation").LinkIdentityVariables, options: {
198
- select: S;
199
- } & import("./select-types").StrictSelect<S, import("./input-types").LinkIdentityPayloadSelect>) => import("./query-builder").QueryBuilder<{
200
- linkIdentity: import("./select-types").InferSelectResult<import("./input-types").LinkIdentityPayload, S> | null;
201
- }>;
202
- extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
203
- select: S;
204
- } & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
205
- extendTokenExpires: import("./select-types").InferSelectResult<import("./input-types").ExtendTokenExpiresPayload, S> | null;
206
- }>;
207
- createOrgApiKey: <S extends import("./input-types").CreateOrgApiKeyPayloadSelect>(args: import("./mutation").CreateOrgApiKeyVariables, options: {
208
- select: S;
209
- } & import("./select-types").StrictSelect<S, import("./input-types").CreateOrgApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
210
- createOrgApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateOrgApiKeyPayload, S> | null;
211
- }>;
212
- createApiKey: <S extends import("./input-types").CreateApiKeyPayloadSelect>(args: import("./mutation").CreateApiKeyVariables, options: {
213
- select: S;
214
- } & import("./select-types").StrictSelect<S, import("./input-types").CreateApiKeyPayloadSelect>) => import("./query-builder").QueryBuilder<{
215
- createApiKey: import("./select-types").InferSelectResult<import("./input-types").CreateApiKeyPayload, S> | null;
216
- }>;
217
- requestCrossOriginToken: <S extends import("./input-types").RequestCrossOriginTokenPayloadSelect>(args: import("./mutation").RequestCrossOriginTokenVariables, options: {
217
+ signUpSms: <S extends import("./input-types").SignUpSmsPayloadSelect>(args: import("./mutation").SignUpSmsVariables, options: {
218
218
  select: S;
219
- } & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
220
- requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
219
+ } & import("./select-types").StrictSelect<S, import("./input-types").SignUpSmsPayloadSelect>) => import("./query-builder").QueryBuilder<{
220
+ signUpSms: import("./select-types").InferSelectResult<import("./input-types").SignUpSmsPayload, S> | null;
221
221
  }>;
222
- forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
222
+ verifyEmail: <S extends import("./input-types").VerifyEmailPayloadSelect>(args: import("./mutation").VerifyEmailVariables, options: {
223
223
  select: S;
224
- } & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
225
- forgotPassword: import("./select-types").InferSelectResult<import("./input-types").ForgotPasswordPayload, S> | null;
224
+ } & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
225
+ verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
226
226
  }>;
227
- sendVerificationEmail: <S extends import("./input-types").SendVerificationEmailPayloadSelect>(args: import("./mutation").SendVerificationEmailVariables, options: {
227
+ verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
228
228
  select: S;
229
- } & import("./select-types").StrictSelect<S, import("./input-types").SendVerificationEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
230
- sendVerificationEmail: import("./select-types").InferSelectResult<import("./input-types").SendVerificationEmailPayload, S> | null;
229
+ } & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
230
+ verifyPassword: import("./select-types").InferSelectResult<import("./input-types").VerifyPasswordPayload, S> | null;
231
231
  }>;
232
- provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
232
+ verifyTotp: <S extends import("./input-types").VerifyTotpPayloadSelect>(args: import("./mutation").VerifyTotpVariables, options: {
233
233
  select: S;
234
- } & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
235
- provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
234
+ } & import("./select-types").StrictSelect<S, import("./input-types").VerifyTotpPayloadSelect>) => import("./query-builder").QueryBuilder<{
235
+ verifyTotp: import("./select-types").InferSelectResult<import("./input-types").VerifyTotpPayload, S> | null;
236
236
  }>;
237
237
  };
238
238
  };
package/auth/orm/index.js CHANGED
@@ -22,19 +22,19 @@ exports.createClient = createClient;
22
22
  * DO NOT EDIT - changes will be overwritten
23
23
  */
24
24
  const client_1 = require("./client");
25
+ const auditLogAuth_1 = require("./models/auditLogAuth");
26
+ const cryptoAddress_1 = require("./models/cryptoAddress");
27
+ const email_1 = require("./models/email");
28
+ const identityProvider_1 = require("./models/identityProvider");
29
+ const orgApiKeyList_1 = require("./models/orgApiKeyList");
30
+ const phoneNumber_1 = require("./models/phoneNumber");
25
31
  const principal_1 = require("./models/principal");
26
32
  const principalEntity_1 = require("./models/principalEntity");
27
33
  const principalScopeOverride_1 = require("./models/principalScopeOverride");
28
- const email_1 = require("./models/email");
29
- const phoneNumber_1 = require("./models/phoneNumber");
30
- const cryptoAddress_1 = require("./models/cryptoAddress");
31
- const webauthnCredential_1 = require("./models/webauthnCredential");
32
- const auditLogAuth_1 = require("./models/auditLogAuth");
33
- const identityProvider_1 = require("./models/identityProvider");
34
34
  const roleType_1 = require("./models/roleType");
35
35
  const userConnectedAccount_1 = require("./models/userConnectedAccount");
36
- const orgApiKeyList_1 = require("./models/orgApiKeyList");
37
36
  const user_1 = require("./models/user");
37
+ const webauthnCredential_1 = require("./models/webauthnCredential");
38
38
  const query_1 = require("./query");
39
39
  const mutation_1 = require("./mutation");
40
40
  var client_2 = require("./client");
@@ -74,19 +74,19 @@ Object.defineProperty(exports, "createMutationOperations", { enumerable: true, g
74
74
  function createClient(config) {
75
75
  const client = new client_1.OrmClient(config);
76
76
  return {
77
+ auditLogAuth: new auditLogAuth_1.AuditLogAuthModel(client),
78
+ cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
79
+ email: new email_1.EmailModel(client),
80
+ identityProvider: new identityProvider_1.IdentityProviderModel(client),
81
+ orgApiKeyList: new orgApiKeyList_1.OrgApiKeyListModel(client),
82
+ phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
77
83
  principal: new principal_1.PrincipalModel(client),
78
84
  principalEntity: new principalEntity_1.PrincipalEntityModel(client),
79
85
  principalScopeOverride: new principalScopeOverride_1.PrincipalScopeOverrideModel(client),
80
- email: new email_1.EmailModel(client),
81
- phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
82
- cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
83
- webauthnCredential: new webauthnCredential_1.WebauthnCredentialModel(client),
84
- auditLogAuth: new auditLogAuth_1.AuditLogAuthModel(client),
85
- identityProvider: new identityProvider_1.IdentityProviderModel(client),
86
86
  roleType: new roleType_1.RoleTypeModel(client),
87
87
  userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
88
- orgApiKeyList: new orgApiKeyList_1.OrgApiKeyListModel(client),
89
88
  user: new user_1.UserModel(client),
89
+ webauthnCredential: new webauthnCredential_1.WebauthnCredentialModel(client),
90
90
  query: (0, query_1.createQueryOperations)(client),
91
91
  mutation: (0, mutation_1.createMutationOperations)(client),
92
92
  };