andoncloud-dashboard-toolkit 1.3.19 → 1.3.21

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.
@@ -43,12 +43,36 @@ export type Scalars = {
43
43
  input: number;
44
44
  output: number;
45
45
  };
46
+ /** An ISO 8601-encoded date */
47
+ ISO8601Date: {
48
+ input: any;
49
+ output: any;
50
+ };
51
+ /** An ISO 8601-encoded datetime */
52
+ ISO8601DateTime: {
53
+ input: any;
54
+ output: any;
55
+ };
46
56
  /** Represents untyped JSON */
47
57
  JSON: {
48
58
  input: any;
49
59
  output: any;
50
60
  };
51
61
  };
62
+ export type ActualStaffingCount = {
63
+ __typename?: 'ActualStaffingCount';
64
+ actualOperators: Scalars['Int']['output'];
65
+ date: Scalars['ISO8601Date']['output'];
66
+ hasDeviation: Scalars['Boolean']['output'];
67
+ plannedOperators?: Maybe<Scalars['Int']['output']>;
68
+ shift: Shift;
69
+ workplace: Workplace;
70
+ };
71
+ export type ActualStaffingCountFilter = {
72
+ date?: InputMaybe<Scalars['ISO8601Date']['input']>;
73
+ shift_id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
74
+ workplace_id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
75
+ };
52
76
  export declare enum AndonLightColor {
53
77
  Gray = "gray",
54
78
  Green = "green",
@@ -59,6 +83,14 @@ export type ApplicationInfo = {
59
83
  __typename?: 'ApplicationInfo';
60
84
  apiVersion: Scalars['String']['output'];
61
85
  };
86
+ export type BulkStaffingPlanInput = {
87
+ plans: Array<StaffingPlanInput>;
88
+ };
89
+ export type BulkUpdateStaffingPlansPayload = {
90
+ __typename?: 'BulkUpdateStaffingPlansPayload';
91
+ errors?: Maybe<Array<MutationError>>;
92
+ staffingPlans?: Maybe<Array<StaffingPlan>>;
93
+ };
62
94
  export type CompanyConfig = {
63
95
  __typename?: 'CompanyConfig';
64
96
  devicesConfigs: Array<DeviceConfig>;
@@ -413,6 +445,11 @@ export type CreateProductPayload = {
413
445
  errors?: Maybe<Array<MutationError>>;
414
446
  product?: Maybe<Product>;
415
447
  };
448
+ export type CreateStaffingPlanPayload = {
449
+ __typename?: 'CreateStaffingPlanPayload';
450
+ errors?: Maybe<Array<MutationError>>;
451
+ staffingPlan?: Maybe<StaffingPlan>;
452
+ };
416
453
  /** Autogenerated return type of CreateStatusChange */
417
454
  export type CreateStatusChangePayload = {
418
455
  __typename?: 'CreateStatusChangePayload';
@@ -692,9 +729,11 @@ export type MetricValue = {
692
729
  };
693
730
  export type Mutation = {
694
731
  __typename?: 'Mutation';
732
+ bulkUpdateStaffingPlans: BulkUpdateStaffingPlansPayload;
695
733
  createDashboard: CreateDashboardPayload;
696
734
  createOrder: CreateOrderPayload;
697
735
  createProduct: CreateProductPayload;
736
+ createStaffingPlan: CreateStaffingPlanPayload;
698
737
  createStatusChange: CreateStatusChangePayload;
699
738
  createUserPresence: CreateUserPresencePayload;
700
739
  createWidget: CreateWidgetPayload;
@@ -710,10 +749,14 @@ export type Mutation = {
710
749
  updateNotification: UpdateNotificationPayload;
711
750
  updateOrder: UpdateOrderPayload;
712
751
  updateOrderExecution: UpdateOrderExecutionPayload;
752
+ updateStaffingPlan: UpdateStaffingPlanPayload;
713
753
  updateStatusChange: UpdateStatusChangePayload;
714
754
  updateWidget: UpdateWidgetPayload;
715
755
  updateWorkOrder: UpdateWorkOrderPayload;
716
756
  };
757
+ export type MutationBulkUpdateStaffingPlansArgs = {
758
+ input: BulkStaffingPlanInput;
759
+ };
717
760
  export type MutationCreateDashboardArgs = {
718
761
  gridLayout?: InputMaybe<Scalars['String']['input']>;
719
762
  id: Scalars['ID']['input'];
@@ -728,6 +771,9 @@ export type MutationCreateProductArgs = {
728
771
  name?: InputMaybe<Scalars['String']['input']>;
729
772
  number: Scalars['String']['input'];
730
773
  };
774
+ export type MutationCreateStaffingPlanArgs = {
775
+ input: StaffingPlanInput;
776
+ };
731
777
  export type MutationCreateStatusChangeArgs = {
732
778
  id: Scalars['ID']['input'];
733
779
  note?: InputMaybe<Scalars['String']['input']>;
@@ -796,6 +842,10 @@ export type MutationUpdateOrderExecutionArgs = {
796
842
  id: Scalars['ID']['input'];
797
843
  standardRateId: Scalars['ID']['input'];
798
844
  };
845
+ export type MutationUpdateStaffingPlanArgs = {
846
+ id: Scalars['ID']['input'];
847
+ recommendedOperators: Scalars['Int']['input'];
848
+ };
799
849
  export type MutationUpdateStatusChangeArgs = {
800
850
  input: UpdateStatusChangeInput;
801
851
  };
@@ -1485,6 +1535,7 @@ export declare enum ProductionMode {
1485
1535
  }
1486
1536
  export type Query = {
1487
1537
  __typename?: 'Query';
1538
+ actualStaffingCounts: Array<ActualStaffingCount>;
1488
1539
  /** Returns application information, including the current API version. */
1489
1540
  applicationInfo: ApplicationInfo;
1490
1541
  /**
@@ -1590,6 +1641,7 @@ export type Query = {
1590
1641
  * used for scheduling, reporting, and tracking production activities.
1591
1642
  */
1592
1643
  shifts: Array<Shift>;
1644
+ staffingPlans: Array<StaffingPlan>;
1593
1645
  /**
1594
1646
  * Returns standard production rates defined for an order execution.
1595
1647
  * Standard rates specify expected output (e.g. good or bad pieces per hour,
@@ -1648,6 +1700,9 @@ export type Query = {
1648
1700
  */
1649
1701
  workplaces: Array<Workplace>;
1650
1702
  };
1703
+ export type QueryActualStaffingCountsArgs = {
1704
+ filter?: InputMaybe<ActualStaffingCountFilter>;
1705
+ };
1651
1706
  export type QueryCounterDirectoriesArgs = {
1652
1707
  filter?: InputMaybe<CounterDirectoryFilter>;
1653
1708
  };
@@ -1685,6 +1740,9 @@ export type QueryReasonsArgs = {
1685
1740
  export type QueryReasonsRecommendationArgs = {
1686
1741
  workplaceId: Scalars['String']['input'];
1687
1742
  };
1743
+ export type QueryStaffingPlansArgs = {
1744
+ filter?: InputMaybe<StaffingPlanFilter>;
1745
+ };
1688
1746
  export type QueryStandardRatesArgs = {
1689
1747
  orderExecutionId: Scalars['ID']['input'];
1690
1748
  };
@@ -1945,6 +2003,29 @@ export type Shift = {
1945
2003
  name: Scalars['String']['output'];
1946
2004
  startedAt: Scalars['String']['output'];
1947
2005
  };
2006
+ export type StaffingPlan = {
2007
+ __typename?: 'StaffingPlan';
2008
+ author: User;
2009
+ createdAt: Scalars['ISO8601DateTime']['output'];
2010
+ date: Scalars['ISO8601Date']['output'];
2011
+ id: Scalars['ID']['output'];
2012
+ recommendedOperators: Scalars['Int']['output'];
2013
+ shift: Shift;
2014
+ updatedAt: Scalars['ISO8601DateTime']['output'];
2015
+ workplace: Workplace;
2016
+ };
2017
+ export type StaffingPlanFilter = {
2018
+ date_from?: InputMaybe<Scalars['ISO8601Date']['input']>;
2019
+ date_to?: InputMaybe<Scalars['ISO8601Date']['input']>;
2020
+ shift_id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
2021
+ workplace_id_in?: InputMaybe<Array<Scalars['ID']['input']>>;
2022
+ };
2023
+ export type StaffingPlanInput = {
2024
+ date: Scalars['ISO8601Date']['input'];
2025
+ recommendedOperators: Scalars['Int']['input'];
2026
+ shiftId: Scalars['ID']['input'];
2027
+ workplaceId: Scalars['ID']['input'];
2028
+ };
1948
2029
  export type StandardRate = {
1949
2030
  __typename?: 'StandardRate';
1950
2031
  id: Scalars['ID']['output'];
@@ -2122,6 +2203,11 @@ export type UpdateOrderPayload = {
2122
2203
  errors?: Maybe<Array<MutationError>>;
2123
2204
  order?: Maybe<Order>;
2124
2205
  };
2206
+ export type UpdateStaffingPlanPayload = {
2207
+ __typename?: 'UpdateStaffingPlanPayload';
2208
+ errors?: Maybe<Array<MutationError>>;
2209
+ staffingPlan?: Maybe<StaffingPlan>;
2210
+ };
2125
2211
  export type UpdateStatusChangeInput = {
2126
2212
  authorId?: InputMaybe<Scalars['ID']['input']>;
2127
2213
  id: Scalars['ID']['input'];
@@ -2767,6 +2853,7 @@ export declare enum WorkOrderStatusEnum {
2767
2853
  }
2768
2854
  export type Workplace = {
2769
2855
  __typename?: 'Workplace';
2856
+ colorHex?: Maybe<Scalars['String']['output']>;
2770
2857
  currentStatusChange?: Maybe<StatusChange>;
2771
2858
  deactivated: Scalars['Boolean']['output'];
2772
2859
  departmentId?: Maybe<Scalars['String']['output']>;
@@ -3077,6 +3164,145 @@ export type WorkplaceFilter = {
3077
3164
  verify_existence_of_standard_rate_for_order_eq?: InputMaybe<Scalars['String']['input']>;
3078
3165
  verify_existence_of_standard_rate_for_order_equals?: InputMaybe<Scalars['String']['input']>;
3079
3166
  };
3167
+ export type BulkUpdateStaffingPlansMutationVariables = Exact<{
3168
+ input: BulkStaffingPlanInput;
3169
+ }>;
3170
+ export type BulkUpdateStaffingPlansMutation = {
3171
+ __typename?: 'Mutation';
3172
+ bulkUpdateStaffingPlans: {
3173
+ __typename?: 'BulkUpdateStaffingPlansPayload';
3174
+ errors?: Array<{
3175
+ __typename?: 'MutationError';
3176
+ field?: string | null;
3177
+ messages: Array<string>;
3178
+ }> | null;
3179
+ staffingPlans?: Array<{
3180
+ __typename?: 'StaffingPlan';
3181
+ id: string;
3182
+ date: any;
3183
+ recommendedOperators: number;
3184
+ createdAt: any;
3185
+ updatedAt: any;
3186
+ workplace: {
3187
+ __typename?: 'Workplace';
3188
+ colorHex?: string | null;
3189
+ deactivated: boolean;
3190
+ departmentId?: string | null;
3191
+ dtrUrl?: string | null;
3192
+ id: string;
3193
+ minOperators: number;
3194
+ name: string;
3195
+ reasonGroupId: string;
3196
+ reasonsRecommendationsEnabled: boolean;
3197
+ currentStatusChange?: {
3198
+ __typename?: 'StatusChange';
3199
+ finishedAt?: string | null;
3200
+ id: string;
3201
+ note?: string | null;
3202
+ reasonHasBeenRecommended: boolean;
3203
+ startedAt: string;
3204
+ workplaceId: string;
3205
+ author: {
3206
+ __typename?: 'User';
3207
+ id: string;
3208
+ login: string;
3209
+ name: string;
3210
+ };
3211
+ order?: {
3212
+ __typename?: 'Order';
3213
+ executedCount: number;
3214
+ finishedAt?: string | null;
3215
+ id: string;
3216
+ note?: string | null;
3217
+ number: string;
3218
+ plannedCount: number;
3219
+ position?: number | null;
3220
+ startedAt?: string | null;
3221
+ items: Array<{
3222
+ __typename?: 'Item';
3223
+ count: number;
3224
+ id: string;
3225
+ order: {
3226
+ __typename?: 'Order';
3227
+ executedCount: number;
3228
+ finishedAt?: string | null;
3229
+ id: string;
3230
+ note?: string | null;
3231
+ number: string;
3232
+ plannedCount: number;
3233
+ position?: number | null;
3234
+ startedAt?: string | null;
3235
+ workplaces: Array<{
3236
+ __typename?: 'Workplace';
3237
+ colorHex?: string | null;
3238
+ deactivated: boolean;
3239
+ departmentId?: string | null;
3240
+ dtrUrl?: string | null;
3241
+ id: string;
3242
+ minOperators: number;
3243
+ name: string;
3244
+ reasonGroupId: string;
3245
+ reasonsRecommendationsEnabled: boolean;
3246
+ currentStatusChange?: {
3247
+ __typename?: 'StatusChange';
3248
+ finishedAt?: string | null;
3249
+ id: string;
3250
+ note?: string | null;
3251
+ reasonHasBeenRecommended: boolean;
3252
+ startedAt: string;
3253
+ workplaceId: string;
3254
+ product?: {
3255
+ __typename?: 'Product';
3256
+ assemblyManual?: string | null;
3257
+ id: string;
3258
+ name?: string | null;
3259
+ number?: string | null;
3260
+ } | null;
3261
+ reason: {
3262
+ __typename?: 'Reason';
3263
+ acceptanceMonit: boolean;
3264
+ canBeRecommended: boolean;
3265
+ hasNote: boolean;
3266
+ id: string;
3267
+ isNoteRequired: boolean;
3268
+ leaf: boolean;
3269
+ name: string;
3270
+ parentId?: string | null;
3271
+ position: number;
3272
+ reasonGroupId: string;
3273
+ statusColor: AndonLightColor;
3274
+ temporary: boolean;
3275
+ };
3276
+ } | null;
3277
+ }>;
3278
+ };
3279
+ product?: {
3280
+ __typename?: 'Product';
3281
+ assemblyManual?: string | null;
3282
+ id: string;
3283
+ name?: string | null;
3284
+ number?: string | null;
3285
+ } | null;
3286
+ }>;
3287
+ } | null;
3288
+ } | null;
3289
+ };
3290
+ shift: {
3291
+ __typename?: 'Shift';
3292
+ finishedAt: string;
3293
+ id: string;
3294
+ name: string;
3295
+ startedAt: string;
3296
+ };
3297
+ author: {
3298
+ __typename?: 'User';
3299
+ id: string;
3300
+ login: string;
3301
+ name: string;
3302
+ };
3303
+ }> | null;
3304
+ };
3305
+ };
3080
3306
  export type CreateDashboardMutationVariables = Exact<{
3081
3307
  gridLayout?: InputMaybe<Scalars['String']['input']>;
3082
3308
  id: Scalars['ID']['input'];
@@ -3138,6 +3364,7 @@ export type CreateOrderMutation = {
3138
3364
  startedAt?: string | null;
3139
3365
  workplaces: Array<{
3140
3366
  __typename?: 'Workplace';
3367
+ colorHex?: string | null;
3141
3368
  deactivated: boolean;
3142
3369
  departmentId?: string | null;
3143
3370
  dtrUrl?: string | null;
@@ -3230,6 +3457,145 @@ export type CreateProductMutation = {
3230
3457
  } | null;
3231
3458
  };
3232
3459
  };
3460
+ export type CreateStaffingPlanMutationVariables = Exact<{
3461
+ input: StaffingPlanInput;
3462
+ }>;
3463
+ export type CreateStaffingPlanMutation = {
3464
+ __typename?: 'Mutation';
3465
+ createStaffingPlan: {
3466
+ __typename?: 'CreateStaffingPlanPayload';
3467
+ errors?: Array<{
3468
+ __typename?: 'MutationError';
3469
+ field?: string | null;
3470
+ messages: Array<string>;
3471
+ }> | null;
3472
+ staffingPlan?: {
3473
+ __typename?: 'StaffingPlan';
3474
+ id: string;
3475
+ date: any;
3476
+ recommendedOperators: number;
3477
+ createdAt: any;
3478
+ updatedAt: any;
3479
+ workplace: {
3480
+ __typename?: 'Workplace';
3481
+ colorHex?: string | null;
3482
+ deactivated: boolean;
3483
+ departmentId?: string | null;
3484
+ dtrUrl?: string | null;
3485
+ id: string;
3486
+ minOperators: number;
3487
+ name: string;
3488
+ reasonGroupId: string;
3489
+ reasonsRecommendationsEnabled: boolean;
3490
+ currentStatusChange?: {
3491
+ __typename?: 'StatusChange';
3492
+ finishedAt?: string | null;
3493
+ id: string;
3494
+ note?: string | null;
3495
+ reasonHasBeenRecommended: boolean;
3496
+ startedAt: string;
3497
+ workplaceId: string;
3498
+ author: {
3499
+ __typename?: 'User';
3500
+ id: string;
3501
+ login: string;
3502
+ name: string;
3503
+ };
3504
+ order?: {
3505
+ __typename?: 'Order';
3506
+ executedCount: number;
3507
+ finishedAt?: string | null;
3508
+ id: string;
3509
+ note?: string | null;
3510
+ number: string;
3511
+ plannedCount: number;
3512
+ position?: number | null;
3513
+ startedAt?: string | null;
3514
+ items: Array<{
3515
+ __typename?: 'Item';
3516
+ count: number;
3517
+ id: string;
3518
+ order: {
3519
+ __typename?: 'Order';
3520
+ executedCount: number;
3521
+ finishedAt?: string | null;
3522
+ id: string;
3523
+ note?: string | null;
3524
+ number: string;
3525
+ plannedCount: number;
3526
+ position?: number | null;
3527
+ startedAt?: string | null;
3528
+ workplaces: Array<{
3529
+ __typename?: 'Workplace';
3530
+ colorHex?: string | null;
3531
+ deactivated: boolean;
3532
+ departmentId?: string | null;
3533
+ dtrUrl?: string | null;
3534
+ id: string;
3535
+ minOperators: number;
3536
+ name: string;
3537
+ reasonGroupId: string;
3538
+ reasonsRecommendationsEnabled: boolean;
3539
+ currentStatusChange?: {
3540
+ __typename?: 'StatusChange';
3541
+ finishedAt?: string | null;
3542
+ id: string;
3543
+ note?: string | null;
3544
+ reasonHasBeenRecommended: boolean;
3545
+ startedAt: string;
3546
+ workplaceId: string;
3547
+ product?: {
3548
+ __typename?: 'Product';
3549
+ assemblyManual?: string | null;
3550
+ id: string;
3551
+ name?: string | null;
3552
+ number?: string | null;
3553
+ } | null;
3554
+ reason: {
3555
+ __typename?: 'Reason';
3556
+ acceptanceMonit: boolean;
3557
+ canBeRecommended: boolean;
3558
+ hasNote: boolean;
3559
+ id: string;
3560
+ isNoteRequired: boolean;
3561
+ leaf: boolean;
3562
+ name: string;
3563
+ parentId?: string | null;
3564
+ position: number;
3565
+ reasonGroupId: string;
3566
+ statusColor: AndonLightColor;
3567
+ temporary: boolean;
3568
+ };
3569
+ } | null;
3570
+ }>;
3571
+ };
3572
+ product?: {
3573
+ __typename?: 'Product';
3574
+ assemblyManual?: string | null;
3575
+ id: string;
3576
+ name?: string | null;
3577
+ number?: string | null;
3578
+ } | null;
3579
+ }>;
3580
+ } | null;
3581
+ } | null;
3582
+ };
3583
+ shift: {
3584
+ __typename?: 'Shift';
3585
+ finishedAt: string;
3586
+ id: string;
3587
+ name: string;
3588
+ startedAt: string;
3589
+ };
3590
+ author: {
3591
+ __typename?: 'User';
3592
+ id: string;
3593
+ login: string;
3594
+ name: string;
3595
+ };
3596
+ } | null;
3597
+ };
3598
+ };
3233
3599
  export type CreateStatusChangeMutationVariables = Exact<{
3234
3600
  id: Scalars['ID']['input'];
3235
3601
  note?: InputMaybe<Scalars['String']['input']>;
@@ -3288,6 +3654,7 @@ export type CreateStatusChangeMutation = {
3288
3654
  startedAt?: string | null;
3289
3655
  workplaces: Array<{
3290
3656
  __typename?: 'Workplace';
3657
+ colorHex?: string | null;
3291
3658
  deactivated: boolean;
3292
3659
  departmentId?: string | null;
3293
3660
  dtrUrl?: string | null;
@@ -3487,6 +3854,7 @@ export type PauseOrderExecutionMutation = {
3487
3854
  startedAt?: string | null;
3488
3855
  workplaces: Array<{
3489
3856
  __typename?: 'Workplace';
3857
+ colorHex?: string | null;
3490
3858
  deactivated: boolean;
3491
3859
  departmentId?: string | null;
3492
3860
  dtrUrl?: string | null;
@@ -3724,6 +4092,7 @@ export type StartOrderExecutionMutation = {
3724
4092
  startedAt?: string | null;
3725
4093
  workplaces: Array<{
3726
4094
  __typename?: 'Workplace';
4095
+ colorHex?: string | null;
3727
4096
  deactivated: boolean;
3728
4097
  departmentId?: string | null;
3729
4098
  dtrUrl?: string | null;
@@ -3872,6 +4241,7 @@ export type StopOrderExecutionMutation = {
3872
4241
  startedAt?: string | null;
3873
4242
  workplaces: Array<{
3874
4243
  __typename?: 'Workplace';
4244
+ colorHex?: string | null;
3875
4245
  deactivated: boolean;
3876
4246
  departmentId?: string | null;
3877
4247
  dtrUrl?: string | null;
@@ -4055,6 +4425,7 @@ export type UpdateOrderMutation = {
4055
4425
  startedAt?: string | null;
4056
4426
  workplaces: Array<{
4057
4427
  __typename?: 'Workplace';
4428
+ colorHex?: string | null;
4058
4429
  deactivated: boolean;
4059
4430
  departmentId?: string | null;
4060
4431
  dtrUrl?: string | null;
@@ -4176,6 +4547,7 @@ export type UpdateOrderExecutionMutation = {
4176
4547
  startedAt?: string | null;
4177
4548
  workplaces: Array<{
4178
4549
  __typename?: 'Workplace';
4550
+ colorHex?: string | null;
4179
4551
  deactivated: boolean;
4180
4552
  departmentId?: string | null;
4181
4553
  dtrUrl?: string | null;
@@ -4272,47 +4644,187 @@ export type UpdateOrderExecutionMutation = {
4272
4644
  } | null;
4273
4645
  };
4274
4646
  };
4275
- export type UpdateStatusChangeMutationVariables = Exact<{
4276
- input: UpdateStatusChangeInput;
4647
+ export type UpdateStaffingPlanMutationVariables = Exact<{
4648
+ id: Scalars['ID']['input'];
4649
+ recommendedOperators: Scalars['Int']['input'];
4277
4650
  }>;
4278
- export type UpdateStatusChangeMutation = {
4651
+ export type UpdateStaffingPlanMutation = {
4279
4652
  __typename?: 'Mutation';
4280
- updateStatusChange: {
4281
- __typename?: 'UpdateStatusChangePayload';
4653
+ updateStaffingPlan: {
4654
+ __typename?: 'UpdateStaffingPlanPayload';
4282
4655
  errors?: Array<{
4283
4656
  __typename?: 'MutationError';
4284
4657
  field?: string | null;
4285
4658
  messages: Array<string>;
4286
4659
  }> | null;
4287
- statusChange?: {
4288
- __typename?: 'StatusChange';
4289
- finishedAt?: string | null;
4660
+ staffingPlan?: {
4661
+ __typename?: 'StaffingPlan';
4290
4662
  id: string;
4291
- note?: string | null;
4292
- reasonHasBeenRecommended: boolean;
4293
- startedAt: string;
4294
- workplaceId: string;
4295
- author: {
4296
- __typename?: 'User';
4663
+ date: any;
4664
+ recommendedOperators: number;
4665
+ createdAt: any;
4666
+ updatedAt: any;
4667
+ workplace: {
4668
+ __typename?: 'Workplace';
4669
+ colorHex?: string | null;
4670
+ deactivated: boolean;
4671
+ departmentId?: string | null;
4672
+ dtrUrl?: string | null;
4297
4673
  id: string;
4298
- login: string;
4674
+ minOperators: number;
4299
4675
  name: string;
4300
- };
4301
- order?: {
4302
- __typename?: 'Order';
4303
- executedCount: number;
4304
- finishedAt?: string | null;
4305
- id: string;
4306
- note?: string | null;
4307
- number: string;
4308
- plannedCount: number;
4309
- position?: number | null;
4310
- startedAt?: string | null;
4311
- items: Array<{
4312
- __typename?: 'Item';
4313
- count: number;
4676
+ reasonGroupId: string;
4677
+ reasonsRecommendationsEnabled: boolean;
4678
+ currentStatusChange?: {
4679
+ __typename?: 'StatusChange';
4680
+ finishedAt?: string | null;
4314
4681
  id: string;
4315
- order: {
4682
+ note?: string | null;
4683
+ reasonHasBeenRecommended: boolean;
4684
+ startedAt: string;
4685
+ workplaceId: string;
4686
+ author: {
4687
+ __typename?: 'User';
4688
+ id: string;
4689
+ login: string;
4690
+ name: string;
4691
+ };
4692
+ order?: {
4693
+ __typename?: 'Order';
4694
+ executedCount: number;
4695
+ finishedAt?: string | null;
4696
+ id: string;
4697
+ note?: string | null;
4698
+ number: string;
4699
+ plannedCount: number;
4700
+ position?: number | null;
4701
+ startedAt?: string | null;
4702
+ items: Array<{
4703
+ __typename?: 'Item';
4704
+ count: number;
4705
+ id: string;
4706
+ order: {
4707
+ __typename?: 'Order';
4708
+ executedCount: number;
4709
+ finishedAt?: string | null;
4710
+ id: string;
4711
+ note?: string | null;
4712
+ number: string;
4713
+ plannedCount: number;
4714
+ position?: number | null;
4715
+ startedAt?: string | null;
4716
+ workplaces: Array<{
4717
+ __typename?: 'Workplace';
4718
+ colorHex?: string | null;
4719
+ deactivated: boolean;
4720
+ departmentId?: string | null;
4721
+ dtrUrl?: string | null;
4722
+ id: string;
4723
+ minOperators: number;
4724
+ name: string;
4725
+ reasonGroupId: string;
4726
+ reasonsRecommendationsEnabled: boolean;
4727
+ currentStatusChange?: {
4728
+ __typename?: 'StatusChange';
4729
+ finishedAt?: string | null;
4730
+ id: string;
4731
+ note?: string | null;
4732
+ reasonHasBeenRecommended: boolean;
4733
+ startedAt: string;
4734
+ workplaceId: string;
4735
+ product?: {
4736
+ __typename?: 'Product';
4737
+ assemblyManual?: string | null;
4738
+ id: string;
4739
+ name?: string | null;
4740
+ number?: string | null;
4741
+ } | null;
4742
+ reason: {
4743
+ __typename?: 'Reason';
4744
+ acceptanceMonit: boolean;
4745
+ canBeRecommended: boolean;
4746
+ hasNote: boolean;
4747
+ id: string;
4748
+ isNoteRequired: boolean;
4749
+ leaf: boolean;
4750
+ name: string;
4751
+ parentId?: string | null;
4752
+ position: number;
4753
+ reasonGroupId: string;
4754
+ statusColor: AndonLightColor;
4755
+ temporary: boolean;
4756
+ };
4757
+ } | null;
4758
+ }>;
4759
+ };
4760
+ product?: {
4761
+ __typename?: 'Product';
4762
+ assemblyManual?: string | null;
4763
+ id: string;
4764
+ name?: string | null;
4765
+ number?: string | null;
4766
+ } | null;
4767
+ }>;
4768
+ } | null;
4769
+ } | null;
4770
+ };
4771
+ shift: {
4772
+ __typename?: 'Shift';
4773
+ finishedAt: string;
4774
+ id: string;
4775
+ name: string;
4776
+ startedAt: string;
4777
+ };
4778
+ author: {
4779
+ __typename?: 'User';
4780
+ id: string;
4781
+ login: string;
4782
+ name: string;
4783
+ };
4784
+ } | null;
4785
+ };
4786
+ };
4787
+ export type UpdateStatusChangeMutationVariables = Exact<{
4788
+ input: UpdateStatusChangeInput;
4789
+ }>;
4790
+ export type UpdateStatusChangeMutation = {
4791
+ __typename?: 'Mutation';
4792
+ updateStatusChange: {
4793
+ __typename?: 'UpdateStatusChangePayload';
4794
+ errors?: Array<{
4795
+ __typename?: 'MutationError';
4796
+ field?: string | null;
4797
+ messages: Array<string>;
4798
+ }> | null;
4799
+ statusChange?: {
4800
+ __typename?: 'StatusChange';
4801
+ finishedAt?: string | null;
4802
+ id: string;
4803
+ note?: string | null;
4804
+ reasonHasBeenRecommended: boolean;
4805
+ startedAt: string;
4806
+ workplaceId: string;
4807
+ author: {
4808
+ __typename?: 'User';
4809
+ id: string;
4810
+ login: string;
4811
+ name: string;
4812
+ };
4813
+ order?: {
4814
+ __typename?: 'Order';
4815
+ executedCount: number;
4816
+ finishedAt?: string | null;
4817
+ id: string;
4818
+ note?: string | null;
4819
+ number: string;
4820
+ plannedCount: number;
4821
+ position?: number | null;
4822
+ startedAt?: string | null;
4823
+ items: Array<{
4824
+ __typename?: 'Item';
4825
+ count: number;
4826
+ id: string;
4827
+ order: {
4316
4828
  __typename?: 'Order';
4317
4829
  executedCount: number;
4318
4830
  finishedAt?: string | null;
@@ -4324,6 +4836,7 @@ export type UpdateStatusChangeMutation = {
4324
4836
  startedAt?: string | null;
4325
4837
  workplaces: Array<{
4326
4838
  __typename?: 'Workplace';
4839
+ colorHex?: string | null;
4327
4840
  deactivated: boolean;
4328
4841
  departmentId?: string | null;
4329
4842
  dtrUrl?: string | null;
@@ -4485,6 +4998,7 @@ export type UpdateWorkOrderMutation = {
4485
4998
  } | null;
4486
4999
  workplaces: Array<{
4487
5000
  __typename?: 'Workplace';
5001
+ colorHex?: string | null;
4488
5002
  deactivated: boolean;
4489
5003
  departmentId?: string | null;
4490
5004
  dtrUrl?: string | null;
@@ -4533,6 +5047,7 @@ export type UpdateWorkOrderMutation = {
4533
5047
  startedAt?: string | null;
4534
5048
  workplaces: Array<{
4535
5049
  __typename?: 'Workplace';
5050
+ colorHex?: string | null;
4536
5051
  deactivated: boolean;
4537
5052
  departmentId?: string | null;
4538
5053
  dtrUrl?: string | null;
@@ -4579,6 +5094,130 @@ export type UpdateWorkOrderMutation = {
4579
5094
  } | null;
4580
5095
  };
4581
5096
  };
5097
+ export type ActualStaffingCountsQueryVariables = Exact<{
5098
+ filter?: InputMaybe<ActualStaffingCountFilter>;
5099
+ }>;
5100
+ export type ActualStaffingCountsQuery = {
5101
+ __typename?: 'Query';
5102
+ actualStaffingCounts: Array<{
5103
+ __typename?: 'ActualStaffingCount';
5104
+ date: any;
5105
+ actualOperators: number;
5106
+ plannedOperators?: number | null;
5107
+ hasDeviation: boolean;
5108
+ workplace: {
5109
+ __typename?: 'Workplace';
5110
+ colorHex?: string | null;
5111
+ deactivated: boolean;
5112
+ departmentId?: string | null;
5113
+ dtrUrl?: string | null;
5114
+ id: string;
5115
+ minOperators: number;
5116
+ name: string;
5117
+ reasonGroupId: string;
5118
+ reasonsRecommendationsEnabled: boolean;
5119
+ currentStatusChange?: {
5120
+ __typename?: 'StatusChange';
5121
+ finishedAt?: string | null;
5122
+ id: string;
5123
+ note?: string | null;
5124
+ reasonHasBeenRecommended: boolean;
5125
+ startedAt: string;
5126
+ workplaceId: string;
5127
+ author: {
5128
+ __typename?: 'User';
5129
+ id: string;
5130
+ login: string;
5131
+ name: string;
5132
+ };
5133
+ order?: {
5134
+ __typename?: 'Order';
5135
+ executedCount: number;
5136
+ finishedAt?: string | null;
5137
+ id: string;
5138
+ note?: string | null;
5139
+ number: string;
5140
+ plannedCount: number;
5141
+ position?: number | null;
5142
+ startedAt?: string | null;
5143
+ items: Array<{
5144
+ __typename?: 'Item';
5145
+ count: number;
5146
+ id: string;
5147
+ order: {
5148
+ __typename?: 'Order';
5149
+ executedCount: number;
5150
+ finishedAt?: string | null;
5151
+ id: string;
5152
+ note?: string | null;
5153
+ number: string;
5154
+ plannedCount: number;
5155
+ position?: number | null;
5156
+ startedAt?: string | null;
5157
+ workplaces: Array<{
5158
+ __typename?: 'Workplace';
5159
+ colorHex?: string | null;
5160
+ deactivated: boolean;
5161
+ departmentId?: string | null;
5162
+ dtrUrl?: string | null;
5163
+ id: string;
5164
+ minOperators: number;
5165
+ name: string;
5166
+ reasonGroupId: string;
5167
+ reasonsRecommendationsEnabled: boolean;
5168
+ currentStatusChange?: {
5169
+ __typename?: 'StatusChange';
5170
+ finishedAt?: string | null;
5171
+ id: string;
5172
+ note?: string | null;
5173
+ reasonHasBeenRecommended: boolean;
5174
+ startedAt: string;
5175
+ workplaceId: string;
5176
+ product?: {
5177
+ __typename?: 'Product';
5178
+ assemblyManual?: string | null;
5179
+ id: string;
5180
+ name?: string | null;
5181
+ number?: string | null;
5182
+ } | null;
5183
+ reason: {
5184
+ __typename?: 'Reason';
5185
+ acceptanceMonit: boolean;
5186
+ canBeRecommended: boolean;
5187
+ hasNote: boolean;
5188
+ id: string;
5189
+ isNoteRequired: boolean;
5190
+ leaf: boolean;
5191
+ name: string;
5192
+ parentId?: string | null;
5193
+ position: number;
5194
+ reasonGroupId: string;
5195
+ statusColor: AndonLightColor;
5196
+ temporary: boolean;
5197
+ };
5198
+ } | null;
5199
+ }>;
5200
+ };
5201
+ product?: {
5202
+ __typename?: 'Product';
5203
+ assemblyManual?: string | null;
5204
+ id: string;
5205
+ name?: string | null;
5206
+ number?: string | null;
5207
+ } | null;
5208
+ }>;
5209
+ } | null;
5210
+ } | null;
5211
+ };
5212
+ shift: {
5213
+ __typename?: 'Shift';
5214
+ finishedAt: string;
5215
+ id: string;
5216
+ name: string;
5217
+ startedAt: string;
5218
+ };
5219
+ }>;
5220
+ };
4582
5221
  export type ApplicationInfoQueryVariables = Exact<{
4583
5222
  [key: string]: never;
4584
5223
  }>;
@@ -4831,6 +5470,7 @@ export type OrdersQuery = {
4831
5470
  }>;
4832
5471
  workplaces: Array<{
4833
5472
  __typename?: 'Workplace';
5473
+ colorHex?: string | null;
4834
5474
  deactivated: boolean;
4835
5475
  departmentId?: string | null;
4836
5476
  dtrUrl?: string | null;
@@ -4892,6 +5532,7 @@ export type OrdersQuery = {
4892
5532
  }>;
4893
5533
  workplaces: Array<{
4894
5534
  __typename?: 'Workplace';
5535
+ colorHex?: string | null;
4895
5536
  deactivated: boolean;
4896
5537
  departmentId?: string | null;
4897
5538
  dtrUrl?: string | null;
@@ -4947,6 +5588,7 @@ export type OrdersExecutionsQuery = {
4947
5588
  startedAt?: string | null;
4948
5589
  workplaces: Array<{
4949
5590
  __typename?: 'Workplace';
5591
+ colorHex?: string | null;
4950
5592
  deactivated: boolean;
4951
5593
  departmentId?: string | null;
4952
5594
  dtrUrl?: string | null;
@@ -5114,6 +5756,137 @@ export type ShiftsQuery = {
5114
5756
  startedAt: string;
5115
5757
  }>;
5116
5758
  };
5759
+ export type StaffingPlansQueryVariables = Exact<{
5760
+ filter?: InputMaybe<StaffingPlanFilter>;
5761
+ }>;
5762
+ export type StaffingPlansQuery = {
5763
+ __typename?: 'Query';
5764
+ staffingPlans: Array<{
5765
+ __typename?: 'StaffingPlan';
5766
+ id: string;
5767
+ date: any;
5768
+ recommendedOperators: number;
5769
+ createdAt: any;
5770
+ updatedAt: any;
5771
+ workplace: {
5772
+ __typename?: 'Workplace';
5773
+ colorHex?: string | null;
5774
+ deactivated: boolean;
5775
+ departmentId?: string | null;
5776
+ dtrUrl?: string | null;
5777
+ id: string;
5778
+ minOperators: number;
5779
+ name: string;
5780
+ reasonGroupId: string;
5781
+ reasonsRecommendationsEnabled: boolean;
5782
+ currentStatusChange?: {
5783
+ __typename?: 'StatusChange';
5784
+ finishedAt?: string | null;
5785
+ id: string;
5786
+ note?: string | null;
5787
+ reasonHasBeenRecommended: boolean;
5788
+ startedAt: string;
5789
+ workplaceId: string;
5790
+ author: {
5791
+ __typename?: 'User';
5792
+ id: string;
5793
+ login: string;
5794
+ name: string;
5795
+ };
5796
+ order?: {
5797
+ __typename?: 'Order';
5798
+ executedCount: number;
5799
+ finishedAt?: string | null;
5800
+ id: string;
5801
+ note?: string | null;
5802
+ number: string;
5803
+ plannedCount: number;
5804
+ position?: number | null;
5805
+ startedAt?: string | null;
5806
+ items: Array<{
5807
+ __typename?: 'Item';
5808
+ count: number;
5809
+ id: string;
5810
+ order: {
5811
+ __typename?: 'Order';
5812
+ executedCount: number;
5813
+ finishedAt?: string | null;
5814
+ id: string;
5815
+ note?: string | null;
5816
+ number: string;
5817
+ plannedCount: number;
5818
+ position?: number | null;
5819
+ startedAt?: string | null;
5820
+ workplaces: Array<{
5821
+ __typename?: 'Workplace';
5822
+ colorHex?: string | null;
5823
+ deactivated: boolean;
5824
+ departmentId?: string | null;
5825
+ dtrUrl?: string | null;
5826
+ id: string;
5827
+ minOperators: number;
5828
+ name: string;
5829
+ reasonGroupId: string;
5830
+ reasonsRecommendationsEnabled: boolean;
5831
+ currentStatusChange?: {
5832
+ __typename?: 'StatusChange';
5833
+ finishedAt?: string | null;
5834
+ id: string;
5835
+ note?: string | null;
5836
+ reasonHasBeenRecommended: boolean;
5837
+ startedAt: string;
5838
+ workplaceId: string;
5839
+ product?: {
5840
+ __typename?: 'Product';
5841
+ assemblyManual?: string | null;
5842
+ id: string;
5843
+ name?: string | null;
5844
+ number?: string | null;
5845
+ } | null;
5846
+ reason: {
5847
+ __typename?: 'Reason';
5848
+ acceptanceMonit: boolean;
5849
+ canBeRecommended: boolean;
5850
+ hasNote: boolean;
5851
+ id: string;
5852
+ isNoteRequired: boolean;
5853
+ leaf: boolean;
5854
+ name: string;
5855
+ parentId?: string | null;
5856
+ position: number;
5857
+ reasonGroupId: string;
5858
+ statusColor: AndonLightColor;
5859
+ temporary: boolean;
5860
+ };
5861
+ } | null;
5862
+ }>;
5863
+ };
5864
+ product?: {
5865
+ __typename?: 'Product';
5866
+ assemblyManual?: string | null;
5867
+ id: string;
5868
+ name?: string | null;
5869
+ number?: string | null;
5870
+ } | null;
5871
+ }>;
5872
+ } | null;
5873
+ } | null;
5874
+ };
5875
+ shift: {
5876
+ __typename?: 'Shift';
5877
+ finishedAt: string;
5878
+ id: string;
5879
+ name: string;
5880
+ startedAt: string;
5881
+ };
5882
+ author: {
5883
+ __typename?: 'User';
5884
+ id: string;
5885
+ login: string;
5886
+ name: string;
5887
+ };
5888
+ }>;
5889
+ };
5117
5890
  export type StandardRatesQueryVariables = Exact<{
5118
5891
  orderExecutionId: Scalars['ID']['input'];
5119
5892
  }>;
@@ -5183,6 +5956,7 @@ export type StatusChangesQuery = {
5183
5956
  startedAt?: string | null;
5184
5957
  workplaces: Array<{
5185
5958
  __typename?: 'Workplace';
5959
+ colorHex?: string | null;
5186
5960
  deactivated: boolean;
5187
5961
  departmentId?: string | null;
5188
5962
  dtrUrl?: string | null;
@@ -5374,6 +6148,7 @@ export type WorkOrdersQuery = {
5374
6148
  } | null;
5375
6149
  workplaces: Array<{
5376
6150
  __typename?: 'Workplace';
6151
+ colorHex?: string | null;
5377
6152
  deactivated: boolean;
5378
6153
  departmentId?: string | null;
5379
6154
  dtrUrl?: string | null;
@@ -5422,6 +6197,7 @@ export type WorkOrdersQuery = {
5422
6197
  startedAt?: string | null;
5423
6198
  workplaces: Array<{
5424
6199
  __typename?: 'Workplace';
6200
+ colorHex?: string | null;
5425
6201
  deactivated: boolean;
5426
6202
  departmentId?: string | null;
5427
6203
  dtrUrl?: string | null;
@@ -5474,6 +6250,7 @@ export type WorkplacesQuery = {
5474
6250
  __typename?: 'Query';
5475
6251
  workplaces: Array<{
5476
6252
  __typename?: 'Workplace';
6253
+ colorHex?: string | null;
5477
6254
  deactivated: boolean;
5478
6255
  departmentId?: string | null;
5479
6256
  dtrUrl?: string | null;
@@ -5522,6 +6299,7 @@ export type WorkplacesQuery = {
5522
6299
  startedAt?: string | null;
5523
6300
  workplaces: Array<{
5524
6301
  __typename?: 'Workplace';
6302
+ colorHex?: string | null;
5525
6303
  deactivated: boolean;
5526
6304
  departmentId?: string | null;
5527
6305
  dtrUrl?: string | null;
@@ -5566,6 +6344,52 @@ export type WorkplacesQuery = {
5566
6344
  } | null;
5567
6345
  }>;
5568
6346
  };
6347
+ export type ListActualStaffingCountsQueryVariables = Exact<{
6348
+ filter?: InputMaybe<ActualStaffingCountFilter>;
6349
+ }>;
6350
+ export type ListActualStaffingCountsQuery = {
6351
+ __typename?: 'Query';
6352
+ actualStaffingCounts: Array<{
6353
+ __typename?: 'ActualStaffingCount';
6354
+ date: any;
6355
+ actualOperators: number;
6356
+ plannedOperators?: number | null;
6357
+ hasDeviation: boolean;
6358
+ workplace: {
6359
+ __typename?: 'Workplace';
6360
+ id: string;
6361
+ name: string;
6362
+ };
6363
+ shift: {
6364
+ __typename?: 'Shift';
6365
+ id: string;
6366
+ name: string;
6367
+ };
6368
+ }>;
6369
+ };
6370
+ export type ListStaffingPlansQueryVariables = Exact<{
6371
+ filter?: InputMaybe<StaffingPlanFilter>;
6372
+ }>;
6373
+ export type ListStaffingPlansQuery = {
6374
+ __typename?: 'Query';
6375
+ staffingPlans: Array<{
6376
+ __typename?: 'StaffingPlan';
6377
+ id: string;
6378
+ date: any;
6379
+ recommendedOperators: number;
6380
+ workplace: {
6381
+ __typename?: 'Workplace';
6382
+ id: string;
6383
+ name: string;
6384
+ colorHex?: string | null;
6385
+ };
6386
+ shift: {
6387
+ __typename?: 'Shift';
6388
+ id: string;
6389
+ name: string;
6390
+ };
6391
+ }>;
6392
+ };
5569
6393
  export type ListStatusChangesQueryVariables = Exact<{
5570
6394
  filter?: InputMaybe<StatusChangeFilter>;
5571
6395
  }>;
@@ -5852,9 +6676,11 @@ export type WorkplaceEventSubscription = {
5852
6676
  } | null;
5853
6677
  };
5854
6678
  };
6679
+ export declare const BulkUpdateStaffingPlansDocument: import("graphql/language/ast").DocumentNode;
5855
6680
  export declare const CreateDashboardDocument: import("graphql/language/ast").DocumentNode;
5856
6681
  export declare const CreateOrderDocument: import("graphql/language/ast").DocumentNode;
5857
6682
  export declare const CreateProductDocument: import("graphql/language/ast").DocumentNode;
6683
+ export declare const CreateStaffingPlanDocument: import("graphql/language/ast").DocumentNode;
5858
6684
  export declare const CreateStatusChangeDocument: import("graphql/language/ast").DocumentNode;
5859
6685
  export declare const CreateUserPresenceDocument: import("graphql/language/ast").DocumentNode;
5860
6686
  export declare const CreateWidgetDocument: import("graphql/language/ast").DocumentNode;
@@ -5870,9 +6696,11 @@ export declare const UpdateDashboardDocument: import("graphql/language/ast").Doc
5870
6696
  export declare const UpdateNotificationDocument: import("graphql/language/ast").DocumentNode;
5871
6697
  export declare const UpdateOrderDocument: import("graphql/language/ast").DocumentNode;
5872
6698
  export declare const UpdateOrderExecutionDocument: import("graphql/language/ast").DocumentNode;
6699
+ export declare const UpdateStaffingPlanDocument: import("graphql/language/ast").DocumentNode;
5873
6700
  export declare const UpdateStatusChangeDocument: import("graphql/language/ast").DocumentNode;
5874
6701
  export declare const UpdateWidgetDocument: import("graphql/language/ast").DocumentNode;
5875
6702
  export declare const UpdateWorkOrderDocument: import("graphql/language/ast").DocumentNode;
6703
+ export declare const ActualStaffingCountsDocument: import("graphql/language/ast").DocumentNode;
5876
6704
  export declare const ApplicationInfoDocument: import("graphql/language/ast").DocumentNode;
5877
6705
  export declare const CompanyConfigDocument: import("graphql/language/ast").DocumentNode;
5878
6706
  export declare const CounterDirectoriesDocument: import("graphql/language/ast").DocumentNode;
@@ -5890,6 +6718,7 @@ export declare const ProductsDocument: import("graphql/language/ast").DocumentNo
5890
6718
  export declare const ReasonsDocument: import("graphql/language/ast").DocumentNode;
5891
6719
  export declare const ReasonsRecommendationDocument: import("graphql/language/ast").DocumentNode;
5892
6720
  export declare const ShiftsDocument: import("graphql/language/ast").DocumentNode;
6721
+ export declare const StaffingPlansDocument: import("graphql/language/ast").DocumentNode;
5893
6722
  export declare const StandardRatesDocument: import("graphql/language/ast").DocumentNode;
5894
6723
  export declare const StatusChangeTransitionPermissionsDocument: import("graphql/language/ast").DocumentNode;
5895
6724
  export declare const StatusChangesDocument: import("graphql/language/ast").DocumentNode;
@@ -5899,15 +6728,19 @@ export declare const WidgetDocument: import("graphql/language/ast").DocumentNode
5899
6728
  export declare const WidgetsDocument: import("graphql/language/ast").DocumentNode;
5900
6729
  export declare const WorkOrdersDocument: import("graphql/language/ast").DocumentNode;
5901
6730
  export declare const WorkplacesDocument: import("graphql/language/ast").DocumentNode;
6731
+ export declare const ListActualStaffingCountsDocument: import("graphql/language/ast").DocumentNode;
6732
+ export declare const ListStaffingPlansDocument: import("graphql/language/ast").DocumentNode;
5902
6733
  export declare const ListStatusChangesDocument: import("graphql/language/ast").DocumentNode;
5903
6734
  export declare const ListWorkOrdersDocument: import("graphql/language/ast").DocumentNode;
5904
6735
  export declare const ListWorkplacesDocument: import("graphql/language/ast").DocumentNode;
5905
6736
  export declare const WorkplaceEventDocument: import("graphql/language/ast").DocumentNode;
5906
6737
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
5907
6738
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6739
+ bulkUpdateStaffingPlans(variables: BulkUpdateStaffingPlansMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<BulkUpdateStaffingPlansMutation>;
5908
6740
  createDashboard(variables: CreateDashboardMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDashboardMutation>;
5909
6741
  createOrder(variables: CreateOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrderMutation>;
5910
6742
  createProduct(variables: CreateProductMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateProductMutation>;
6743
+ createStaffingPlan(variables: CreateStaffingPlanMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStaffingPlanMutation>;
5911
6744
  createStatusChange(variables: CreateStatusChangeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStatusChangeMutation>;
5912
6745
  createUserPresence(variables: CreateUserPresenceMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateUserPresenceMutation>;
5913
6746
  createWidget(variables: CreateWidgetMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateWidgetMutation>;
@@ -5923,9 +6756,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5923
6756
  updateNotification(variables: UpdateNotificationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateNotificationMutation>;
5924
6757
  updateOrder(variables: UpdateOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateOrderMutation>;
5925
6758
  updateOrderExecution(variables: UpdateOrderExecutionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateOrderExecutionMutation>;
6759
+ updateStaffingPlan(variables: UpdateStaffingPlanMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateStaffingPlanMutation>;
5926
6760
  updateStatusChange(variables: UpdateStatusChangeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateStatusChangeMutation>;
5927
6761
  updateWidget(variables: UpdateWidgetMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateWidgetMutation>;
5928
6762
  updateWorkOrder(variables: UpdateWorkOrderMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateWorkOrderMutation>;
6763
+ actualStaffingCounts(variables?: ActualStaffingCountsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ActualStaffingCountsQuery>;
5929
6764
  applicationInfo(variables?: ApplicationInfoQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApplicationInfoQuery>;
5930
6765
  companyConfig(variables?: CompanyConfigQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CompanyConfigQuery>;
5931
6766
  counterDirectories(variables?: CounterDirectoriesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CounterDirectoriesQuery>;
@@ -5943,6 +6778,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5943
6778
  reasons(variables?: ReasonsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ReasonsQuery>;
5944
6779
  reasonsRecommendation(variables: ReasonsRecommendationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ReasonsRecommendationQuery>;
5945
6780
  shifts(variables?: ShiftsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ShiftsQuery>;
6781
+ staffingPlans(variables?: StaffingPlansQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StaffingPlansQuery>;
5946
6782
  standardRates(variables: StandardRatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StandardRatesQuery>;
5947
6783
  statusChangeTransitionPermissions(variables?: StatusChangeTransitionPermissionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StatusChangeTransitionPermissionsQuery>;
5948
6784
  statusChanges(variables?: StatusChangesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<StatusChangesQuery>;
@@ -5952,6 +6788,8 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5952
6788
  widgets(variables?: WidgetsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<WidgetsQuery>;
5953
6789
  workOrders(variables?: WorkOrdersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<WorkOrdersQuery>;
5954
6790
  workplaces(variables?: WorkplacesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<WorkplacesQuery>;
6791
+ listActualStaffingCounts(variables?: ListActualStaffingCountsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListActualStaffingCountsQuery>;
6792
+ listStaffingPlans(variables?: ListStaffingPlansQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListStaffingPlansQuery>;
5955
6793
  listStatusChanges(variables?: ListStatusChangesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListStatusChangesQuery>;
5956
6794
  listWorkOrders(variables?: ListWorkOrdersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListWorkOrdersQuery>;
5957
6795
  listWorkplaces(variables?: ListWorkplacesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListWorkplacesQuery>;