@seamapi/types 0.29.0 → 0.30.1
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.
|
@@ -151,12 +151,6 @@ export interface Routes {
|
|
|
151
151
|
generated_code: {
|
|
152
152
|
device_id: string;
|
|
153
153
|
code: string;
|
|
154
|
-
is_valid: true;
|
|
155
|
-
conflicts_with_existing_code: false;
|
|
156
|
-
violated_code_constraints: [];
|
|
157
|
-
passed_code_constraints: Array<{
|
|
158
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
159
|
-
}>;
|
|
160
154
|
};
|
|
161
155
|
};
|
|
162
156
|
};
|
|
@@ -574,6 +568,31 @@ export interface Routes {
|
|
|
574
568
|
};
|
|
575
569
|
};
|
|
576
570
|
};
|
|
571
|
+
'/client_sessions/grant_access': {
|
|
572
|
+
route: '/client_sessions/grant_access';
|
|
573
|
+
method: 'POST' | 'PATCH';
|
|
574
|
+
queryParams: {};
|
|
575
|
+
jsonBody: {};
|
|
576
|
+
commonParams: {
|
|
577
|
+
client_session_id?: string | undefined;
|
|
578
|
+
user_identifier_key?: string | undefined;
|
|
579
|
+
connected_account_ids?: string[] | undefined;
|
|
580
|
+
connect_webview_ids?: string[] | undefined;
|
|
581
|
+
};
|
|
582
|
+
formData: {};
|
|
583
|
+
jsonResponse: {
|
|
584
|
+
client_session: {
|
|
585
|
+
client_session_id: string;
|
|
586
|
+
user_identifier_key: string | null;
|
|
587
|
+
created_at: string;
|
|
588
|
+
token: string;
|
|
589
|
+
device_count: number;
|
|
590
|
+
connected_account_ids: string[];
|
|
591
|
+
connect_webview_ids: string[];
|
|
592
|
+
workspace_id: string;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
};
|
|
577
596
|
'/client_sessions/list': {
|
|
578
597
|
route: '/client_sessions/list';
|
|
579
598
|
method: 'POST' | 'GET';
|
package/package.json
CHANGED
|
@@ -157,18 +157,6 @@ export interface Routes {
|
|
|
157
157
|
generated_code: {
|
|
158
158
|
device_id: string
|
|
159
159
|
code: string
|
|
160
|
-
is_valid: true
|
|
161
|
-
conflicts_with_existing_code: false
|
|
162
|
-
violated_code_constraints: []
|
|
163
|
-
passed_code_constraints: Array<{
|
|
164
|
-
constraint_type:
|
|
165
|
-
| 'no_zeros'
|
|
166
|
-
| 'cannot_start_with_12'
|
|
167
|
-
| 'no_triple_consecutive_ints'
|
|
168
|
-
| 'cannot_specify_pin_code'
|
|
169
|
-
| 'pin_code_matches_existing_set'
|
|
170
|
-
| 'start_date_in_future'
|
|
171
|
-
}>
|
|
172
160
|
}
|
|
173
161
|
}
|
|
174
162
|
}
|
|
@@ -601,6 +589,31 @@ export interface Routes {
|
|
|
601
589
|
}
|
|
602
590
|
}
|
|
603
591
|
}
|
|
592
|
+
'/client_sessions/grant_access': {
|
|
593
|
+
route: '/client_sessions/grant_access'
|
|
594
|
+
method: 'POST' | 'PATCH'
|
|
595
|
+
queryParams: {}
|
|
596
|
+
jsonBody: {}
|
|
597
|
+
commonParams: {
|
|
598
|
+
client_session_id?: string | undefined
|
|
599
|
+
user_identifier_key?: string | undefined
|
|
600
|
+
connected_account_ids?: string[] | undefined
|
|
601
|
+
connect_webview_ids?: string[] | undefined
|
|
602
|
+
}
|
|
603
|
+
formData: {}
|
|
604
|
+
jsonResponse: {
|
|
605
|
+
client_session: {
|
|
606
|
+
client_session_id: string
|
|
607
|
+
user_identifier_key: string | null
|
|
608
|
+
created_at: string
|
|
609
|
+
token: string
|
|
610
|
+
device_count: number
|
|
611
|
+
connected_account_ids: string[]
|
|
612
|
+
connect_webview_ids: string[]
|
|
613
|
+
workspace_id: string
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
604
617
|
'/client_sessions/list': {
|
|
605
618
|
route: '/client_sessions/list'
|
|
606
619
|
method: 'POST' | 'GET'
|