@seamapi/types 1.583.0 → 1.584.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.
- package/dist/connect.cjs +52 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -1
- package/dist/index.cjs +52 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +54 -0
- package/lib/seam/connect/openapi.js +50 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +13 -0
package/dist/connect.d.cts
CHANGED
|
@@ -90913,6 +90913,19 @@ declare const _default: {
|
|
|
90913
90913
|
required: string[];
|
|
90914
90914
|
type: string;
|
|
90915
90915
|
};
|
|
90916
|
+
space_name_updated: {
|
|
90917
|
+
properties: {
|
|
90918
|
+
config: {
|
|
90919
|
+
$ref: string;
|
|
90920
|
+
};
|
|
90921
|
+
rule: {
|
|
90922
|
+
enum: string[];
|
|
90923
|
+
type: string;
|
|
90924
|
+
};
|
|
90925
|
+
};
|
|
90926
|
+
required: string[];
|
|
90927
|
+
type: string;
|
|
90928
|
+
};
|
|
90916
90929
|
};
|
|
90917
90930
|
type: string;
|
|
90918
90931
|
};
|
|
@@ -91020,6 +91033,19 @@ declare const _default: {
|
|
|
91020
91033
|
required: string[];
|
|
91021
91034
|
type: string;
|
|
91022
91035
|
};
|
|
91036
|
+
space_name_updated: {
|
|
91037
|
+
properties: {
|
|
91038
|
+
config: {
|
|
91039
|
+
$ref: string;
|
|
91040
|
+
};
|
|
91041
|
+
rule: {
|
|
91042
|
+
enum: string[];
|
|
91043
|
+
type: string;
|
|
91044
|
+
};
|
|
91045
|
+
};
|
|
91046
|
+
required: string[];
|
|
91047
|
+
type: string;
|
|
91048
|
+
};
|
|
91023
91049
|
};
|
|
91024
91050
|
type: string;
|
|
91025
91051
|
};
|
|
@@ -91131,6 +91157,20 @@ declare const _default: {
|
|
|
91131
91157
|
required: string[];
|
|
91132
91158
|
type: string;
|
|
91133
91159
|
};
|
|
91160
|
+
space_name_updated: {
|
|
91161
|
+
properties: {
|
|
91162
|
+
config: {
|
|
91163
|
+
properties: {};
|
|
91164
|
+
type: string;
|
|
91165
|
+
};
|
|
91166
|
+
rule: {
|
|
91167
|
+
enum: string[];
|
|
91168
|
+
type: string;
|
|
91169
|
+
};
|
|
91170
|
+
};
|
|
91171
|
+
required: string[];
|
|
91172
|
+
type: string;
|
|
91173
|
+
};
|
|
91134
91174
|
};
|
|
91135
91175
|
type: string;
|
|
91136
91176
|
};
|
|
@@ -91252,6 +91292,20 @@ declare const _default: {
|
|
|
91252
91292
|
required: string[];
|
|
91253
91293
|
type: string;
|
|
91254
91294
|
};
|
|
91295
|
+
space_name_updated: {
|
|
91296
|
+
properties: {
|
|
91297
|
+
config: {
|
|
91298
|
+
properties: {};
|
|
91299
|
+
type: string;
|
|
91300
|
+
};
|
|
91301
|
+
rule: {
|
|
91302
|
+
enum: string[];
|
|
91303
|
+
type: string;
|
|
91304
|
+
};
|
|
91305
|
+
};
|
|
91306
|
+
required: string[];
|
|
91307
|
+
type: string;
|
|
91308
|
+
};
|
|
91255
91309
|
};
|
|
91256
91310
|
type: string;
|
|
91257
91311
|
};
|
|
@@ -160419,7 +160473,7 @@ type Routes = {
|
|
|
160419
160473
|
/** ID of the partner resource for which you want to retrieve all automation runs. */
|
|
160420
160474
|
partner_resource_id?: string | undefined;
|
|
160421
160475
|
/** Filter automation runs by the specific rule that was executed. */
|
|
160422
|
-
rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted') | undefined;
|
|
160476
|
+
rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted' | 'space_name_updated') | undefined;
|
|
160423
160477
|
/** Filter automation runs by success status. */
|
|
160424
160478
|
success?: boolean | undefined;
|
|
160425
160479
|
/** Maximum number of records to return per page. */
|
|
@@ -160495,6 +160549,10 @@ type Routes = {
|
|
|
160495
160549
|
rule: 'reservation_deleted';
|
|
160496
160550
|
config?: {} | undefined;
|
|
160497
160551
|
} | undefined;
|
|
160552
|
+
space_name_updated?: {
|
|
160553
|
+
rule: 'space_name_updated';
|
|
160554
|
+
config?: {} | undefined;
|
|
160555
|
+
} | undefined;
|
|
160498
160556
|
} | undefined;
|
|
160499
160557
|
};
|
|
160500
160558
|
};
|
|
@@ -160520,6 +160578,10 @@ type Routes = {
|
|
|
160520
160578
|
rule: 'reservation_deleted';
|
|
160521
160579
|
config?: {} | undefined;
|
|
160522
160580
|
} | undefined;
|
|
160581
|
+
space_name_updated?: {
|
|
160582
|
+
rule: 'space_name_updated';
|
|
160583
|
+
config?: {} | undefined;
|
|
160584
|
+
} | undefined;
|
|
160523
160585
|
} | undefined;
|
|
160524
160586
|
};
|
|
160525
160587
|
commonParams: {};
|
package/dist/index.cjs
CHANGED
|
@@ -50131,7 +50131,8 @@ var openapi_default = {
|
|
|
50131
50131
|
enum: [
|
|
50132
50132
|
"reservation_created",
|
|
50133
50133
|
"reservation_time_updated",
|
|
50134
|
-
"reservation_deleted"
|
|
50134
|
+
"reservation_deleted",
|
|
50135
|
+
"space_name_updated"
|
|
50135
50136
|
],
|
|
50136
50137
|
type: "string"
|
|
50137
50138
|
}
|
|
@@ -50322,7 +50323,8 @@ var openapi_default = {
|
|
|
50322
50323
|
enum: [
|
|
50323
50324
|
"reservation_created",
|
|
50324
50325
|
"reservation_time_updated",
|
|
50325
|
-
"reservation_deleted"
|
|
50326
|
+
"reservation_deleted",
|
|
50327
|
+
"space_name_updated"
|
|
50326
50328
|
],
|
|
50327
50329
|
type: "string"
|
|
50328
50330
|
},
|
|
@@ -50593,6 +50595,19 @@ var openapi_default = {
|
|
|
50593
50595
|
},
|
|
50594
50596
|
required: ["rule"],
|
|
50595
50597
|
type: "object"
|
|
50598
|
+
},
|
|
50599
|
+
space_name_updated: {
|
|
50600
|
+
properties: {
|
|
50601
|
+
config: {
|
|
50602
|
+
$ref: "#/components/schemas/access_code"
|
|
50603
|
+
},
|
|
50604
|
+
rule: {
|
|
50605
|
+
enum: ["space_name_updated"],
|
|
50606
|
+
type: "string"
|
|
50607
|
+
}
|
|
50608
|
+
},
|
|
50609
|
+
required: ["rule"],
|
|
50610
|
+
type: "object"
|
|
50596
50611
|
}
|
|
50597
50612
|
},
|
|
50598
50613
|
type: "object"
|
|
@@ -50693,6 +50708,19 @@ var openapi_default = {
|
|
|
50693
50708
|
},
|
|
50694
50709
|
required: ["rule"],
|
|
50695
50710
|
type: "object"
|
|
50711
|
+
},
|
|
50712
|
+
space_name_updated: {
|
|
50713
|
+
properties: {
|
|
50714
|
+
config: {
|
|
50715
|
+
$ref: "#/components/schemas/access_code"
|
|
50716
|
+
},
|
|
50717
|
+
rule: {
|
|
50718
|
+
enum: ["space_name_updated"],
|
|
50719
|
+
type: "string"
|
|
50720
|
+
}
|
|
50721
|
+
},
|
|
50722
|
+
required: ["rule"],
|
|
50723
|
+
type: "object"
|
|
50696
50724
|
}
|
|
50697
50725
|
},
|
|
50698
50726
|
type: "object"
|
|
@@ -50791,6 +50819,17 @@ var openapi_default = {
|
|
|
50791
50819
|
},
|
|
50792
50820
|
required: ["rule"],
|
|
50793
50821
|
type: "object"
|
|
50822
|
+
},
|
|
50823
|
+
space_name_updated: {
|
|
50824
|
+
properties: {
|
|
50825
|
+
config: { properties: {}, type: "object" },
|
|
50826
|
+
rule: {
|
|
50827
|
+
enum: ["space_name_updated"],
|
|
50828
|
+
type: "string"
|
|
50829
|
+
}
|
|
50830
|
+
},
|
|
50831
|
+
required: ["rule"],
|
|
50832
|
+
type: "object"
|
|
50794
50833
|
}
|
|
50795
50834
|
},
|
|
50796
50835
|
type: "object"
|
|
@@ -50897,6 +50936,17 @@ var openapi_default = {
|
|
|
50897
50936
|
},
|
|
50898
50937
|
required: ["rule"],
|
|
50899
50938
|
type: "object"
|
|
50939
|
+
},
|
|
50940
|
+
space_name_updated: {
|
|
50941
|
+
properties: {
|
|
50942
|
+
config: { properties: {}, type: "object" },
|
|
50943
|
+
rule: {
|
|
50944
|
+
enum: ["space_name_updated"],
|
|
50945
|
+
type: "string"
|
|
50946
|
+
}
|
|
50947
|
+
},
|
|
50948
|
+
required: ["rule"],
|
|
50949
|
+
type: "object"
|
|
50900
50950
|
}
|
|
50901
50951
|
},
|
|
50902
50952
|
type: "object"
|