@seamapi/types 1.681.0 → 1.683.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.
@@ -373,15 +373,15 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
373
373
  is_access_code_error: z.ZodLiteral<true>;
374
374
  created_at: z.ZodOptional<z.ZodString>;
375
375
  } & {
376
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
376
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
377
377
  }, "strip", z.ZodTypeAny, {
378
378
  message: string;
379
- error_code: "dormakaba_oracode_no_valid_user_level";
379
+ error_code: "dormakaba_oracode_invalid_time_range";
380
380
  is_access_code_error: true;
381
381
  created_at?: string | undefined;
382
382
  }, {
383
383
  message: string;
384
- error_code: "dormakaba_oracode_no_valid_user_level";
384
+ error_code: "dormakaba_oracode_invalid_time_range";
385
385
  is_access_code_error: true;
386
386
  created_at?: string | undefined;
387
387
  }>, z.ZodObject<{
@@ -973,15 +973,15 @@ declare const access_code: z.ZodObject<{
973
973
  is_access_code_error: z.ZodLiteral<true>;
974
974
  created_at: z.ZodOptional<z.ZodString>;
975
975
  } & {
976
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
976
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
977
977
  }, "strip", z.ZodTypeAny, {
978
978
  message: string;
979
- error_code: "dormakaba_oracode_no_valid_user_level";
979
+ error_code: "dormakaba_oracode_invalid_time_range";
980
980
  is_access_code_error: true;
981
981
  created_at?: string | undefined;
982
982
  }, {
983
983
  message: string;
984
- error_code: "dormakaba_oracode_no_valid_user_level";
984
+ error_code: "dormakaba_oracode_invalid_time_range";
985
985
  is_access_code_error: true;
986
986
  created_at?: string | undefined;
987
987
  }>, z.ZodObject<{
@@ -1760,7 +1760,7 @@ declare const access_code: z.ZodObject<{
1760
1760
  created_at?: string | undefined;
1761
1761
  } | {
1762
1762
  message: string;
1763
- error_code: "dormakaba_oracode_no_valid_user_level";
1763
+ error_code: "dormakaba_oracode_invalid_time_range";
1764
1764
  is_access_code_error: true;
1765
1765
  created_at?: string | undefined;
1766
1766
  } | {
@@ -2063,7 +2063,7 @@ declare const access_code: z.ZodObject<{
2063
2063
  created_at?: string | undefined;
2064
2064
  } | {
2065
2065
  message: string;
2066
- error_code: "dormakaba_oracode_no_valid_user_level";
2066
+ error_code: "dormakaba_oracode_invalid_time_range";
2067
2067
  is_access_code_error: true;
2068
2068
  created_at?: string | undefined;
2069
2069
  } | {
@@ -2523,15 +2523,15 @@ declare const unmanaged_access_code: z.ZodObject<{
2523
2523
  is_access_code_error: z.ZodLiteral<true>;
2524
2524
  created_at: z.ZodOptional<z.ZodString>;
2525
2525
  } & {
2526
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
2526
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
2527
2527
  }, "strip", z.ZodTypeAny, {
2528
2528
  message: string;
2529
- error_code: "dormakaba_oracode_no_valid_user_level";
2529
+ error_code: "dormakaba_oracode_invalid_time_range";
2530
2530
  is_access_code_error: true;
2531
2531
  created_at?: string | undefined;
2532
2532
  }, {
2533
2533
  message: string;
2534
- error_code: "dormakaba_oracode_no_valid_user_level";
2534
+ error_code: "dormakaba_oracode_invalid_time_range";
2535
2535
  is_access_code_error: true;
2536
2536
  created_at?: string | undefined;
2537
2537
  }>, z.ZodObject<{
@@ -3304,7 +3304,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3304
3304
  created_at?: string | undefined;
3305
3305
  } | {
3306
3306
  message: string;
3307
- error_code: "dormakaba_oracode_no_valid_user_level";
3307
+ error_code: "dormakaba_oracode_invalid_time_range";
3308
3308
  is_access_code_error: true;
3309
3309
  created_at?: string | undefined;
3310
3310
  } | {
@@ -3598,7 +3598,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3598
3598
  created_at?: string | undefined;
3599
3599
  } | {
3600
3600
  message: string;
3601
- error_code: "dormakaba_oracode_no_valid_user_level";
3601
+ error_code: "dormakaba_oracode_invalid_time_range";
3602
3602
  is_access_code_error: true;
3603
3603
  created_at?: string | undefined;
3604
3604
  } | {
@@ -29115,15 +29115,15 @@ declare const batch: z.ZodObject<{
29115
29115
  is_access_code_error: z.ZodLiteral<true>;
29116
29116
  created_at: z.ZodOptional<z.ZodString>;
29117
29117
  } & {
29118
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
29118
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
29119
29119
  }, "strip", z.ZodTypeAny, {
29120
29120
  message: string;
29121
- error_code: "dormakaba_oracode_no_valid_user_level";
29121
+ error_code: "dormakaba_oracode_invalid_time_range";
29122
29122
  is_access_code_error: true;
29123
29123
  created_at?: string | undefined;
29124
29124
  }, {
29125
29125
  message: string;
29126
- error_code: "dormakaba_oracode_no_valid_user_level";
29126
+ error_code: "dormakaba_oracode_invalid_time_range";
29127
29127
  is_access_code_error: true;
29128
29128
  created_at?: string | undefined;
29129
29129
  }>, z.ZodObject<{
@@ -29902,7 +29902,7 @@ declare const batch: z.ZodObject<{
29902
29902
  created_at?: string | undefined;
29903
29903
  } | {
29904
29904
  message: string;
29905
- error_code: "dormakaba_oracode_no_valid_user_level";
29905
+ error_code: "dormakaba_oracode_invalid_time_range";
29906
29906
  is_access_code_error: true;
29907
29907
  created_at?: string | undefined;
29908
29908
  } | {
@@ -30205,7 +30205,7 @@ declare const batch: z.ZodObject<{
30205
30205
  created_at?: string | undefined;
30206
30206
  } | {
30207
30207
  message: string;
30208
- error_code: "dormakaba_oracode_no_valid_user_level";
30208
+ error_code: "dormakaba_oracode_invalid_time_range";
30209
30209
  is_access_code_error: true;
30210
30210
  created_at?: string | undefined;
30211
30211
  } | {
@@ -30663,15 +30663,15 @@ declare const batch: z.ZodObject<{
30663
30663
  is_access_code_error: z.ZodLiteral<true>;
30664
30664
  created_at: z.ZodOptional<z.ZodString>;
30665
30665
  } & {
30666
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
30666
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
30667
30667
  }, "strip", z.ZodTypeAny, {
30668
30668
  message: string;
30669
- error_code: "dormakaba_oracode_no_valid_user_level";
30669
+ error_code: "dormakaba_oracode_invalid_time_range";
30670
30670
  is_access_code_error: true;
30671
30671
  created_at?: string | undefined;
30672
30672
  }, {
30673
30673
  message: string;
30674
- error_code: "dormakaba_oracode_no_valid_user_level";
30674
+ error_code: "dormakaba_oracode_invalid_time_range";
30675
30675
  is_access_code_error: true;
30676
30676
  created_at?: string | undefined;
30677
30677
  }>, z.ZodObject<{
@@ -31444,7 +31444,7 @@ declare const batch: z.ZodObject<{
31444
31444
  created_at?: string | undefined;
31445
31445
  } | {
31446
31446
  message: string;
31447
- error_code: "dormakaba_oracode_no_valid_user_level";
31447
+ error_code: "dormakaba_oracode_invalid_time_range";
31448
31448
  is_access_code_error: true;
31449
31449
  created_at?: string | undefined;
31450
31450
  } | {
@@ -31738,7 +31738,7 @@ declare const batch: z.ZodObject<{
31738
31738
  created_at?: string | undefined;
31739
31739
  } | {
31740
31740
  message: string;
31741
- error_code: "dormakaba_oracode_no_valid_user_level";
31741
+ error_code: "dormakaba_oracode_invalid_time_range";
31742
31742
  is_access_code_error: true;
31743
31743
  created_at?: string | undefined;
31744
31744
  } | {
@@ -35619,7 +35619,7 @@ declare const batch: z.ZodObject<{
35619
35619
  created_at?: string | undefined;
35620
35620
  } | {
35621
35621
  message: string;
35622
- error_code: "dormakaba_oracode_no_valid_user_level";
35622
+ error_code: "dormakaba_oracode_invalid_time_range";
35623
35623
  is_access_code_error: true;
35624
35624
  created_at?: string | undefined;
35625
35625
  } | {
@@ -35923,7 +35923,7 @@ declare const batch: z.ZodObject<{
35923
35923
  created_at?: string | undefined;
35924
35924
  } | {
35925
35925
  message: string;
35926
- error_code: "dormakaba_oracode_no_valid_user_level";
35926
+ error_code: "dormakaba_oracode_invalid_time_range";
35927
35927
  is_access_code_error: true;
35928
35928
  created_at?: string | undefined;
35929
35929
  } | {
@@ -39677,7 +39677,7 @@ declare const batch: z.ZodObject<{
39677
39677
  created_at?: string | undefined;
39678
39678
  } | {
39679
39679
  message: string;
39680
- error_code: "dormakaba_oracode_no_valid_user_level";
39680
+ error_code: "dormakaba_oracode_invalid_time_range";
39681
39681
  is_access_code_error: true;
39682
39682
  created_at?: string | undefined;
39683
39683
  } | {
@@ -39981,7 +39981,7 @@ declare const batch: z.ZodObject<{
39981
39981
  created_at?: string | undefined;
39982
39982
  } | {
39983
39983
  message: string;
39984
- error_code: "dormakaba_oracode_no_valid_user_level";
39984
+ error_code: "dormakaba_oracode_invalid_time_range";
39985
39985
  is_access_code_error: true;
39986
39986
  created_at?: string | undefined;
39987
39987
  } | {
@@ -57660,6 +57660,29 @@ declare const _default: {
57660
57660
  type: string;
57661
57661
  'x-route-path': string;
57662
57662
  };
57663
+ customer: {
57664
+ description: string;
57665
+ properties: {
57666
+ created_at: {
57667
+ description: string;
57668
+ format: string;
57669
+ type: string;
57670
+ };
57671
+ customer_key: {
57672
+ description: string;
57673
+ type: string;
57674
+ };
57675
+ workspace_id: {
57676
+ description: string;
57677
+ format: string;
57678
+ type: string;
57679
+ };
57680
+ };
57681
+ required: string[];
57682
+ type: string;
57683
+ 'x-route-path': string;
57684
+ 'x-undocumented': string;
57685
+ };
57663
57686
  customization_profile: {
57664
57687
  description: string;
57665
57688
  properties: {
@@ -98518,6 +98541,170 @@ declare const _default: {
98518
98541
  'x-undocumented': string;
98519
98542
  };
98520
98543
  };
98544
+ '/seam/customer/v1/customers/list': {
98545
+ get: {
98546
+ description: string;
98547
+ operationId: string;
98548
+ parameters: ({
98549
+ in: string;
98550
+ name: string;
98551
+ schema: {
98552
+ default: number;
98553
+ description: string;
98554
+ exclusiveMinimum: boolean;
98555
+ minimum: number;
98556
+ type: string;
98557
+ nullable?: never;
98558
+ };
98559
+ } | {
98560
+ in: string;
98561
+ name: string;
98562
+ schema: {
98563
+ description: string;
98564
+ nullable: boolean;
98565
+ type: string;
98566
+ default?: never;
98567
+ exclusiveMinimum?: never;
98568
+ minimum?: never;
98569
+ };
98570
+ })[];
98571
+ responses: {
98572
+ 200: {
98573
+ content: {
98574
+ 'application/json': {
98575
+ schema: {
98576
+ properties: {
98577
+ customers: {
98578
+ items: {
98579
+ $ref: string;
98580
+ };
98581
+ type: string;
98582
+ };
98583
+ ok: {
98584
+ type: string;
98585
+ };
98586
+ pagination: {
98587
+ $ref: string;
98588
+ };
98589
+ };
98590
+ required: string[];
98591
+ type: string;
98592
+ };
98593
+ };
98594
+ };
98595
+ description: string;
98596
+ };
98597
+ 400: {
98598
+ description: string;
98599
+ };
98600
+ 401: {
98601
+ description: string;
98602
+ };
98603
+ };
98604
+ security: ({
98605
+ api_key: never[];
98606
+ pat_with_workspace?: never;
98607
+ console_session_with_workspace?: never;
98608
+ } | {
98609
+ pat_with_workspace: never[];
98610
+ api_key?: never;
98611
+ console_session_with_workspace?: never;
98612
+ } | {
98613
+ console_session_with_workspace: never[];
98614
+ api_key?: never;
98615
+ pat_with_workspace?: never;
98616
+ })[];
98617
+ summary: string;
98618
+ tags: never[];
98619
+ 'x-fern-sdk-group-name': string[];
98620
+ 'x-fern-sdk-method-name': string;
98621
+ 'x-fern-sdk-return-value': string;
98622
+ 'x-response-key': string;
98623
+ 'x-title': string;
98624
+ 'x-undocumented': string;
98625
+ };
98626
+ post: {
98627
+ description: string;
98628
+ operationId: string;
98629
+ requestBody: {
98630
+ content: {
98631
+ 'application/json': {
98632
+ schema: {
98633
+ properties: {
98634
+ limit: {
98635
+ default: number;
98636
+ description: string;
98637
+ exclusiveMinimum: boolean;
98638
+ minimum: number;
98639
+ type: string;
98640
+ };
98641
+ page_cursor: {
98642
+ description: string;
98643
+ nullable: boolean;
98644
+ type: string;
98645
+ };
98646
+ };
98647
+ type: string;
98648
+ };
98649
+ };
98650
+ };
98651
+ };
98652
+ responses: {
98653
+ 200: {
98654
+ content: {
98655
+ 'application/json': {
98656
+ schema: {
98657
+ properties: {
98658
+ customers: {
98659
+ items: {
98660
+ $ref: string;
98661
+ };
98662
+ type: string;
98663
+ };
98664
+ ok: {
98665
+ type: string;
98666
+ };
98667
+ pagination: {
98668
+ $ref: string;
98669
+ };
98670
+ };
98671
+ required: string[];
98672
+ type: string;
98673
+ };
98674
+ };
98675
+ };
98676
+ description: string;
98677
+ };
98678
+ 400: {
98679
+ description: string;
98680
+ };
98681
+ 401: {
98682
+ description: string;
98683
+ };
98684
+ };
98685
+ security: ({
98686
+ api_key: never[];
98687
+ pat_with_workspace?: never;
98688
+ console_session_with_workspace?: never;
98689
+ } | {
98690
+ pat_with_workspace: never[];
98691
+ api_key?: never;
98692
+ console_session_with_workspace?: never;
98693
+ } | {
98694
+ console_session_with_workspace: never[];
98695
+ api_key?: never;
98696
+ pat_with_workspace?: never;
98697
+ })[];
98698
+ summary: string;
98699
+ tags: never[];
98700
+ 'x-fern-sdk-group-name': string[];
98701
+ 'x-fern-sdk-method-name': string;
98702
+ 'x-fern-sdk-return-value': string;
98703
+ 'x-response-key': string;
98704
+ 'x-title': string;
98705
+ 'x-undocumented': string;
98706
+ };
98707
+ };
98521
98708
  '/seam/customer/v1/events/list': {
98522
98709
  get: {
98523
98710
  description: string;
@@ -115492,7 +115679,7 @@ type Routes = {
115492
115679
  /** Date and time at which Seam created the error. */
115493
115680
  created_at?: string | undefined;
115494
115681
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
115495
- error_code: 'dormakaba_oracode_no_valid_user_level';
115682
+ error_code: 'dormakaba_oracode_invalid_time_range';
115496
115683
  } | {
115497
115684
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115498
115685
  message: string;
@@ -116054,7 +116241,7 @@ type Routes = {
116054
116241
  /** Date and time at which Seam created the error. */
116055
116242
  created_at?: string | undefined;
116056
116243
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
116057
- error_code: 'dormakaba_oracode_no_valid_user_level';
116244
+ error_code: 'dormakaba_oracode_invalid_time_range';
116058
116245
  } | {
116059
116246
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
116060
116247
  message: string;
@@ -117882,7 +118069,7 @@ type Routes = {
117882
118069
  /** Date and time at which Seam created the error. */
117883
118070
  created_at?: string | undefined;
117884
118071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117885
- error_code: 'dormakaba_oracode_no_valid_user_level';
118072
+ error_code: 'dormakaba_oracode_invalid_time_range';
117886
118073
  } | {
117887
118074
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117888
118075
  message: string;
@@ -118418,7 +118605,7 @@ type Routes = {
118418
118605
  /** Date and time at which Seam created the error. */
118419
118606
  created_at?: string | undefined;
118420
118607
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118421
- error_code: 'dormakaba_oracode_no_valid_user_level';
118608
+ error_code: 'dormakaba_oracode_invalid_time_range';
118422
118609
  } | {
118423
118610
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118424
118611
  message: string;
@@ -118960,7 +119147,7 @@ type Routes = {
118960
119147
  /** Date and time at which Seam created the error. */
118961
119148
  created_at?: string | undefined;
118962
119149
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118963
- error_code: 'dormakaba_oracode_no_valid_user_level';
119150
+ error_code: 'dormakaba_oracode_invalid_time_range';
118964
119151
  } | {
118965
119152
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118966
119153
  message: string;
@@ -119479,7 +119666,7 @@ type Routes = {
119479
119666
  /** Date and time at which Seam created the error. */
119480
119667
  created_at?: string | undefined;
119481
119668
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119482
- error_code: 'dormakaba_oracode_no_valid_user_level';
119669
+ error_code: 'dormakaba_oracode_invalid_time_range';
119483
119670
  } | {
119484
119671
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119485
119672
  message: string;
@@ -120033,7 +120220,7 @@ type Routes = {
120033
120220
  /** Date and time at which Seam created the error. */
120034
120221
  created_at?: string | undefined;
120035
120222
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
120036
- error_code: 'dormakaba_oracode_no_valid_user_level';
120223
+ error_code: 'dormakaba_oracode_invalid_time_range';
120037
120224
  } | {
120038
120225
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
120039
120226
  message: string;
@@ -121848,7 +122035,7 @@ type Routes = {
121848
122035
  /** Date and time at which Seam created the error. */
121849
122036
  created_at?: string | undefined;
121850
122037
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121851
- error_code: 'dormakaba_oracode_no_valid_user_level';
122038
+ error_code: 'dormakaba_oracode_invalid_time_range';
121852
122039
  } | {
121853
122040
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121854
122041
  message: string;
@@ -122362,7 +122549,7 @@ type Routes = {
122362
122549
  /** Date and time at which Seam created the error. */
122363
122550
  created_at?: string | undefined;
122364
122551
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
122365
- error_code: 'dormakaba_oracode_no_valid_user_level';
122552
+ error_code: 'dormakaba_oracode_invalid_time_range';
122366
122553
  } | {
122367
122554
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
122368
122555
  message: string;
@@ -166639,6 +166826,39 @@ type Routes = {
166639
166826
  };
166640
166827
  maxDuration: undefined;
166641
166828
  };
166829
+ '/seam/customer/v1/customers/list': {
166830
+ route: '/seam/customer/v1/customers/list';
166831
+ method: 'GET' | 'POST';
166832
+ queryParams: {};
166833
+ jsonBody: {};
166834
+ commonParams: {
166835
+ /** Maximum number of records to return per page. */
166836
+ limit?: number;
166837
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
166838
+ page_cursor?: ((string | undefined) | null) | undefined;
166839
+ };
166840
+ formData: {};
166841
+ jsonResponse: {
166842
+ customers: {
166843
+ /** Unique key for the customer within the workspace. */
166844
+ customer_key: string;
166845
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer. */
166846
+ workspace_id: string;
166847
+ /** Date and time at which the customer was created. */
166848
+ created_at: string;
166849
+ }[];
166850
+ /** Information about the current page of results. */
166851
+ pagination: {
166852
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
166853
+ next_page_cursor: string | null;
166854
+ /** Indicates whether there is another page of results after this one. */
166855
+ has_next_page: boolean;
166856
+ /** URL to get the next page of results. */
166857
+ next_page_url: string | null;
166858
+ };
166859
+ };
166860
+ maxDuration: undefined;
166861
+ };
166642
166862
  '/seam/customer/v1/events/list': {
166643
166863
  route: '/seam/customer/v1/events/list';
166644
166864
  method: 'GET' | 'POST';
@@ -197770,7 +197990,7 @@ type Routes = {
197770
197990
  /** Date and time at which Seam created the error. */
197771
197991
  created_at?: string | undefined;
197772
197992
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
197773
- error_code: 'dormakaba_oracode_no_valid_user_level';
197993
+ error_code: 'dormakaba_oracode_invalid_time_range';
197774
197994
  } | {
197775
197995
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
197776
197996
  message: string;
@@ -198270,7 +198490,7 @@ type Routes = {
198270
198490
  /** Date and time at which Seam created the error. */
198271
198491
  created_at?: string | undefined;
198272
198492
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
198273
- error_code: 'dormakaba_oracode_no_valid_user_level';
198493
+ error_code: 'dormakaba_oracode_invalid_time_range';
198274
198494
  } | {
198275
198495
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
198276
198496
  message: string;