@forgecart/sdk 1.202607100718.0 → 1.202607101245.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.
|
@@ -316,6 +316,9 @@ export type AttributionSourceRollupItem = {
|
|
|
316
316
|
conversionCount: Scalars['Int']['output'];
|
|
317
317
|
groupKey: Scalars['String']['output'];
|
|
318
318
|
};
|
|
319
|
+
export type AudienceConditionGroupOperator = 'and' | 'or';
|
|
320
|
+
export type AudienceConditionOperator = 'contains' | 'eq' | 'gt' | 'gte' | 'in' | 'in_range' | 'lt' | 'lte' | 'neq';
|
|
321
|
+
export type AudienceConditionTimeWindowUnit = 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'WEEKS';
|
|
319
322
|
export type AudienceMembership = {
|
|
320
323
|
customerId?: Maybe<Scalars['ID']['output']>;
|
|
321
324
|
enteredAt: Scalars['DateTime']['output'];
|
|
@@ -337,6 +340,7 @@ export type AudienceMembershipsBySegmentInput = {
|
|
|
337
340
|
sort?: InputMaybe<Scalars['JSON']['input']>;
|
|
338
341
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
339
342
|
};
|
|
343
|
+
export type AudiencePropertyFilterOperator = 'contains' | 'eq' | 'gt' | 'gte' | 'in' | 'lt' | 'lte' | 'neq';
|
|
340
344
|
export type AudienceSegment = {
|
|
341
345
|
active: Scalars['Boolean']['output'];
|
|
342
346
|
code: Scalars['String']['output'];
|
|
@@ -360,26 +364,33 @@ export type AudienceSegmentCondition = {
|
|
|
360
364
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
361
365
|
occurredAfter?: Maybe<Scalars['DateTime']['output']>;
|
|
362
366
|
occurredBefore?: Maybe<Scalars['DateTime']['output']>;
|
|
363
|
-
operator:
|
|
367
|
+
operator: AudienceConditionOperator;
|
|
364
368
|
position?: Maybe<Scalars['Int']['output']>;
|
|
365
369
|
propertyFilters: Array<AudienceSegmentConditionPropertyFilter>;
|
|
366
370
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
367
371
|
stringValue?: Maybe<Scalars['String']['output']>;
|
|
368
372
|
windowLastCount?: Maybe<Scalars['Int']['output']>;
|
|
369
|
-
windowLastUnit?: Maybe<
|
|
373
|
+
windowLastUnit?: Maybe<AudienceConditionTimeWindowUnit>;
|
|
370
374
|
};
|
|
371
375
|
export type AudienceSegmentConditionGroup = {
|
|
372
376
|
children: Array<AudienceSegmentConditionTreeNode>;
|
|
373
|
-
groupOperator:
|
|
377
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
374
378
|
id: Scalars['ID']['output'];
|
|
375
379
|
position?: Maybe<Scalars['Int']['output']>;
|
|
376
380
|
};
|
|
377
381
|
export type AudienceSegmentConditionGroupInput = {
|
|
378
382
|
children: Array<AudienceSegmentConditionTreeNodeInput>;
|
|
379
|
-
groupOperator:
|
|
383
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
380
384
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
381
385
|
};
|
|
382
386
|
export type AudienceSegmentConditionInput = {
|
|
387
|
+
/**
|
|
388
|
+
* Built-in codes: customer_created_at, event_count, first_seen_within,
|
|
389
|
+
* has_bought_product, has_event_type, in_customer_group, in_segment,
|
|
390
|
+
* not_in_segment, order_count, revenue_from_source, total_spend,
|
|
391
|
+
* utm_campaign_match, utm_source_match. Plugins may register more;
|
|
392
|
+
* unregistered codes are rejected at save time with the live list.
|
|
393
|
+
*/
|
|
383
394
|
conditionCode: Scalars['String']['input'];
|
|
384
395
|
dateValue?: InputMaybe<Scalars['DateTime']['input']>;
|
|
385
396
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -387,13 +398,18 @@ export type AudienceSegmentConditionInput = {
|
|
|
387
398
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
388
399
|
occurredAfter?: InputMaybe<Scalars['DateTime']['input']>;
|
|
389
400
|
occurredBefore?: InputMaybe<Scalars['DateTime']['input']>;
|
|
390
|
-
|
|
401
|
+
/**
|
|
402
|
+
* Not every code accepts every operator — presence-style conditions
|
|
403
|
+
* (has_event_type, first_seen_within) are `eq`-only; `in_range` reads
|
|
404
|
+
* intValue..intValueEnd.
|
|
405
|
+
*/
|
|
406
|
+
operator: AudienceConditionOperator;
|
|
391
407
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
392
408
|
propertyFilters?: InputMaybe<Array<AudienceSegmentConditionPropertyFilterInput>>;
|
|
393
409
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
394
410
|
stringValue?: InputMaybe<Scalars['String']['input']>;
|
|
395
411
|
windowLastCount?: InputMaybe<Scalars['Int']['input']>;
|
|
396
|
-
windowLastUnit?: InputMaybe<
|
|
412
|
+
windowLastUnit?: InputMaybe<AudienceConditionTimeWindowUnit>;
|
|
397
413
|
};
|
|
398
414
|
export type AudienceSegmentConditionPropertyFilter = {
|
|
399
415
|
dateValue?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -401,7 +417,7 @@ export type AudienceSegmentConditionPropertyFilter = {
|
|
|
401
417
|
id: Scalars['ID']['output'];
|
|
402
418
|
intValue?: Maybe<Scalars['BigInt']['output']>;
|
|
403
419
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
404
|
-
operator:
|
|
420
|
+
operator: AudiencePropertyFilterOperator;
|
|
405
421
|
position: Scalars['Int']['output'];
|
|
406
422
|
propertyPath: Scalars['String']['output'];
|
|
407
423
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -412,7 +428,7 @@ export type AudienceSegmentConditionPropertyFilterInput = {
|
|
|
412
428
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
413
429
|
intValue?: InputMaybe<Scalars['BigInt']['input']>;
|
|
414
430
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
415
|
-
operator:
|
|
431
|
+
operator: AudiencePropertyFilterOperator;
|
|
416
432
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
417
433
|
propertyPath: Scalars['String']['input'];
|
|
418
434
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -316,6 +316,9 @@ export type AttributionSourceRollupItem = {
|
|
|
316
316
|
conversionCount: Scalars['Int']['output'];
|
|
317
317
|
groupKey: Scalars['String']['output'];
|
|
318
318
|
};
|
|
319
|
+
export type AudienceConditionGroupOperator = 'and' | 'or';
|
|
320
|
+
export type AudienceConditionOperator = 'contains' | 'eq' | 'gt' | 'gte' | 'in' | 'in_range' | 'lt' | 'lte' | 'neq';
|
|
321
|
+
export type AudienceConditionTimeWindowUnit = 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'WEEKS';
|
|
319
322
|
export type AudienceMembership = {
|
|
320
323
|
customerId?: Maybe<Scalars['ID']['output']>;
|
|
321
324
|
enteredAt: Scalars['DateTime']['output'];
|
|
@@ -337,6 +340,7 @@ export type AudienceMembershipsBySegmentInput = {
|
|
|
337
340
|
sort?: InputMaybe<Scalars['JSON']['input']>;
|
|
338
341
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
339
342
|
};
|
|
343
|
+
export type AudiencePropertyFilterOperator = 'contains' | 'eq' | 'gt' | 'gte' | 'in' | 'lt' | 'lte' | 'neq';
|
|
340
344
|
export type AudienceSegment = {
|
|
341
345
|
active: Scalars['Boolean']['output'];
|
|
342
346
|
code: Scalars['String']['output'];
|
|
@@ -360,26 +364,33 @@ export type AudienceSegmentCondition = {
|
|
|
360
364
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
361
365
|
occurredAfter?: Maybe<Scalars['DateTime']['output']>;
|
|
362
366
|
occurredBefore?: Maybe<Scalars['DateTime']['output']>;
|
|
363
|
-
operator:
|
|
367
|
+
operator: AudienceConditionOperator;
|
|
364
368
|
position?: Maybe<Scalars['Int']['output']>;
|
|
365
369
|
propertyFilters: Array<AudienceSegmentConditionPropertyFilter>;
|
|
366
370
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
367
371
|
stringValue?: Maybe<Scalars['String']['output']>;
|
|
368
372
|
windowLastCount?: Maybe<Scalars['Int']['output']>;
|
|
369
|
-
windowLastUnit?: Maybe<
|
|
373
|
+
windowLastUnit?: Maybe<AudienceConditionTimeWindowUnit>;
|
|
370
374
|
};
|
|
371
375
|
export type AudienceSegmentConditionGroup = {
|
|
372
376
|
children: Array<AudienceSegmentConditionTreeNode>;
|
|
373
|
-
groupOperator:
|
|
377
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
374
378
|
id: Scalars['ID']['output'];
|
|
375
379
|
position?: Maybe<Scalars['Int']['output']>;
|
|
376
380
|
};
|
|
377
381
|
export type AudienceSegmentConditionGroupInput = {
|
|
378
382
|
children: Array<AudienceSegmentConditionTreeNodeInput>;
|
|
379
|
-
groupOperator:
|
|
383
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
380
384
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
381
385
|
};
|
|
382
386
|
export type AudienceSegmentConditionInput = {
|
|
387
|
+
/**
|
|
388
|
+
* Built-in codes: customer_created_at, event_count, first_seen_within,
|
|
389
|
+
* has_bought_product, has_event_type, in_customer_group, in_segment,
|
|
390
|
+
* not_in_segment, order_count, revenue_from_source, total_spend,
|
|
391
|
+
* utm_campaign_match, utm_source_match. Plugins may register more;
|
|
392
|
+
* unregistered codes are rejected at save time with the live list.
|
|
393
|
+
*/
|
|
383
394
|
conditionCode: Scalars['String']['input'];
|
|
384
395
|
dateValue?: InputMaybe<Scalars['DateTime']['input']>;
|
|
385
396
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -387,13 +398,18 @@ export type AudienceSegmentConditionInput = {
|
|
|
387
398
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
388
399
|
occurredAfter?: InputMaybe<Scalars['DateTime']['input']>;
|
|
389
400
|
occurredBefore?: InputMaybe<Scalars['DateTime']['input']>;
|
|
390
|
-
|
|
401
|
+
/**
|
|
402
|
+
* Not every code accepts every operator — presence-style conditions
|
|
403
|
+
* (has_event_type, first_seen_within) are `eq`-only; `in_range` reads
|
|
404
|
+
* intValue..intValueEnd.
|
|
405
|
+
*/
|
|
406
|
+
operator: AudienceConditionOperator;
|
|
391
407
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
392
408
|
propertyFilters?: InputMaybe<Array<AudienceSegmentConditionPropertyFilterInput>>;
|
|
393
409
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
394
410
|
stringValue?: InputMaybe<Scalars['String']['input']>;
|
|
395
411
|
windowLastCount?: InputMaybe<Scalars['Int']['input']>;
|
|
396
|
-
windowLastUnit?: InputMaybe<
|
|
412
|
+
windowLastUnit?: InputMaybe<AudienceConditionTimeWindowUnit>;
|
|
397
413
|
};
|
|
398
414
|
export type AudienceSegmentConditionPropertyFilter = {
|
|
399
415
|
dateValue?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -401,7 +417,7 @@ export type AudienceSegmentConditionPropertyFilter = {
|
|
|
401
417
|
id: Scalars['ID']['output'];
|
|
402
418
|
intValue?: Maybe<Scalars['BigInt']['output']>;
|
|
403
419
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
404
|
-
operator:
|
|
420
|
+
operator: AudiencePropertyFilterOperator;
|
|
405
421
|
position: Scalars['Int']['output'];
|
|
406
422
|
propertyPath: Scalars['String']['output'];
|
|
407
423
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -412,7 +428,7 @@ export type AudienceSegmentConditionPropertyFilterInput = {
|
|
|
412
428
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
413
429
|
intValue?: InputMaybe<Scalars['BigInt']['input']>;
|
|
414
430
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
415
|
-
operator:
|
|
431
|
+
operator: AudiencePropertyFilterOperator;
|
|
416
432
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
417
433
|
propertyPath: Scalars['String']['input'];
|
|
418
434
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
package/package.json
CHANGED
|
@@ -335,6 +335,28 @@ export type AttributionSourceRollupItem = {
|
|
|
335
335
|
groupKey: Scalars['String']['output'];
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
+
export type AudienceConditionGroupOperator =
|
|
339
|
+
| 'and'
|
|
340
|
+
| 'or';
|
|
341
|
+
|
|
342
|
+
export type AudienceConditionOperator =
|
|
343
|
+
| 'contains'
|
|
344
|
+
| 'eq'
|
|
345
|
+
| 'gt'
|
|
346
|
+
| 'gte'
|
|
347
|
+
| 'in'
|
|
348
|
+
| 'in_range'
|
|
349
|
+
| 'lt'
|
|
350
|
+
| 'lte'
|
|
351
|
+
| 'neq';
|
|
352
|
+
|
|
353
|
+
export type AudienceConditionTimeWindowUnit =
|
|
354
|
+
| 'DAYS'
|
|
355
|
+
| 'HOURS'
|
|
356
|
+
| 'MINUTES'
|
|
357
|
+
| 'MONTHS'
|
|
358
|
+
| 'WEEKS';
|
|
359
|
+
|
|
338
360
|
export type AudienceMembership = {
|
|
339
361
|
customerId?: Maybe<Scalars['ID']['output']>;
|
|
340
362
|
enteredAt: Scalars['DateTime']['output'];
|
|
@@ -359,6 +381,16 @@ export type AudienceMembershipsBySegmentInput = {
|
|
|
359
381
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
360
382
|
};
|
|
361
383
|
|
|
384
|
+
export type AudiencePropertyFilterOperator =
|
|
385
|
+
| 'contains'
|
|
386
|
+
| 'eq'
|
|
387
|
+
| 'gt'
|
|
388
|
+
| 'gte'
|
|
389
|
+
| 'in'
|
|
390
|
+
| 'lt'
|
|
391
|
+
| 'lte'
|
|
392
|
+
| 'neq';
|
|
393
|
+
|
|
362
394
|
export type AudienceSegment = {
|
|
363
395
|
active: Scalars['Boolean']['output'];
|
|
364
396
|
code: Scalars['String']['output'];
|
|
@@ -383,29 +415,36 @@ export type AudienceSegmentCondition = {
|
|
|
383
415
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
384
416
|
occurredAfter?: Maybe<Scalars['DateTime']['output']>;
|
|
385
417
|
occurredBefore?: Maybe<Scalars['DateTime']['output']>;
|
|
386
|
-
operator:
|
|
418
|
+
operator: AudienceConditionOperator;
|
|
387
419
|
position?: Maybe<Scalars['Int']['output']>;
|
|
388
420
|
propertyFilters: Array<AudienceSegmentConditionPropertyFilter>;
|
|
389
421
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
390
422
|
stringValue?: Maybe<Scalars['String']['output']>;
|
|
391
423
|
windowLastCount?: Maybe<Scalars['Int']['output']>;
|
|
392
|
-
windowLastUnit?: Maybe<
|
|
424
|
+
windowLastUnit?: Maybe<AudienceConditionTimeWindowUnit>;
|
|
393
425
|
};
|
|
394
426
|
|
|
395
427
|
export type AudienceSegmentConditionGroup = {
|
|
396
428
|
children: Array<AudienceSegmentConditionTreeNode>;
|
|
397
|
-
groupOperator:
|
|
429
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
398
430
|
id: Scalars['ID']['output'];
|
|
399
431
|
position?: Maybe<Scalars['Int']['output']>;
|
|
400
432
|
};
|
|
401
433
|
|
|
402
434
|
export type AudienceSegmentConditionGroupInput = {
|
|
403
435
|
children: Array<AudienceSegmentConditionTreeNodeInput>;
|
|
404
|
-
groupOperator:
|
|
436
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
405
437
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
406
438
|
};
|
|
407
439
|
|
|
408
440
|
export type AudienceSegmentConditionInput = {
|
|
441
|
+
/**
|
|
442
|
+
* Built-in codes: customer_created_at, event_count, first_seen_within,
|
|
443
|
+
* has_bought_product, has_event_type, in_customer_group, in_segment,
|
|
444
|
+
* not_in_segment, order_count, revenue_from_source, total_spend,
|
|
445
|
+
* utm_campaign_match, utm_source_match. Plugins may register more;
|
|
446
|
+
* unregistered codes are rejected at save time with the live list.
|
|
447
|
+
*/
|
|
409
448
|
conditionCode: Scalars['String']['input'];
|
|
410
449
|
dateValue?: InputMaybe<Scalars['DateTime']['input']>;
|
|
411
450
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -413,13 +452,18 @@ export type AudienceSegmentConditionInput = {
|
|
|
413
452
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
414
453
|
occurredAfter?: InputMaybe<Scalars['DateTime']['input']>;
|
|
415
454
|
occurredBefore?: InputMaybe<Scalars['DateTime']['input']>;
|
|
416
|
-
|
|
455
|
+
/**
|
|
456
|
+
* Not every code accepts every operator — presence-style conditions
|
|
457
|
+
* (has_event_type, first_seen_within) are `eq`-only; `in_range` reads
|
|
458
|
+
* intValue..intValueEnd.
|
|
459
|
+
*/
|
|
460
|
+
operator: AudienceConditionOperator;
|
|
417
461
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
418
462
|
propertyFilters?: InputMaybe<Array<AudienceSegmentConditionPropertyFilterInput>>;
|
|
419
463
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
420
464
|
stringValue?: InputMaybe<Scalars['String']['input']>;
|
|
421
465
|
windowLastCount?: InputMaybe<Scalars['Int']['input']>;
|
|
422
|
-
windowLastUnit?: InputMaybe<
|
|
466
|
+
windowLastUnit?: InputMaybe<AudienceConditionTimeWindowUnit>;
|
|
423
467
|
};
|
|
424
468
|
|
|
425
469
|
export type AudienceSegmentConditionPropertyFilter = {
|
|
@@ -428,7 +472,7 @@ export type AudienceSegmentConditionPropertyFilter = {
|
|
|
428
472
|
id: Scalars['ID']['output'];
|
|
429
473
|
intValue?: Maybe<Scalars['BigInt']['output']>;
|
|
430
474
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
431
|
-
operator:
|
|
475
|
+
operator: AudiencePropertyFilterOperator;
|
|
432
476
|
position: Scalars['Int']['output'];
|
|
433
477
|
propertyPath: Scalars['String']['output'];
|
|
434
478
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -440,7 +484,7 @@ export type AudienceSegmentConditionPropertyFilterInput = {
|
|
|
440
484
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
441
485
|
intValue?: InputMaybe<Scalars['BigInt']['input']>;
|
|
442
486
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
443
|
-
operator:
|
|
487
|
+
operator: AudiencePropertyFilterOperator;
|
|
444
488
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
445
489
|
propertyPath: Scalars['String']['input'];
|
|
446
490
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -335,6 +335,28 @@ export type AttributionSourceRollupItem = {
|
|
|
335
335
|
groupKey: Scalars['String']['output'];
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
+
export type AudienceConditionGroupOperator =
|
|
339
|
+
| 'and'
|
|
340
|
+
| 'or';
|
|
341
|
+
|
|
342
|
+
export type AudienceConditionOperator =
|
|
343
|
+
| 'contains'
|
|
344
|
+
| 'eq'
|
|
345
|
+
| 'gt'
|
|
346
|
+
| 'gte'
|
|
347
|
+
| 'in'
|
|
348
|
+
| 'in_range'
|
|
349
|
+
| 'lt'
|
|
350
|
+
| 'lte'
|
|
351
|
+
| 'neq';
|
|
352
|
+
|
|
353
|
+
export type AudienceConditionTimeWindowUnit =
|
|
354
|
+
| 'DAYS'
|
|
355
|
+
| 'HOURS'
|
|
356
|
+
| 'MINUTES'
|
|
357
|
+
| 'MONTHS'
|
|
358
|
+
| 'WEEKS';
|
|
359
|
+
|
|
338
360
|
export type AudienceMembership = {
|
|
339
361
|
customerId?: Maybe<Scalars['ID']['output']>;
|
|
340
362
|
enteredAt: Scalars['DateTime']['output'];
|
|
@@ -359,6 +381,16 @@ export type AudienceMembershipsBySegmentInput = {
|
|
|
359
381
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
360
382
|
};
|
|
361
383
|
|
|
384
|
+
export type AudiencePropertyFilterOperator =
|
|
385
|
+
| 'contains'
|
|
386
|
+
| 'eq'
|
|
387
|
+
| 'gt'
|
|
388
|
+
| 'gte'
|
|
389
|
+
| 'in'
|
|
390
|
+
| 'lt'
|
|
391
|
+
| 'lte'
|
|
392
|
+
| 'neq';
|
|
393
|
+
|
|
362
394
|
export type AudienceSegment = {
|
|
363
395
|
active: Scalars['Boolean']['output'];
|
|
364
396
|
code: Scalars['String']['output'];
|
|
@@ -383,29 +415,36 @@ export type AudienceSegmentCondition = {
|
|
|
383
415
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
384
416
|
occurredAfter?: Maybe<Scalars['DateTime']['output']>;
|
|
385
417
|
occurredBefore?: Maybe<Scalars['DateTime']['output']>;
|
|
386
|
-
operator:
|
|
418
|
+
operator: AudienceConditionOperator;
|
|
387
419
|
position?: Maybe<Scalars['Int']['output']>;
|
|
388
420
|
propertyFilters: Array<AudienceSegmentConditionPropertyFilter>;
|
|
389
421
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
390
422
|
stringValue?: Maybe<Scalars['String']['output']>;
|
|
391
423
|
windowLastCount?: Maybe<Scalars['Int']['output']>;
|
|
392
|
-
windowLastUnit?: Maybe<
|
|
424
|
+
windowLastUnit?: Maybe<AudienceConditionTimeWindowUnit>;
|
|
393
425
|
};
|
|
394
426
|
|
|
395
427
|
export type AudienceSegmentConditionGroup = {
|
|
396
428
|
children: Array<AudienceSegmentConditionTreeNode>;
|
|
397
|
-
groupOperator:
|
|
429
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
398
430
|
id: Scalars['ID']['output'];
|
|
399
431
|
position?: Maybe<Scalars['Int']['output']>;
|
|
400
432
|
};
|
|
401
433
|
|
|
402
434
|
export type AudienceSegmentConditionGroupInput = {
|
|
403
435
|
children: Array<AudienceSegmentConditionTreeNodeInput>;
|
|
404
|
-
groupOperator:
|
|
436
|
+
groupOperator: AudienceConditionGroupOperator;
|
|
405
437
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
406
438
|
};
|
|
407
439
|
|
|
408
440
|
export type AudienceSegmentConditionInput = {
|
|
441
|
+
/**
|
|
442
|
+
* Built-in codes: customer_created_at, event_count, first_seen_within,
|
|
443
|
+
* has_bought_product, has_event_type, in_customer_group, in_segment,
|
|
444
|
+
* not_in_segment, order_count, revenue_from_source, total_spend,
|
|
445
|
+
* utm_campaign_match, utm_source_match. Plugins may register more;
|
|
446
|
+
* unregistered codes are rejected at save time with the live list.
|
|
447
|
+
*/
|
|
409
448
|
conditionCode: Scalars['String']['input'];
|
|
410
449
|
dateValue?: InputMaybe<Scalars['DateTime']['input']>;
|
|
411
450
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -413,13 +452,18 @@ export type AudienceSegmentConditionInput = {
|
|
|
413
452
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
414
453
|
occurredAfter?: InputMaybe<Scalars['DateTime']['input']>;
|
|
415
454
|
occurredBefore?: InputMaybe<Scalars['DateTime']['input']>;
|
|
416
|
-
|
|
455
|
+
/**
|
|
456
|
+
* Not every code accepts every operator — presence-style conditions
|
|
457
|
+
* (has_event_type, first_seen_within) are `eq`-only; `in_range` reads
|
|
458
|
+
* intValue..intValueEnd.
|
|
459
|
+
*/
|
|
460
|
+
operator: AudienceConditionOperator;
|
|
417
461
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
418
462
|
propertyFilters?: InputMaybe<Array<AudienceSegmentConditionPropertyFilterInput>>;
|
|
419
463
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
420
464
|
stringValue?: InputMaybe<Scalars['String']['input']>;
|
|
421
465
|
windowLastCount?: InputMaybe<Scalars['Int']['input']>;
|
|
422
|
-
windowLastUnit?: InputMaybe<
|
|
466
|
+
windowLastUnit?: InputMaybe<AudienceConditionTimeWindowUnit>;
|
|
423
467
|
};
|
|
424
468
|
|
|
425
469
|
export type AudienceSegmentConditionPropertyFilter = {
|
|
@@ -428,7 +472,7 @@ export type AudienceSegmentConditionPropertyFilter = {
|
|
|
428
472
|
id: Scalars['ID']['output'];
|
|
429
473
|
intValue?: Maybe<Scalars['BigInt']['output']>;
|
|
430
474
|
intValueEnd?: Maybe<Scalars['BigInt']['output']>;
|
|
431
|
-
operator:
|
|
475
|
+
operator: AudiencePropertyFilterOperator;
|
|
432
476
|
position: Scalars['Int']['output'];
|
|
433
477
|
propertyPath: Scalars['String']['output'];
|
|
434
478
|
stringArrayValue?: Maybe<Array<Scalars['String']['output']>>;
|
|
@@ -440,7 +484,7 @@ export type AudienceSegmentConditionPropertyFilterInput = {
|
|
|
440
484
|
floatValue?: InputMaybe<Scalars['Float']['input']>;
|
|
441
485
|
intValue?: InputMaybe<Scalars['BigInt']['input']>;
|
|
442
486
|
intValueEnd?: InputMaybe<Scalars['BigInt']['input']>;
|
|
443
|
-
operator:
|
|
487
|
+
operator: AudiencePropertyFilterOperator;
|
|
444
488
|
position?: InputMaybe<Scalars['Int']['input']>;
|
|
445
489
|
propertyPath: Scalars['String']['input'];
|
|
446
490
|
stringArrayValue?: InputMaybe<Array<Scalars['String']['input']>>;
|