@leav/ui 1.9.0-22d8ceed → 1.9.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.
@@ -246,6 +246,16 @@ export declare enum AvailableLanguage {
246
246
  en = "en",
247
247
  fr = "fr"
248
248
  }
249
+ export type CampaignToRenew = {
250
+ endDate: Scalars['String']['input'];
251
+ id: Scalars['String']['input'];
252
+ startDate: Scalars['String']['input'];
253
+ };
254
+ export type CampaignToUpdateDates = {
255
+ endDate: Scalars['String']['input'];
256
+ id: Scalars['String']['input'];
257
+ startDate: Scalars['String']['input'];
258
+ };
249
259
  export type ChildrenAsRecordValuePermissionFilterInput = {
250
260
  action: RecordPermissionsActions;
251
261
  attributeId: Scalars['ID']['input'];
@@ -751,6 +761,7 @@ export declare enum TaskType {
751
761
  IMPORT_CONFIG = "IMPORT_CONFIG",
752
762
  IMPORT_DATA = "IMPORT_DATA",
753
763
  INDEXATION = "INDEXATION",
764
+ RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
754
765
  SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
755
766
  }
756
767
  export declare enum TreeBehavior {
@@ -4658,7 +4669,6 @@ export type CreateEmptyRecordMutation = {
4658
4669
  };
4659
4670
  export type CreateRecordMutationVariables = Exact<{
4660
4671
  library: Scalars['ID']['input'];
4661
- skipActivate?: InputMaybe<Scalars['Boolean']['input']>;
4662
4672
  data?: InputMaybe<CreateRecordDataInput>;
4663
4673
  }>;
4664
4674
  export type CreateRecordMutation = {
@@ -9120,14 +9130,12 @@ export type CreateRecordMutationFn = Apollo.MutationFunction<CreateRecordMutatio
9120
9130
  * const [createRecordMutation, { data, loading, error }] = useCreateRecordMutation({
9121
9131
  * variables: {
9122
9132
  * library: // value for 'library'
9123
- * skipActivate: // value for 'skipActivate'
9124
9133
  * data: // value for 'data'
9125
9134
  * },
9126
9135
  * });
9127
9136
  */
9128
9137
  export declare function useCreateRecordMutation(baseOptions?: Apollo.MutationHookOptions<CreateRecordMutation, CreateRecordMutationVariables>): Apollo.MutationTuple<CreateRecordMutation, Exact<{
9129
9138
  library: Scalars["ID"]["input"];
9130
- skipActivate?: InputMaybe<Scalars["Boolean"]["input"]>;
9131
9139
  data?: InputMaybe<CreateRecordDataInput>;
9132
9140
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
9133
9141
  export type CreateRecordMutationHookResult = ReturnType<typeof useCreateRecordMutation>;
@@ -310,6 +310,7 @@ export var TaskType;
310
310
  TaskType["IMPORT_CONFIG"] = "IMPORT_CONFIG";
311
311
  TaskType["IMPORT_DATA"] = "IMPORT_DATA";
312
312
  TaskType["INDEXATION"] = "INDEXATION";
313
+ TaskType["RENEW_CAMPAIGNS"] = "RENEW_CAMPAIGNS";
313
314
  TaskType["SAVE_VALUE_BULK"] = "SAVE_VALUE_BULK";
314
315
  })(TaskType || (TaskType = {}));
315
316
  export var TreeBehavior;
@@ -2335,8 +2336,8 @@ export function useCreateEmptyRecordMutation(baseOptions) {
2335
2336
  return Apollo.useMutation(CreateEmptyRecordDocument, options);
2336
2337
  }
2337
2338
  export const CreateRecordDocument = gql `
2338
- mutation CREATE_RECORD($library: ID!, $skipActivate: Boolean, $data: CreateRecordDataInput) {
2339
- createRecord(library: $library, skipActivate: $skipActivate, data: $data) {
2339
+ mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
2340
+ createRecord(library: $library, data: $data) {
2340
2341
  record {
2341
2342
  ...RecordIdentity
2342
2343
  }
@@ -2363,7 +2364,6 @@ export const CreateRecordDocument = gql `
2363
2364
  * const [createRecordMutation, { data, loading, error }] = useCreateRecordMutation({
2364
2365
  * variables: {
2365
2366
  * library: // value for 'library'
2366
- * skipActivate: // value for 'skipActivate'
2367
2367
  * data: // value for 'data'
2368
2368
  * },
2369
2369
  * });