@poolzfinance/api4 1.11.15 → 1.11.16

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.
@@ -102,6 +102,11 @@ declare const documents: {
102
102
  "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
103
103
  dataOnAuth: types.DataOnAuth;
104
104
  }>>;
105
+ "\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetAllocationMutation, types.Exact<{
106
+ tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
107
+ dataOnAuth: types.DataOnAuth;
108
+ chatId: any;
109
+ }>>;
105
110
  "\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetTokenMutation, types.Exact<{
106
111
  chatId: any;
107
112
  dataOnAuth: types.DataOnAuth;
@@ -249,6 +254,10 @@ export declare function gql(source: "\nquery OnboardingData($chatId:Long!, $data
249
254
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
250
255
  */
251
256
  export declare function gql(source: "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"): (typeof documents)["\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"];
257
+ /**
258
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
259
+ */
260
+ export declare function gql(source: "\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}"];
252
261
  /**
253
262
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
254
263
  */
@@ -232,6 +232,7 @@ export type Mutation = {
232
232
  logout: Scalars['Boolean']['output'];
233
233
  myLinkTelegram: Scalars['Int']['output'];
234
234
  onboardingCheckTx: OnboardingMutationsResponse;
235
+ onboardingSetAllocation: OnboardingMutationsResponse;
235
236
  onboardingSetToken: OnboardingMutationsResponse;
236
237
  sendToMonitor: Scalars['Int']['output'];
237
238
  setMyAgree: Scalars['Boolean']['output'];
@@ -289,6 +290,11 @@ export type MutationOnboardingCheckTxArgs = {
289
290
  dataOnAuth: DataOnAuth;
290
291
  tokenTransfer: OnboardingTokenTransfer;
291
292
  };
293
+ export type MutationOnboardingSetAllocationArgs = {
294
+ chatId: Scalars['Long']['input'];
295
+ dataOnAuth: DataOnAuth;
296
+ tokenAllocation: Array<OnboardingTokenAllocation>;
297
+ };
292
298
  export type MutationOnboardingSetTokenArgs = {
293
299
  chatId: Scalars['Long']['input'];
294
300
  dataOnAuth: DataOnAuth;
@@ -381,6 +387,11 @@ export type OnboardingToken = {
381
387
  ChainId: Scalars['Long']['input'];
382
388
  TokenAddress: Scalars['String']['input'];
383
389
  };
390
+ export type OnboardingTokenAllocation = {
391
+ EndTime?: InputMaybe<Scalars['String']['input']>;
392
+ Ratio: Scalars['Float']['input'];
393
+ StartTime: Scalars['String']['input'];
394
+ };
384
395
  export type OnboardingTokenTransfer = {
385
396
  ChainId: Scalars['Long']['input'];
386
397
  TokenAddress: Scalars['String']['input'];
@@ -1026,6 +1037,19 @@ export type OnboardingProjectsQuery = {
1026
1037
  ChatTitle?: string | null;
1027
1038
  }>;
1028
1039
  };
1040
+ export type OnboardingSetAllocationMutationVariables = Exact<{
1041
+ tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
1042
+ dataOnAuth: DataOnAuth;
1043
+ chatId: Scalars['Long']['input'];
1044
+ }>;
1045
+ export type OnboardingSetAllocationMutation = {
1046
+ __typename?: 'Mutation';
1047
+ onboardingSetAllocation: {
1048
+ __typename?: 'OnboardingMutationsResponse';
1049
+ Success: boolean;
1050
+ ErrorMessage?: string | null;
1051
+ };
1052
+ };
1029
1053
  export type OnboardingSetTokenMutationVariables = Exact<{
1030
1054
  chatId: Scalars['Long']['input'];
1031
1055
  dataOnAuth: DataOnAuth;
@@ -1241,6 +1265,11 @@ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, E
1241
1265
  export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1242
1266
  dataOnAuth: DataOnAuth;
1243
1267
  }>>;
1268
+ export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
1269
+ tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
1270
+ dataOnAuth: DataOnAuth;
1271
+ chatId: Scalars['Long']['input'];
1272
+ }>>;
1244
1273
  export declare const OnboardingSetTokenDocument: DocumentNode<OnboardingSetTokenMutation, Exact<{
1245
1274
  chatId: Scalars['Long']['input'];
1246
1275
  dataOnAuth: DataOnAuth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.15",
3
+ "version": "1.11.16",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",