@seamapi/types 1.503.0 → 1.505.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.
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+ export declare const customer_delete_data: z.ZodObject<{
3
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
+ property_listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ guest_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ tenant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ resident_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
+ user_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
+ user_identity_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ reservation_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ booking_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
+ access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ space_keys?: string[] | undefined;
22
+ property_keys?: string[] | undefined;
23
+ room_keys?: string[] | undefined;
24
+ common_area_keys?: string[] | undefined;
25
+ unit_keys?: string[] | undefined;
26
+ facility_keys?: string[] | undefined;
27
+ building_keys?: string[] | undefined;
28
+ listing_keys?: string[] | undefined;
29
+ property_listing_keys?: string[] | undefined;
30
+ guest_keys?: string[] | undefined;
31
+ tenant_keys?: string[] | undefined;
32
+ resident_keys?: string[] | undefined;
33
+ user_keys?: string[] | undefined;
34
+ user_identity_keys?: string[] | undefined;
35
+ reservation_keys?: string[] | undefined;
36
+ booking_keys?: string[] | undefined;
37
+ access_grant_keys?: string[] | undefined;
38
+ }, {
39
+ space_keys?: string[] | undefined;
40
+ property_keys?: string[] | undefined;
41
+ room_keys?: string[] | undefined;
42
+ common_area_keys?: string[] | undefined;
43
+ unit_keys?: string[] | undefined;
44
+ facility_keys?: string[] | undefined;
45
+ building_keys?: string[] | undefined;
46
+ listing_keys?: string[] | undefined;
47
+ property_listing_keys?: string[] | undefined;
48
+ guest_keys?: string[] | undefined;
49
+ tenant_keys?: string[] | undefined;
50
+ resident_keys?: string[] | undefined;
51
+ user_keys?: string[] | undefined;
52
+ user_identity_keys?: string[] | undefined;
53
+ reservation_keys?: string[] | undefined;
54
+ booking_keys?: string[] | undefined;
55
+ access_grant_keys?: string[] | undefined;
56
+ }>;
57
+ export type CustomerDeleteData = z.infer<typeof customer_delete_data>;
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ export const customer_delete_data = z.object({
3
+ // Location resources to delete
4
+ space_keys: z
5
+ .array(z.string())
6
+ .optional()
7
+ .describe('List of space keys to delete.'),
8
+ property_keys: z
9
+ .array(z.string())
10
+ .optional()
11
+ .describe('List of property keys to delete.'),
12
+ room_keys: z
13
+ .array(z.string())
14
+ .optional()
15
+ .describe('List of room keys to delete.'),
16
+ common_area_keys: z
17
+ .array(z.string())
18
+ .optional()
19
+ .describe('List of common area keys to delete.'),
20
+ unit_keys: z
21
+ .array(z.string())
22
+ .optional()
23
+ .describe('List of unit keys to delete.'),
24
+ facility_keys: z
25
+ .array(z.string())
26
+ .optional()
27
+ .describe('List of facility keys to delete.'),
28
+ building_keys: z
29
+ .array(z.string())
30
+ .optional()
31
+ .describe('List of building keys to delete.'),
32
+ listing_keys: z
33
+ .array(z.string())
34
+ .optional()
35
+ .describe('List of listing keys to delete.'),
36
+ property_listing_keys: z
37
+ .array(z.string())
38
+ .optional()
39
+ .describe('List of property listing keys to delete.'),
40
+ // User identity resources to delete
41
+ guest_keys: z
42
+ .array(z.string())
43
+ .optional()
44
+ .describe('List of guest keys to delete.'),
45
+ tenant_keys: z
46
+ .array(z.string())
47
+ .optional()
48
+ .describe('List of tenant keys to delete.'),
49
+ resident_keys: z
50
+ .array(z.string())
51
+ .optional()
52
+ .describe('List of resident keys to delete.'),
53
+ user_keys: z
54
+ .array(z.string())
55
+ .optional()
56
+ .describe('List of user keys to delete.'),
57
+ user_identity_keys: z
58
+ .array(z.string())
59
+ .optional()
60
+ .describe('List of user identity keys to delete.'),
61
+ // Access grant resources to delete
62
+ reservation_keys: z
63
+ .array(z.string())
64
+ .optional()
65
+ .describe('List of reservation keys to delete.'),
66
+ booking_keys: z
67
+ .array(z.string())
68
+ .optional()
69
+ .describe('List of booking keys to delete.'),
70
+ access_grant_keys: z
71
+ .array(z.string())
72
+ .optional()
73
+ .describe('List of access grant keys to delete.'),
74
+ });
75
+ //# sourceMappingURL=customer-delete-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer-delete-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-delete-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,+BAA+B;IAC/B,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,+BAA+B,CAAC;IAC5C,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,kCAAkC,CAAC;IAC/C,SAAS,EAAE,CAAC;SACT,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AC/C,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IAEpD,mCAAmC;IACnC,gBAAgB,EAAE,CAAC;SAChB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,sCAAsC,CAAC;CACpD,CAAC,CAAA"}
@@ -1,3 +1,4 @@
1
1
  export * from './business-vertical.js';
2
2
  export * from './customer-data.js';
3
+ export * from './customer-delete-data.js';
3
4
  export * from './customer-portal.js';
@@ -1,4 +1,5 @@
1
1
  export * from './business-vertical.js';
2
2
  export * from './customer-data.js';
3
+ export * from './customer-delete-data.js';
3
4
  export * from './customer-portal.js';
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA"}
@@ -10,6 +10,7 @@ export * from './connect-webviews/index.js';
10
10
  export * from './connected-accounts/index.js';
11
11
  export * from './custom-metadata.js';
12
12
  export * from './customer/access-grant-resources.js';
13
+ export * from './customer/customer-delete-data.js';
13
14
  export * from './customer/index.js';
14
15
  export * from './customer/location-resources.js';
15
16
  export * from './customer/user-identity-resources.js';
@@ -10,6 +10,7 @@ export * from './connect-webviews/index.js';
10
10
  export * from './connected-accounts/index.js';
11
11
  export * from './custom-metadata.js';
12
12
  export * from './customer/access-grant-resources.js';
13
+ export * from './customer/customer-delete-data.js';
13
14
  export * from './customer/index.js';
14
15
  export * from './customer/location-resources.js';
15
16
  export * from './customer/user-identity-resources.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,sCAAsC,CAAA;AACpD,cAAc,qBAAqB,CAAA;AACnC,cAAc,kCAAkC,CAAA;AAChD,cAAc,uCAAuC,CAAA;AACrD,cAAc,mCAAmC,CAAA;AACjD,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,sCAAsC,CAAA;AACpD,cAAc,oCAAoC,CAAA;AAClD,cAAc,qBAAqB,CAAA;AACnC,cAAc,kCAAkC,CAAA;AAChD,cAAc,uCAAuC,CAAA;AACrD,cAAc,mCAAmC,CAAA;AACjD,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -29448,6 +29448,243 @@ declare const _default: {
29448
29448
  'x-title': string;
29449
29449
  };
29450
29450
  };
29451
+ '/customers/delete_data': {
29452
+ delete: {
29453
+ description: string;
29454
+ operationId: string;
29455
+ parameters: {
29456
+ in: string;
29457
+ name: string;
29458
+ schema: {
29459
+ description: string;
29460
+ items: {
29461
+ type: string;
29462
+ };
29463
+ type: string;
29464
+ };
29465
+ }[];
29466
+ responses: {
29467
+ 200: {
29468
+ content: {
29469
+ 'application/json': {
29470
+ schema: {
29471
+ properties: {
29472
+ ok: {
29473
+ type: string;
29474
+ };
29475
+ };
29476
+ required: string[];
29477
+ type: string;
29478
+ };
29479
+ };
29480
+ };
29481
+ description: string;
29482
+ };
29483
+ 400: {
29484
+ description: string;
29485
+ };
29486
+ 401: {
29487
+ description: string;
29488
+ };
29489
+ };
29490
+ security: ({
29491
+ pat_with_workspace: never[];
29492
+ console_session_with_workspace?: never;
29493
+ api_key?: never;
29494
+ } | {
29495
+ console_session_with_workspace: never[];
29496
+ pat_with_workspace?: never;
29497
+ api_key?: never;
29498
+ } | {
29499
+ api_key: never[];
29500
+ pat_with_workspace?: never;
29501
+ console_session_with_workspace?: never;
29502
+ })[];
29503
+ summary: string;
29504
+ tags: never[];
29505
+ 'x-fern-sdk-group-name': string[];
29506
+ 'x-fern-sdk-method-name': string;
29507
+ 'x-response-key': null;
29508
+ 'x-title': string;
29509
+ };
29510
+ post: {
29511
+ description: string;
29512
+ operationId: string;
29513
+ requestBody: {
29514
+ content: {
29515
+ 'application/json': {
29516
+ schema: {
29517
+ properties: {
29518
+ access_grant_keys: {
29519
+ description: string;
29520
+ items: {
29521
+ type: string;
29522
+ };
29523
+ type: string;
29524
+ };
29525
+ booking_keys: {
29526
+ description: string;
29527
+ items: {
29528
+ type: string;
29529
+ };
29530
+ type: string;
29531
+ };
29532
+ building_keys: {
29533
+ description: string;
29534
+ items: {
29535
+ type: string;
29536
+ };
29537
+ type: string;
29538
+ };
29539
+ common_area_keys: {
29540
+ description: string;
29541
+ items: {
29542
+ type: string;
29543
+ };
29544
+ type: string;
29545
+ };
29546
+ facility_keys: {
29547
+ description: string;
29548
+ items: {
29549
+ type: string;
29550
+ };
29551
+ type: string;
29552
+ };
29553
+ guest_keys: {
29554
+ description: string;
29555
+ items: {
29556
+ type: string;
29557
+ };
29558
+ type: string;
29559
+ };
29560
+ listing_keys: {
29561
+ description: string;
29562
+ items: {
29563
+ type: string;
29564
+ };
29565
+ type: string;
29566
+ };
29567
+ property_keys: {
29568
+ description: string;
29569
+ items: {
29570
+ type: string;
29571
+ };
29572
+ type: string;
29573
+ };
29574
+ property_listing_keys: {
29575
+ description: string;
29576
+ items: {
29577
+ type: string;
29578
+ };
29579
+ type: string;
29580
+ };
29581
+ reservation_keys: {
29582
+ description: string;
29583
+ items: {
29584
+ type: string;
29585
+ };
29586
+ type: string;
29587
+ };
29588
+ resident_keys: {
29589
+ description: string;
29590
+ items: {
29591
+ type: string;
29592
+ };
29593
+ type: string;
29594
+ };
29595
+ room_keys: {
29596
+ description: string;
29597
+ items: {
29598
+ type: string;
29599
+ };
29600
+ type: string;
29601
+ };
29602
+ space_keys: {
29603
+ description: string;
29604
+ items: {
29605
+ type: string;
29606
+ };
29607
+ type: string;
29608
+ };
29609
+ tenant_keys: {
29610
+ description: string;
29611
+ items: {
29612
+ type: string;
29613
+ };
29614
+ type: string;
29615
+ };
29616
+ unit_keys: {
29617
+ description: string;
29618
+ items: {
29619
+ type: string;
29620
+ };
29621
+ type: string;
29622
+ };
29623
+ user_identity_keys: {
29624
+ description: string;
29625
+ items: {
29626
+ type: string;
29627
+ };
29628
+ type: string;
29629
+ };
29630
+ user_keys: {
29631
+ description: string;
29632
+ items: {
29633
+ type: string;
29634
+ };
29635
+ type: string;
29636
+ };
29637
+ };
29638
+ type: string;
29639
+ };
29640
+ };
29641
+ };
29642
+ };
29643
+ responses: {
29644
+ 200: {
29645
+ content: {
29646
+ 'application/json': {
29647
+ schema: {
29648
+ properties: {
29649
+ ok: {
29650
+ type: string;
29651
+ };
29652
+ };
29653
+ required: string[];
29654
+ type: string;
29655
+ };
29656
+ };
29657
+ };
29658
+ description: string;
29659
+ };
29660
+ 400: {
29661
+ description: string;
29662
+ };
29663
+ 401: {
29664
+ description: string;
29665
+ };
29666
+ };
29667
+ security: ({
29668
+ pat_with_workspace: never[];
29669
+ console_session_with_workspace?: never;
29670
+ api_key?: never;
29671
+ } | {
29672
+ console_session_with_workspace: never[];
29673
+ pat_with_workspace?: never;
29674
+ api_key?: never;
29675
+ } | {
29676
+ api_key: never[];
29677
+ pat_with_workspace?: never;
29678
+ console_session_with_workspace?: never;
29679
+ })[];
29680
+ summary: string;
29681
+ tags: never[];
29682
+ 'x-fern-sdk-group-name': string[];
29683
+ 'x-fern-sdk-method-name': string;
29684
+ 'x-response-key': null;
29685
+ 'x-title': string;
29686
+ };
29687
+ };
29451
29688
  '/customers/push_data': {
29452
29689
  post: {
29453
29690
  description: string;